# HG changeset patch
# User diego
# Date 1040751129 0
# Node ID c8d63449741be91a3f70c289d386fb41e9102caa
# Parent fd750a80c93e7f7c819d779eab3f65c3f35675bd
EDL section added, based on patch by Michael Halcrow
The edit decision list (EDL) system allows you to automatically skip or mute + sections of videos during playback, based on a movie specific EDL + configuration file.
+ +This is useful for those who may want to watch a film in "family-friendly" + mode. You can cut out any violence, profanity, Jar-Jar Binks .. from a movie + according to your own personal preferences. Aside from this, there are other + uses, like automatically skipping over commercials in video files you + watch.
+ +The EDL file format is pretty bare-bones. Once the EDL system has reached a + certain level of maturity, an XML-based file format will probably be + implemented (keeping backwards compatibility with previous EDL formats).
+ +The maximum number of EDL entries for the current incarnation of EDL is 1000.
+ If you happen to need more, change the #define MAX_EDL_ENTRIES
+ in the edl.h
file.
Include the -edl <filename>
flag when you run MPlayer,
+ with the name of the EDL file you want applied to the video.
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 create an EDL file to work from, use the
+ -edlout <filename>
flag. During playback, when you want to
+ mark the previous two seconds to skip over, hit i
. A
+ corresponding entry will be written to the file for that time. You can then go
+ back and fine-tune the generated EDL file.