[FFmpeg-devel] [PATCH 3/3] lavf/matroskadec: export chained segment chapter metadata.
nfxjfg at googlemail.com
Fri Feb 27 20:25:45 CET 2015
On Fri, 27 Feb 2015 20:08:50 +0100
Nicolas George <george at nsup.org> wrote:
> Le nonidi 9 ventôse, an CCXXIII, wm4 a écrit :
> > This isn't enough information to implement ordered chapters.
> Care to elaborate?
At the very least, you should check the ordered chapter flag. If it's
not set, the segment uid is supposed to be ignored. You need to export
the edition IDs. You need to handle editions at all, and they have
weird interactions with ordered chapters.
(Handling of editions complicate the thing somewhat, but if lavf
doesn't include it, I'm not interested in all this work, since my
player's mkv demuxer handles it just fine.)
There should be a fast way to probe a file whether it's a Matroska file
with a uid that matches a required segment.
Also it would be nice if it wouldn't abuse metadata for this, or if
libavformat at least had a mechanism to separate real metadata and file
More information about the ffmpeg-devel