comparison DOCS/documentation.html @ 8551:c8d63449741b

EDL section added, based on patch by Michael Halcrow <mah69@email.byu.edu>.
author diego
date Tue, 24 Dec 2002 17:32:09 +0000
parents b29982e68d8c
children 7bb2b7e8a4fd
comparison
equal deleted inserted replaced
8550:fd750a80c93e 8551:c8d63449741b
219 <LI><A HREF="#tv_compilation">2.5.1 Compilation</A></LI> 219 <LI><A HREF="#tv_compilation">2.5.1 Compilation</A></LI>
220 <LI><A HREF="#tv_tips">2.5.2 Usage tips</A></LI> 220 <LI><A HREF="#tv_tips">2.5.2 Usage tips</A></LI>
221 <LI><A HREF="#tv_examples">2.5.3 Examples</A></LI> 221 <LI><A HREF="#tv_examples">2.5.3 Examples</A></LI>
222 </UL> 222 </UL>
223 </LI> 223 </LI>
224 <LI><A HREF="#edl">2.6 Edit Decision Lists (EDL)</A>
225 <UL>
226 <LI><A HREF="#edl_using">2.6.1 Using an EDL file</A></LI>
227 <LI><A HREF="#edl_making">2.6.2 Making an EDL file</A></LI>
228 </UL>
229 </LI>
224 </UL> 230 </UL>
225 </LI> 231 </LI>
226 <LI><A HREF="#usage">3. Usage</A> 232 <LI><A HREF="#usage">3. Usage</A>
227 <UL> 233 <UL>
228 <LI><A HREF="#command_line">3.1 Command line</A></LI> 234 <LI><A HREF="#command_line">3.1 Command line</A></LI>
1188 <CODE>-tv</CODE> option and omit the software scaling but this 1194 <CODE>-tv</CODE> option and omit the software scaling but this
1189 approach uses the maximum available information and is a little more 1195 approach uses the maximum available information and is a little more
1190 resistant to noise. The bt8x8 chips can do the pixel averaging only 1196 resistant to noise. The bt8x8 chips can do the pixel averaging only
1191 in the horizontal direction due to a hardware limitation.</P> 1197 in the horizontal direction due to a hardware limitation.</P>
1192 1198
1199
1200 <H2><A NAME="edl">2.6 Edit Decision Lists (EDL)</A></H2>
1201
1202 <P>The edit decision list (EDL) system allows you to automatically skip or mute
1203 sections of videos during playback, based on a movie specific EDL
1204 configuration file.</P>
1205
1206 <P>This is useful for those who may want to watch a film in "family-friendly"
1207 mode. You can cut out any violence, profanity, Jar-Jar Binks .. from a movie
1208 according to your own personal preferences. Aside from this, there are other
1209 uses, like automatically skipping over commercials in video files you
1210 watch.</P>
1211
1212 <P>The EDL file format is pretty bare-bones. Once the EDL system has reached a
1213 certain level of maturity, an XML-based file format will probably be
1214 implemented (keeping backwards compatibility with previous EDL formats).</P>
1215
1216 <P>The maximum number of EDL entries for the current incarnation of EDL is 1000.
1217 If you happen to need more, change the <CODE>#define MAX_EDL_ENTRIES</CODE>
1218 in the <CODE>edl.h</CODE> file.</P>
1219
1220 <H3><A NAME="edl_using">2.6.1 Using an EDL file</A></H3>
1221
1222 <P>Include the <CODE>-edl &lt;filename&gt;</CODE> flag when you run MPlayer,
1223 with the name of the EDL file you want applied to the video.</P>
1224
1225 <H3><A NAME="edl_making">2.6.1 Making an EDL file</A></H3>
1226
1227 <P>The current EDL file format is:</P>
1228
1229 <CODE>[begin second] [end second] [action]</CODE>
1230
1231 <P>Where the seconds are floating-point numbers and the action is either
1232 <CODE>0</CODE> for skip or <CODE>1</CODE> for mute. Example:</P>
1233
1234 <PRE>
1235 5.3 7.1 0
1236 15 16.7 1
1237 420 422 0
1238 </PRE>
1239
1240 <P>This will skip from second 5.3 to second 7.1 of the video, then mute at
1241 15 seconds, unmute at 16.7 seconds and skip from second 420 to second
1242 422 of the video. These actions will be performed when the playback timer
1243 reaches the times given in the file.</P>
1244
1245 <P>To create an EDL file to work from, use the
1246 <CODE>-edlout &lt;filename&gt;</CODE> flag. During playback, when you want to
1247 mark the previous two seconds to skip over, hit <CODE>i</CODE>. A
1248 corresponding entry will be written to the file for that time. You can then go
1249 back and fine-tune the generated EDL file.</P>
1250
1193 1251
1194 1252
1195 <H1><A NAME="usage">3. Usage</A></H1> 1253 <H1><A NAME="usage">3. Usage</A></H1>
1196 1254
1197 1255