Inaccurate cuts with -ss

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



> 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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux