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

Robert McNamara robert.mcnamara
Wed Nov 26 03:11:56 CET 2008

Good evening,

I am writing to revive a discussion on proper parsing of DTS-HD MA in
dca_parser.c and mpegts.c.

There were discussions of both issues in June/July of this year.  However,
it looks as though the discussion lost steam, someone went on vacation,
adequate samples weren't provided in time, etc.  Most recent Fox and Sony
blu-ray disks are coming out with DTS-HD MA audio tracks, and it would be
nice to at least be able to pull out the DTS core.  I have uploaded a sample
to upload.mplayerhq.hu as /DTS-HD-MA/bond_sample_dtshdma.m2ts.

Two issues are at play here.  The first is the fact that the mpegts.c parser
is not able to parse the m2ts and find the DTS-HD track, a discussion begun
(and ultimately dying) here:


The second issue is the fact that DTS-HD tracks are not playing properly in
dca_parser.c because of an apparent variable frame size.  Discussion here:


I have uploaded a sample, tested the former patch and found it to more or
less work (although I understand it needs to be done a certain way to be
committed) and have uploaded a sample as requested in that long-ago thread.
I stand ready to provide other samples, samples of greater size, and
otherwise do whatever I can to assist in solving this problem.  Thanks a


More information about the ffmpeg-devel mailing list