[FFmpeg-devel] TrueHD decoder bug or something else is wrong

Ramiro Polla ramiro.polla
Sun Jul 19 18:44:37 CEST 2009


Hi,

On Sun, Jul 19, 2009 at 12:52 PM, Konstantin
Dimitrov<kosio.dimitrov at gmail.com> wrote:
> i have 3 very small TrueHD samples and the raw PCM (stereo, 16bit,
> 48kHz) sources from which they are created (taken from Blu-ray disc),
> you can find them here:
>
> http://rapidshare.com/files/257596582/thd_samples.tar.bz2.html (size: 144Kb)

Please don't use rapidshare. Follow http://ffmpeg.org/bugreports.html
and upload the files to our FTP.

> and the files are as follows:
>
> sample0[1-3]_stereo_16bit_48khz.thd : the TrueHD sample
> sample0[1-3]_stereo_16bit_48khz.pcm : raw PCM source - both Left and
> Right channel
> sample0[1-3]_stereo_16bit_48khz_left.pcm : raw PCM source - Left channel only
> sample0[1-3]_stereo_16bit_48khz_right.pcm : raw PCM source - Right channel only
>
> for example when i use FFmpeg version SVN-r19371 with
> sample02_stereo_16bit_48khz.thd i get:
>
> [truehd @ 0xf92870]Lossless check failed - expected 92, calculated bf.
>
> and as a result Left channel is decoded byte-by-byte identical with
> the source, but there are some different bytes in the Right channel
> compared to the source.
>
> the problem with other two samples is similar, but with them both
> channels are decoded not byte-by-byte identical with the source and
> there are several different bytes.
>
> so, as the subject says, does some bug in the TrueHD decoder cause the
> problem or something else is wrong like corrupted TrueHD stream?

What program did you use to create the TrueHD stream?
What does an official TrueHD decoder produce?

Ramiro Polla



More information about the ffmpeg-devel mailing list