[MPlayer-dev-eng] [PATCH]SPDIF pass through decoder

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 19 00:36:06 CEST 2011


Naoya OYAMA <naoya.oyama <at> gmail.com> writes:

> Not developed:

> 2. Dolby TrueHD

The following is necessary to receive TrueHD, and be able to recognize the
sound, unfortunately, it is very choppy (as if there was a buffering problem):

Add an audiocodec spdifthd to etc/codecs.conf
Add a "{ "thd", CODEC_ID_TRUEHD }," line to fmt_id_type
Set sh->samplerate to 192000
Set sh->channels to 8
Force -channels 8 on the command line
Choose an output device that has AES0=6 set, I used hdmihdtest0 from this post:
http://www.nvnews.net/vbulletin/showthread.php?t=157347
(If AES0 is not set - for example by simply using hw=1.3, TrueHD is not
recognised by the receiver and I only hear white noise.)

TrueHD works fine for me with aplay -c 8 -r 192000 -f s16_le -D hdmihdtest0

Carl Eugen



More information about the MPlayer-dev-eng mailing list