annotate DOCS/xml/en/edl.xml @ 10448:091fc3a26c00

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