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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s