[PATCH] minor update to MPEGTS to handle yet another DCA stream type
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 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? There is some sample file "eragon.m2ts" in the samples incoming, that uses the 0x86 type for the DCA. Best regards, Kirill
On Monday 17 March 2008, Kirill Belokurov wrote:
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=D ESC
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?
There is some sample file "eragon.m2ts" in the samples incoming, that uses the 0x86 type for the DCA.
Best regards, Kirill
Any comments? :) Regards, Kirill
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
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% sure.
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? Regards, Kirill
On Mon, Mar 24, 2008 at 02:17:03PM +0200, Kirill Belokurov wrote:
On Monday 24 March 2008, M?ns Rullg?rd wrote: [...]
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?
Mans ping! I would like to have a _USEABLE_ mpeg ps/ts demxuer in ffmpeg svn. Not one which cannot handle any recent things. If files exist with these ids they should be added to the demuxer IMHO. If you are too busy to maintain the mpeg ps/ts demuxers, i gladly offer to take maintainership over for them! [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle
On Tue, Apr 01, 2008 at 12:42:26AM +0200, Michael Niedermayer wrote:
On Mon, Mar 24, 2008 at 02:17:03PM +0200, Kirill Belokurov wrote:
On Monday 24 March 2008, M?ns Rullg?rd wrote: [...]
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?
Mans ping! I would like to have a _USEABLE_ mpeg ps/ts demxuer in ffmpeg svn. Not one which cannot handle any recent things. If files exist with these ids they should be added to the demuxer IMHO. If you are too busy to maintain the mpeg ps/ts demuxers, i gladly offer to take maintainership over for them!
another mail ive on my list ... whats the status of this? is that already fixed or still open, if open then we have an unawnsered question about "... please advice on the proper dealing with these files?" [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.
Michael Niedermayer <michaelni <at> gmx.at> writes:
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"
whats the status of this? is that already fixed or still open, if open then we have an unawnsered question about "... please advice on the proper dealing with these files?"
There was no sample mentioned in the original mail (and the mentioned thread can't be found, thanks to BOFH). I tested quite a lot of Bluray samples lately, and they all work as expected with ffmpeg. Carl Eugen [Is BOFH an insult? I hope not, it is not meant as one!]
On Tue, Oct 20, 2009 at 03:14:23PM +0000, Carl Eugen Hoyos wrote:
Michael Niedermayer <michaelni <at> gmx.at> writes:
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"
whats the status of this? is that already fixed or still open, if open then we have an unawnsered question about "... please advice on the proper dealing with these files?"
There was no sample mentioned in the original mail (and the mentioned thread can't be found, thanks to BOFH).
I tested quite a lot of Bluray samples lately, and they all work as expected with ffmpeg.
good then ill drop this one off my list too [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The greatest way to live with honor in this world is to be what we pretend to be. -- Socrates
participants (4)
-
cehoyos@ag.or.at -
kirill.belokurov@gmail.com -
mans@mansr.com -
michaelni@gmx.at