Speeding up video with ffmpeg

I keep having to Google this, so perhaps I’ll remember to look here.

To speed up a video with ffmpeg, use the decimal equivalent of 1/{speed multiple} with the following command line option. For example, for a video that you want to run at 8 times normal speed, use the value 1/8=0.125 in the command line

“C:\Program Files (x86)\WinFF\ffmpeg.exe” -i C:\Users\Brandon\Videos\videoIn
putFile.mov -an -filter:v “setpts=0.125*PTS” C:\Users\Brandon\Videos\videoOutput.mp4

This is video-only, which is what I typically want anyway. This is useful for time lapse video.

Advertisements