[FFmpeg-devel] [PATCH] support for ordered chapters/segment linking in Matroska

John B jbfaad
Mon Aug 11 06:14:39 CEST 2008

On Mon, Aug 11, 2008 at 5:36 AM, Anton Khirnov <wyskas at gmail.com> wrote:
> Actually compatibility with Haali's splitter was what I was aiming
> for, but the problem is that there are linked files out there with
> slightly different parameters, so mkvmerge will refuse to merge them
> and you'll get crap if you try to decode them with one decoder. But
> Haali's splitter will play them just fine.
> Of course we can just ignore these, I'll make the patch reject files
> with different CodecPrivate and everyone will be happy. Is that ok
> with you?
> Anton

Did you try to do it without all the switching machinery and it didn't
work? Can you provide sample file(s)?

Keep in mind that some encoders generate varying CodecPrivates even
when using the same encoding settings (I think Vorbis did this). If
I'm not mistaken, checking for matching CodecPrivate would break all
files with Vorbis audio.

More information about the ffmpeg-devel mailing list