[MPlayer-dev-eng] [PATCH] EDL extensions, resubmit

Uoti Urpala uoti.urpala at pp1.inet.fi
Tue Jun 22 00:37:47 CEST 2010


On Mon, 2010-06-21 at 17:18 -0400, Vlad Seryakov wrote:
> I am going to work on EDL stuff, i actually work on a project and paid to do this so expect more stuff from me:-))

I implemented much more general timeline functionality for Matroska
ordered chapter support. It basically allows you to do things like this:
time   0-100 comes from original file time 100-200
time 100-150 comes from original file time  80-130
time 150-500 comes from original file time 600-950

Compared to what can be specified in EDL files, you can have the same
part of the original file appear multiple times in the resulting
playback timeline, and it's also possible to construct a single
continuous playback with parts from _multiple_ source files (with
backwards seeking etc fully working, not only what you'd get with a
playlist).

The implementation makes the result appear a lot like normal straight
playback. For example with the above timeline, the time shown on OSD
would go consistently from 0 to 500, instead of showing the original
file position like with EDL. Seeking one minute back from time 151
(showing original file contents from time 601) would go to time 91
(showing original file contents from time 191). So this implements a
better version of what your patch did, plus more.

Currently the functionality is only used for Matroska files containing
ordered chapter information, and there's no direct interface to specify
the timeline with arbitrary files. However that could be added
reasonably easily, and you could parse EDL files to use this
functionality instead (though supporting just EDL syntax would expose
only a subset of the full functionality, as described above).

If you want to look at the implementation see
git://repo.or.cz/mplayer-build.git (hopefully reasonably soon there will
be a website with some general info about the repo).




More information about the MPlayer-dev-eng mailing list