Apple TV 2 and DTS audio

I have, for years, streamed DTS encoded audio files to Airport Expresses that are optically coupled to DTS-capable sound systems. Today, I installed an Apple TV (latest generation), expecting to be able to do the same. I've not yet been successful (typical static sound as would be heard over a standard system).


Here is my current "test" arrangement. Airport Express optically connected to one input on the sound system. Apple TV optically connected to another input on the same system. Both devices connected to the same network via Ethernet. iTunes (on one of my Macs) is set up with multiple AirPlay destinations (i.e. the two devices mentioned above). iTunes playing a DTS tune (streaming a DTS audio file to both the devices.) Switching the sound system input selector to the port connected to the AE - all is great, full DTS noted and playing; switch to the other input (Apple TV source) --static noise. (inputs have been swapped to prove both ports are fine. The issue seems to be that the Apple TV is not simply passing through the digital (audio) data, as does the Airport Express. Does anyone know how I can resolve this?


Please, unless you know, don't post guesses. please also, do not quote specifications, unless it specifically states that a certain feature does not exost - we all know that with all Apple products, there are many, many undocumented features, such as the DTS capabilities of the Airport Express.


If you are unfamiliar with DTS encoded music, check out this particular CD at Amazon (or elsewhere. This is but one such CD in my collection.( Every Breath You Take: Classics (DTS Surround Sound CD). This CD rips to iTunes in exactly the same manner as a regular stereo CD, and plays to a DTS capable sound system, either through Airtunes via Airport Express, or directly from the Mac optical audio port. If you want to experiment, download a DTS file from Swedish National Radio ( http://sverigesradio.se/sida/artikel.aspx?programid=2446&artikel=740607 ) or other source.


The question is there: how can I get the optical audio function of the AppleTV2 to be the same as the optical audio function of the Airport Express?

Mac Pro, Mac OS X (10.7.2), 3.2 GHz Quad Xeon w/6 GB RAM; PLUS

Posted on Feb 1, 2012 5:04 PM

Reply
7 replies

Feb 28, 2012 7:02 PM in response to Brian Williams2

Hi Brian,


I came across your post DTS-encoded music plays perfectly over Airtunes; not on Optical Digital Out And I'm posting here because the previously mentioned post has been archived & I couldn't find another way to get in touch! If anyone feels it's important enough to create a new thread then please by all means do so.


Anyway you mention:

Brian Williams2 wrote:


I quickly learned that I cannot rip those track into iTunes,

I want to do exactly the same as you and have almost got there but not quite. This is what I have been able to do so far.


This works for DTS & ac3

If you're familiar with the command line:

Download ffmpeg binary for OS X:

http://go.to/osxffmpegcompiling


navigate to the binary in terminal:

./ffmpeg -i input.VOB -vn -acodec copy output.m4a

or if you have the stream directly

./ffmpeg -i input.dts -vn -acodec copy output.m4a


This will encapsulate the DTS stream unchanged into .m4a container however it will not import into iTunes.


If this make no sense to you could use iffmpeg although it is shareware

http://www.macupdate.com/app/mac/35846/iffmpeg


Something interesting I noticed is that when converting a DTS wav (from your Swedish National Radio link) you can transcode it into apple lossless and it still plays as DTS! So there must be a way of encapsulating DTS in an m4a file as iTunes can do it. But I can't find a way with Mac OS to do it. Apparently with "AC3filter tools" it is possible in widows to encapsulate DTS into a wav file. So then one could import the wav to iTunes. But it would be nice to have an all mac solution.


I have tried with ffmpeg to encapulate vob/dts to wav but unfortunately unsuccessfully.


This walkthrough isn't what we want as they transcode the audio rather that just re-encapsulate it. But it is still interesting: http://www.beatmixed.com/2008/03/05/extracting-dts-on-a-mac/


There may be a way of doing what we want with libDTS that is mentioned in the previous link.


Anyway I hope you either have a solution that you may share or that this may encourage you to find one! I only have a few DTS encoded audio DVDs and have reached the end of my patience as to finding a solution!


But I may again feel the need to listen to "The original Quadraphonic mix by Alan Parsons" of "the Dark Side of the moon" without the hassle of using a DVD player!

Jul 27, 2012 12:21 AM in response to Brian Williams2

Have you had any new successes?


WIth my first generation AppleTV, I can have iTunes send audio DTS files (encoded in Apple Lossless) to the hard disk of the AppleTV and my home theater successfully plays the surround sound tracks.


Today I just tried it for the first time with my AppleTV 2 using the same file from iTunes but over the Computers menu since, of course, the AppleTV 2 does not have an internal hard drive. And I only get the typical audio white noise.


I would like to play my audio DTS library in this way through my AppleTV 2 on my home theater.

Feb 29, 2012 6:26 AM in response to 1800jack

Hello 1800jack,


Part of the problem with stumbling in the dark is that one doesn't always remeber what steps led where. No, I've not been successful in sending DTS through the AppleTV, BUT I've been, I believe, successful in converting my DTS to DD, retaining the channels. I took my Eagles DVD (which has DTS and stereo tracks only), and ran it through HandBrake, chosing to encode from the DTS (5.1) track to an AC3 (ffmpeg) track with 6-channel discrete mixdown. I cut a second track to AAC (Core Audio) to Dolby Pro Logic II, so that I could also play the movie on a stand-alone Mac or on an iPad, iPod, etc. Both tracks play through AppleTV, The display of my sound system reports a digital signal with the first track, and a sterio signal for the second (these are not quite accurate definitions, but the bottom line is that this sound system cannot do anything but play the digital signal, which is very much surround, whereas the sound system's internals can accept the DPLII and play it as a simple stereo signal, or apply the DPLII processing and simulate a surround-like sound).


However, I did run across something in the past week that made reference to DTS passthru, but I was deeply engaged in something else. The notation entered my unconscious, and when I find time, I'll try to go back to that reference (wherever it is) and explore further.


What I still want to do is rip the DTS audio from the DVD and have that audio in the Music section of iTunes so that I can stream it to an Airport Express. HandBrake doen't help me there.

Mar 3, 2012 6:31 PM in response to Brian Williams2

Something you may find interesting is that you can passthrough DTS & DTS HD with HandbrakeCLI. Of course it won't work with the apple TV but interesting if you want to preserve the audio of the original.


As to creating wav files with DTS passthrough. A couple of thing have come to my attention.

First of all libDTS in now called libdca (http://www.videolan.org/developers/libdca.html). You can install it with MacPorts (http://www.macports.org/ports.php?by=name&substr=libdca).


There is a GNOME app that allows DTS to wav conversion named SoundConverter (http://soundconverter.org/). I may try it out with a bootable linux usb key. Seeing how I would do this only very rarely I wouldn't mind booting into Linux to convert the rare files I have so that I could at last achieve DTS audio from an audio DVD in iTunes. As I previously mentioned I was able to convert a DTS wav file to a DTS apple lossless m4a file and achieve DTS passthrough with iTunes (directly connected to a DAC). So once succesful in converting the DTS file to a DTS wav file, it would be easy to convert it into an apple lossless m4a file so that it would take up less space and still achieve DTS passthrough with a exact copy of the audio from the DVD. If I get around to it I will report on how it goes.


Thanks for your reply and good luck with the quest for DTS!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple TV 2 and DTS audio

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.