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

Anton Khirnov wyskas
Mon Aug 11 06:58:52 CEST 2008


On Mon, Aug 11, 2008 at 6:14 AM, John B <jbfaad at gmail.com> wrote:
> 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)?
>
There is NO switching machinery  in the patch. It just notifies the
calling app about segment switch, that's all.
As for samples, you can try [BSS] Kurenai, eps 6+ or [Formula] Shugo
Chara, eps 14+.

>
>I thought that if these were implemented in MPlayer that could be done
>at a somewhat higher level, as a part of playlist / edit decision list
>support. Currently playlists only work at file level and EDL within a
>file, but they could be generalized so that you could make a timeline
>consisting of parts from multiple files.
>
But that would benefit MPlayer only, while support in FFmpeg could be
used in MPlayer, VLC and everything that uses lavf.

Anton




More information about the ffmpeg-devel mailing list