>FFmpegLab Start free
FFmpeg Guide

How to speed up or slow down video with FFmpeg

Make a timelapse, a slow-motion shot, or a quick 2× cut — and keep the audio in sync. The trick is setpts for video and atempo for audio.

Changing speed in FFmpeg means rescaling timestamps. The setpts video filter multiplies each frame's presentation time, and atempo stretches audio without changing pitch. Treat them as two separate jobs that you keep in agreement.

Key takeaways

Speed video up (2×)

To double the speed, halve the timestamps. Pair it with atempo=2.0 so the audio keeps up:

ShareRenders{ } CodeConfig
Generated CodeLogsCustomize
ffmpeg -i in.mp4 -filter_complex \
  "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" \
  -map "[v]" -map "[a]" out.mp4

Rule of thumb: the setpts multiplier is 1 ÷ speed. For 4× that's 0.25*PTS.

Slow video down (half speed)

ShareRenders{ } CodeConfig
Generated CodeLogsCustomize
ffmpeg -i in.mp4 -filter_complex \
  "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" \
  -map "[v]" -map "[a]" out.mp4

Big speed changes: chain atempo

atempo only accepts a factor between 0.5 and 2.0 per instance. For 4× audio, chain two stages — each factor multiplies:

ShareRenders{ } CodeConfig
Generated CodeLogsCustomize
ffmpeg -i in.mp4 -filter_complex \
  "[0:v]setpts=0.25*PTS[v];[0:a]atempo=2.0,atempo=2.0[a]" \
  -map "[v]" -map "[a]" out.mp4

Make a silent timelapse

Timelapses usually drop audio entirely. Speed the video hard and map only the video stream:

ShareRenders{ } CodeConfig
Generated CodeLogsCustomize
ffmpeg -i in.mp4 -vf "setpts=PTS/10" -an timelapse.mp4

Smoother slow motion

Stretching timestamps just holds frames longer, which can look choppy. minterpolate synthesizes in-between frames for a fluid result (slower to render):

ShareRenders{ } CodeConfig
Generated CodeLogsCustomize
ffmpeg -i in.mp4 -vf \
  "setpts=2.0*PTS,minterpolate=fps=60:mi_mode=mci" \
  -an slowmo.mp4

Do it on a timeline

FFmpegLab lets you set clip speed visually and writes the matching setpts/atempo command for you, keeping audio in sync automatically. Combine speed ramps with transitions and effects, all offline in your browser.

✦  Fresh from the render queue

Better FFmpeg workflows, delivered.

Get practical commands, new templates, and deep-dive guides for the edits that are usually hardest to get right.

✓  Copy-pasteable commands    ✓  Editor templates    ✓  No noise
One useful email at a time.

Speed, slow-mo, and timelapse — visually.

Free in your browser — nothing to install, nothing uploaded.