[FFmpeg-devel] [PATCH] minor update to MPEGTS to handle yet another DCA stream type
Måns Rullgård
mans
Mon Mar 24 12:35:58 CET 2008
Kirill Belokurov <kirill.belokurov at gmail.com> writes:
> Hi!
>
> Recently there was a thread about the sample with the 0x82 stream_type
> identifying the DCA and corresponding patch to mpegts demuxer handling this:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-February/042129.html
>
> I would like to propose a minor patch to handle yet another DCA stream type,
> found in the wild: 0x86, which is called "DTS-HD audio stream for the primary
> audio" in the following document (grep for the "0x86"), related to HD movies:
> 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?
> 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.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list