wiki:

How to speed up

/

slow down a video


Version 1 (modified by burek, 4 years ago) (diff)

--

You can change the speed of your video using setpts video filter.

To speed up your video, you can type:

ffmpeg -i input.avi -vf "setpts=0.5*PTS" output.avi

To slow down your video, you can type:

ffmpeg -i input.avi -vf "setpts=2.0*PTS" output.avi