2007-08-12, 17:31
go for it
spiff Wrote:go for it
Edit Decision List
XBMC supports Edit Decision Lists.
An Edit Decision List or EDL allows you to automatically skip or mute sections of videos during playback, based on a movie specific EDL configuration file. The EDL can for example be used to to skip commecials or intros.
The current EDL file format is:
[begin second] [end second] [action]
Where the seconds are floating-point numbers and the action is either 0 for skip or 1 for mute. Example:
5.3 7.1 0
15 16.7 1
420 422 0
This will skip from second 5.3 to second 7.1 of the video, then mute at 15 seconds, unmute at 16.7 seconds and skip from second 420 to second 422 of the video. These actions will be performed when the playback timer reaches the times given in the file.
To use an edl file with a video file, put it in the same folder as the video file.
The edl and video files must have the same name, for example:
Video File: The Matrix.avi
EDL: The Matrix.edl
szsori Wrote:Are there publicly available EDL files for tv shows? Should there be?
spiff Wrote:it does use the same code. however there's no such support as of yet.
patch welcome, i doubt any of the devs care (i for one do not). it would be rather tricky, as the progress bar is just generated based on info labels
elupus Wrote:I have a feeling it would be quite complicated to get this to work. You would either have to modify mplayer to output information about the edl list, so you know when the cutpoint will occure, or parse the edl list yourself.
Then add some sort of new guielement that can highlight parts of the progressbar. Not sure how one would go about that. Either one extends the progressbar class with this, or you add some new type of element wich you can overlay on it.