[FFmpeg-devel] [PATCH] minor update to MPEGTS to handle yet another DCA stream type

Kirill Belokurov kirill.belokurov
Mon Mar 24 13:17:03 CET 2008

On Monday 24 March 2008, M?ns Rullg?rd wrote:
> Kirill Belokurov <kirill.belokurov at gmail.com> writes:
> > http://www.wipo.int/pctdb/en/wo.jsp?wo=2007058444&IA=WO2007058444&DISPLAY
> >=DESC
> That document does not mention MPEG-TS.  What suggests that those
> numbers are intended as MPEG-TS stream_type values?
It does mention the "recorded stream" files with the name *.m2ts, which are 
MPEG-2 TS files. For the stream_type numbers below document says "elementary 
stream having a stream coding type of <>". The document itself refers to the 
Blu-ray standard, and such stream_type was found in m2ts file from Blu-Ray 
disk. Isn't this enough? 

I don't have access to the Blu-Ray format document itself, so I am not 100% 

> > Briefly - there are extra types mentioned there, missing in the mpegts.h
> > :
> >
> > 0xEB - video "SMPTE VC-I"
> >
> > 0x80 - audio "HDMV LPCM"
> > 0x83 - audio "Dolby lossless, primary audio"
> > 0x84 - audio "Dolby Digital plus, primary audio"
> > 0x85 - audio "DTS-HD except XXL, primary audio"
> > 0x86 - audio "DTS-HD, primary audio"
> > 0xA1 - audio "Dolby Digital plus, secondary audio"
> > 0xA2 - audio "DTS-HD, secondary audio"
> >
> > The 0x86 will be handled by the attached patch, the name of macro
> > STREAM_TYPE_AUDIO_HDMV_DTS_HD_PRIMARY was selected to match the list
> > above. Does it make sense to add other types as well?
> This is the wrong way of dealing with these files.

OK, can you please advice on the proper dealing with these files?


More information about the ffmpeg-devel mailing list