[MPlayer-users] edl accuracy in mplayer vs. mencoder (lavc mpeg4)

Ben Nemec nemebe01 at luther.edu
Mon Dec 26 23:29:41 CET 2005


On Monday 26 December 2005 13:10, Rich Felker wrote:
> On Mon, Dec 26, 2005 at 10:42:07AM -0800, pfile at pacbell.net wrote:
> > i guess edl support in mencoder is a recent addition, so maybe its
> > buggy, but i thought i'd ask.
> >
> > if i create a cutlist for a TV show (to get rid of the commercials),
> > mplayer -edl foo skips the commercials accurately. however if i use
> > mencoder -oac copy -ovc copy -edl foo to create a version of the file
> > with no commercials, some of the cut-in points (where the content
> > begins) happen a few seconds too late. changing the cutpoint to be
> > progressively earlier has no effect until finally mencoder starts
> > cutting in several seconds too early.
>
> You cannot do accurate editing with -ovc copy unless you use a codec
> where all frames are keyframes. Also I recommend using the
> -hr-edl-seek option with mencoder. And make sure your edl file has the
> exact timestamps you want to cut at, not whatever adjusted values work
> well for mplayer -edl (which is imprecise).
>
> Rich

Do be aware as well that -hr-edl-seek and -ovc copy may not work (as it
states
in the man page).  When I tried it mencoder would get "stuck" at my first edl
entry and at one point even freaked out and ate all of my memory when I tried
to quit.  Just a heads up.

-Ben




More information about the MPlayer-users mailing list