Edl file
1.Introduction
Having a nice UI is a good thing (tm) to easily get to the point and be sure of the result. It has a drawback as video operations tend to be long : User presence.
The idea behind the edl file is to have a kind of project that you set up with the ui, and later on continue or execute in command line mode while you are sleeping/having a life/whatever.
An edl file is a kind of project file. It contains almost an up to date image of what you
were doing when you saved it. It is very useful to continue if (god forbid) avidemux crashed.
2.Workbench/Edit list
Internally, avidemux sees everything as a collection of segments referencing videos on which we apply filters. This videos are the video you load through Open video or append video. If you do nothing, there will be one segment per video. If you chop the video, it will be splitted in several segments, and same thing if you copy/paste.
When you save a workbench/edit list, three files will be created. The first file contains all segments and videos. If you reload it, you will be exactly at the same point, i.e. if you cut or appended videos you will retrieve them.
The second file has a the same name and a .flt suffix. It is the filter list you are working on.
So by saving at one point the workbench/edit list and reloading them you will restore everything except audio filters and audio/video codec and their settings
The third file contains the video codec configuration, it can be loaded as a standalone file to have access to fine codec tuning.
3.and more
The workbench/edl file also contains:
- Video and audio mode (copy/process)
- Audio filter list (normalize etc..)
- Audio codec and its configuration
- Video codec and its configuration (in the .vcodec file)
So almost everything is there.
4.Example
Let's say you want to encode a bunch of capture to divx or SVCD. Load each file and set them up (filters/codec/etc...) and save the edl file
Then make a simple script like this :
Code listing .1 |
avidemux2 --load episode1.edl --video-process --save /tmp/episode1.avi --quit
avidemux2 --load episode2.edl --video-process --save /tmp/episode2.avi --quit
avidemux2 --load episode3.edl --video-process --save /tmp/episode3.avi --quit
|
And you can process the whole series in one night.
Edl as simple text file, you can open it to see what it looks like.
|