[FFmpeg-devel] [PATCH]Do not detect mp2 in mxf as mpeg2video

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 10 15:34:53 CET 2011


On Sat, Dec 10, 2011 at 02:16:52PM +0000, Carl Eugen Hoyos wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
> > > Anyway, splitting mxf_essence_container_uls seems like a decent
> > > solution, if both streams have the same essence_container_ul.
> > 
> > They do not, the demuxer is only using 14 bytes of the ULs (as
> > specified) and completely according to the specification the
> > first 14 bytes of the ULs MPEG-2 video and audio match.
> 
> So should I also apply the other patch?

I think Tomas probably knows better.
In particular I am also unsure that 15 really is correct and it
shouldn't rather be 16.
In general I don't get the system behind the match length.
If it is just meant to be the minimal length to make the match
unique it would be better to just change the code to look for the
maximal match (possibly with some threshold and a warning if multiple
equally good matches exist).


More information about the ffmpeg-devel mailing list