>cheatref
tmuxffmpeg
  1. > ffmpeg
  2. /
  3. speed-reverse

> speed & reverse

4 commands for ffmpeg speed & reverse

// speed & reverse

4 commands
Double the playback speed
$ ffmpeg -i input.mp4 -vf "setpts=0.5*PTS" -af "atempo=2.0" output.mp4
Slow down to half speed
$ ffmpeg -i input.mp4 -vf "setpts=2.0*PTS" -af "atempo=0.5" output.mp4
Reverse a video
$ ffmpeg -i input.mp4 -vf reverse -af areverse output.mp4
Create a boomerang loop
$ ffmpeg -i input.mp4 -filter_complex "[0:v]reverse[r];[0:v][r]concat=n=2:v=1:a=0" output.mp4

// categories

> basic conversion> trimming> audio> video filters> speed & reverse> gif & images> concatenation> subtitles> compression> streaming> inspection> useful tips
> view all ffmpeg commands

// categories

> basic conversion> trimming> audio> video filters> speed & reverse> gif & images> concatenation> subtitles> compression> streaming> inspection> useful tips

// back to ffmpeg commands

> view all ffmpeg commands

> cheatref.com — minimal cheat sheets you can copy and use right away

AboutPrivacy© 2026 goyostudio