[MPlayer-users] Inaccurate cuts with -ss

Oliver Seitz info at vtnd.de
Fri Jun 18 09:59:16 CEST 2010


> Hi all,
>
> I'm trying to do something like this:
> mencoder \
>  $src             -ss 30 -endpos 1 \
>  $src -vf hue=180 -ss 31 -endpos 1 \
>  $src             -ss 32 -endpos 1 \
>  $src -vf hue=180 -ss 33 -endpos 1 \
>  $src             -ss 34 -endpos 1 \
>  -o outfile.avi -oac pcm -ovc lavc -lavcopts vcodec=mjpeg
>
> The output is not smooth but stutters at every cut point.  As I
> understand it, -ss seeks to the nearest keyframe.  What would it take
> to implement frame-accurate seeking so that a command like the above
> would produce smooth output?

I would play the source to single jpeg files (mplayer $src -vo jpeg), do
the transformations on the jpegs (e.g. via graphicsmagick), and then use
mencoder to combine the jpegs back to a video file.

Or use a program that is made to edit video files, perhaps Kino, Cinelerra
or Blender/VSE can do that.

Greets,
Kiste



More information about the MPlayer-users mailing list