From 84d47690221f1c6300540b0ea9673bd33a67d4ce Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 24 Dec 2002 17:32:09 +0000 Subject: [PATCH] EDL section added, based on patch by Michael Halcrow . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8552 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/documentation.html | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/DOCS/documentation.html b/DOCS/documentation.html index bbe70762c0..dcde508c4f 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -221,6 +221,12 @@
  • 2.5.3 Examples
  • +
  • 2.6 Edit Decision Lists (EDL) + +
  • 3. Usage @@ -1191,6 +1197,58 @@ on:driver=v4l:width=640:height=480 -vo xv
    in the horizontal direction due to a hardware limitation.

    +

    2.6 Edit Decision Lists (EDL)

    + +

    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.

    + +

    2.6.1 Using an EDL file

    + +

    Include the -edl <filename> flag when you run MPlayer, + with the name of the EDL file you want applied to the video.

    + +

    2.6.1 Making an EDL file

    + +

    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.

    + +

    3. Usage