[MEncoder-users] simple edl not working?

Etienne Buira etienne.buira.lists at free.fr
Sat Oct 3 23:10:45 CEST 2009


Hi.

On Sat, Oct 03, 2009 at 03:42:08AM +0100, Mikhail Ramendik wrote:
> Hello,
> 
> I have Debian lenny, and mplayer and mencoder from
> debian-multimedia.org. MEncoder version is dev-SVN-r26940 .

This version is more than one year old, you should consider compiling
current svn version, or get a newer version.

> 
> I am trying to do some simple skipping (based on output of comskip,
> ran under wine). The contents of the file "c.edl" are:
> 
> 0.00	1.72	0
> 148.64	348.60	0
> 842.08	1073.24	0
> 
> The command line I use is:
> 
> mencoder c.ts -edl c.edl -oac copy -ovc copy -of mpeg -o c.mpg
> 
> I get no error messages, and mencoder does output "Read 3 EDL actions".
> 
> However, the resultig video is nearly an exact copy of the original,
> except for a format change (TS to MPG). Only the first specified piece
> (0.00 to 1.72) is skipped. And if I delete that line, nothing at all
> is skipped.

I think it skipped some parts, even if it is not as precise as you want.

Actually, using edl while copying streams can not be precise, because of
the video encoding nature (Immediate and Predicted frames).

> 
> What should I do to fix this and make mencoder skip the specified parts?

To get an accurate skip, you have to use -hr-edl-seek, and to reencode
the streams.


More information about the MEncoder-users mailing list