2009-07-06, 18:28
ylagace Wrote:No chance for me to try the patch as I am away for a while but in meantime I have the log of a TrueHD example. This movie (Indiana Crystal Skull) has a TrueHD stream in the first position. You can see the error message and the first stream is showing as AC3?? in the log.
I hope this might be useful to some of you until I return and try the patch.
The video is playing good but I get the audio by very short dribble like 1 sec out of 10 or 20 secs. The AVR is showing Digital Dolby then PCM and back (keep cycling). I had passthrough enable. Now I realize I should have tried without passthrough (too late now!). Anyway just in case I post it here:
http://pastebin.com/m3ceac9f2
You can not passthrough any type of "protected" hd audio formats, like tru-hd or dts master audio. There is no hardware that supports protected audio path yet. Auzentech will bring the first card capable of bitstream these formats through protected audio path:
http://www.auzentech.com/site/company/pr..._homet.php
There is no chance to have support for this functionality in Linux for a LONG time. Even in windows only some selected properiaty software player will have support for this. So for example you won't have a directshow filter that does this job. Because they are afraid that people will steal the "bits" of the sound stream.
There are solutions that decode and rip the stream into lpcm. Like eac3to.
So the stream have to be uncrypted and decoded first. I'm afraid ffmpeg can not do the decoding and uncrypting of the hd sound yet... There are plans for it but it is niot there yet. I think.
So first thing is to check wheter ffmpeg can decode it. If it can than hdmi lpcm works like a regular analog multichannel output to pass the decoded, unrypted LPCM (not tru-hd) stream to the receiver.
If not, you have to rip the soundtrack into multichannel flac format, which is playable as lpcm in xbmc.