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

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Aug 18 16:26:32 CEST 2011


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

> Thanks for the review.
> patch updated.

Thank you for this important patch!

> MPlayer have E-AC3 parser.
> so, add E-AC3 entry in codecs.conf.
> But E-AC3 pass through is not tested.
> I don't have the E-AC3 file.

http://samples.multimedia.cx/A-codecs/AC3/eac3/
To test, I had to force sh->samplerate to 192000 (I believe this is always
necessary for eac3, truehd needs 192000 and channels=8).

> +        if (sh->avctx->sample_rate < 24000) {

demuxer lavf always crashes for me in this line.
For my tests, I removed the whole block.

Does your receiver support DTS-HD Master?
I ask because all HD Master tracks are played as DTS (no HD Master) in my tests.
I suspect something the muxing rate of the spdif muxer has to be set (and
samplerate=192k and channels=8).
I believe you will find samples in http://samples.multimedia.cx/A-codecs/DTS/dts/

Carl Eugen



More information about the MPlayer-dev-eng mailing list