How do I set up EDL?

Problems, bugs, suggestions... anything related to SMPlayer.

How do I set up EDL?

Postby df3 » Tue May 25, 2010 1:07 am

3.5. 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. There is one command per line that indicates what to do (skip/mute) and when to do it (using pts in seconds).
3.5.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.
3.5.2. 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, just hit i to mark the beginning and end of a skip block. A corresponding entry will be written to the file for that time. You can then go back and fine-tune the generated EDL file as well as change the default operation which is to skip the block described by each line.


I followed these directions, but I was unable to get EDL to work. I also tried just creating my own EDL file, but it just skipped through the entire movie.

Image
df3
 
Posts: 2
Joined: Tue May 25, 2010 1:01 am

Re: How do I set up EDL?

Postby rvm » Tue May 25, 2010 2:08 am

smplayer has support for edl files. Just name it with the same filename of the movie but with extension .edl, and smplayer will load it automatically.

I've just tested it and it works.
rvm
Site Admin
 
Posts: 952
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How do I set up EDL?

Postby df3 » Tue May 25, 2010 10:33 am

I tried just creating an EDL file through notepad, and renaming the extension EDL.

I just copy and pasted

5.3 7.1 0
15 16.7 1
420 422 0

into the notepad to see if it would work. However, once it reached the 5.3 mark is just fastforwarded to the end of the movie.

I left Run the following actions every time a file is opened. BLANK and even uninstalled it, but it still does the same thing.
df3
 
Posts: 2
Joined: Tue May 25, 2010 1:01 am

Re: How do I set up EDL?

Postby rvm » Tue May 25, 2010 9:20 pm

I don't know, I didn't test on windows. Maybe it's a bug of that mplayer build.
rvm
Site Admin
 
Posts: 952
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How do I set up EDL?

Postby rogerdpack » Mon Dec 13, 2010 3:15 pm

yeah for me I get this (jumps through the DVD like skipping through it quickly) when using an edl with smplayer + mplayer

MPlayer Sherpya-SVN-r30369-4.2.5

but not with

MPlayer Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team (from http://oss.netfarm.it/mplayer-win32.php )

You can get an smplayer with the updated version of mplayer (that works for EDL) from Lord Mulder's "mplayer for windows" download, which contains a much more updated version of mplayer.exe

Also if you have filename.mpg you'll want to name the edl file filename.edl, not filename.mpg.edl
rogerdpack
 
Posts: 12
Joined: Mon Nov 29, 2010 12:17 pm


Return to General

Who is online

Users browsing this forum: Google [Bot] and 1 guest