Change video playback speed

Change video playback speed (e.g., 2x faster)

Recipe Parameters
output.sh
ffmpeg -i path/to/input.mp4 -filter:v "setpts=0.5*PTS" path/to/output_fast.mp4
Warm Reminder

Project Under Development

This project is still in development and may contain errors. Please use with caution.

# Why use this command?

Quickly speed up or slow down a video. Useful for creating time-lapses or slow-motion effects from standard footage.

# Parameter Explanation

- `-filter:v "setpts=0.5*PTS"`: Adjusts the Presentation Time Stamp. 0.5 means the video plays twice as fast (half the duration).

path/to/input.mp4Input Video File configuration
path/to/output_fast.mp4Output Video File configuration

Common Errors & Solutions

"Audio pitch is weird"

This command only changes VIDEO speed. To change audio speed too, add the 'atempo' filter: '-filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]"'.

Related Tools in Video