9675
|
1 <?xml version="1.0" encoding="iso-8859-1"?>
|
|
2 <sect1 id="edl" xreflabel="TV input">
|
|
3 <title>Edit Decision Lists (EDL)</title>
|
|
4
|
|
5 <para>
|
|
6 The edit decision list (EDL) system allows you to automatically skip
|
|
7 or mute sections of videos during playback, based on a movie specific
|
|
8 EDL configuration file.
|
|
9 </para>
|
|
10
|
|
11 <para>
|
|
12 This is useful for those who may want to watch a film in "family-friendly"
|
|
13 mode. You can cut out any violence, profanity, Jar-Jar Binks .. from a movie
|
|
14 according to your own personal preferences. Aside from this, there are other
|
|
15 uses, like automatically skipping over commercials in video files you watch.
|
|
16 </para>
|
|
17
|
|
18 <para>
|
|
19 The EDL file format is pretty bare-bones. Once the EDL system has reached a
|
|
20 certain level of maturity, an XML-based file format will probably be implemented
|
|
21 (keeping backwards compatibility with previous EDL formats).
|
|
22 </para>
|
|
23
|
|
24 <para>
|
|
25 The maximum number of EDL entries for the current incarnation of EDL is 1000.
|
|
26 If you happen to need more, change the <systemitem>#define MAX_EDL_ENTRIES</systemitem>
|
|
27 in the <filename>edl.h</filename> file.
|
|
28 </para>
|
|
29
|
|
30 <sect2 id="edl_using">
|
|
31 <title>Using an EDL file</title>
|
|
32 <para>
|
|
33 Include the <option>-edl <filename></option> flag when you run
|
|
34 <application>MPlayer</application>, with the name of the EDL file you
|
|
35 want applied to the video.
|
|
36 </para>
|
|
37 </sect2>
|
|
38
|
|
39 <sect2 id="edl_making">
|
|
40 <title>Making an EDL file</title>
|
|
41 <para>
|
|
42 The current EDL file format is:
|
|
43 <programlisting>
|
|
44 [begin second] [end second] [action]
|
|
45 </programlisting>
|
|
46 Where the seconds are floating-point numbers and the action is either
|
|
47 <literal>0</literal> for skip or <literal>1</literal> for mute. Example:
|
|
48 <programlisting>
|
|
49 5.3 7.1 0
|
|
50 15 16.7 1
|
|
51 420 422 0
|
|
52 </programlisting>
|
|
53 This will skip from second 5.3 to second 7.1 of the video, then mute at
|
|
54 15 seconds, unmute at 16.7 seconds and skip from second 420 to second 422
|
|
55 of the video. These actions will be performed when the playback timer
|
|
56 reaches the times given in the file.
|
|
57 </para>
|
|
58
|
|
59 <para>
|
|
60 To create an EDL file to work from, use the <option>-edlout <filename></option>
|
|
61 flag. During playback, when you want to mark the previous two seconds to skip over,
|
|
62 hit <keycap>i</keycap>. A corresponding entry will be written to the file for
|
|
63 that time. You can then go back and fine-tune the generated EDL file.
|
|
64 </para>
|
|
65 </sect2>
|
|
66 </sect1> |