@daniel47, I was curious about the “choppy” filter, how lethargic the video, then if you can apply stabilization… it’s a new MacGyverism that I’ll have to try more, as an alternative to the “ffmpeg > timestamp”!
Speed Up or Slow Down a Video
Use the setpts
(set presentation timestamp) video filter (-vf
). The argument to the setpts
filter is a formula for how to set the timestamp. Some example values:
setpts=0.66*PTS
- roughly 1.33x speedsetpts=0.5*PTS
- double the speedsetpts=0.25*PTS
- quadruple the speedsetpts=2.0*PTS
- half the speed
For example, to double the speed of a video:
ffmpeg -i path/to/original/file.mp4 -vf "setpts=0.5*PTS" path/to/output/file.mp4