[FFmpeg-devel] Proper parsing of DTS-HD MA streams

madshi dear
Wed Nov 26 19:14:58 CET 2008


 > I tested pointing Bluray LPCM at CODEC_ID_PCM_S16LE

Blu-Ray LPCM can be 16bit or 24bit (or 20bit stored as 24bit).
Also there's a 4 byte header in every LPCM PES packet.

 > I don't have any disks that include E-AC-3 (0x84) or
 > MLP/TrueHD (0x83) so I wasn't able to test those.

There is only one sample available world wide with E-AC3
and that is from a Dolby demo disc. So we can forget
about that for now. It's not needed in real life.

I've uploaded an AC3/TrueHD sample and two LPCM
samples here:

(1) http://madshi.net/hd_dolby_true_hd.m2ts
(2) http://madshi.net/LPCM-3-1.m2ts
(3) http://madshi.net/lpcm-96-kHz.m2ts

Here are the reports for those 3 samples from my
tool "eac3to":

(1)
M2TS, 1 video track, 1 audio track, 0:00:12
1: h264/AVC, 1080i60 /1.001 (16:9)
2: TrueHD/AC3, 7.1 channels, 96khz
   (embedded: AC3, 5.1 channels, 640kbps, 48khz)

(2)
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 0:00:09
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, 2.0 channels, 16 bits, 48khz, -376ms
3: RAW/PCM, 3/1 channels, 16 bits, 48khz, -376ms
4: Subtitle (PGS)

(3)
M2TS, 1 video track, 1 audio track, 0:00:03
1: h264/AVC, 1080i60 /1.001 (16:9)
2: RAW/PCM, 7.1 channels, 24 bits, 96khz

If there are any questions, just let me know...

Regards, madshi.




More information about the ffmpeg-devel mailing list