Skip to content

Instantly share code, notes, and snippets.

@brunojppb
Created December 18, 2023 22:40
Show Gist options
  • Save brunojppb/540cc7baa87b4da950b4a2f920ad8741 to your computer and use it in GitHub Desktop.
Save brunojppb/540cc7baa87b4da950b4a2f920ad8741 to your computer and use it in GitHub Desktop.
Speed up Video with ffmpeg

To speed up a video using FFMPEG via the cli:

ffmpeg -i my_video.mp4 -vf "setpts=(PTS-STARTPTS)/3" -crf 18 new_video.mp4

Where 3 is the 3x speed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment