Skip to content

Instantly share code, notes, and snippets.

@joebew42
Last active February 17, 2019 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joebew42/ac91fc27a1999e3044f176e3f59cf32d to your computer and use it in GitHub Desktop.
Save joebew42/ac91fc27a1999e3044f176e3f59cf32d to your computer and use it in GitHub Desktop.

How I edit my own video 🎥

Speed up the video and the audio of 10%, because I am bit slow:

ffmpeg -i 2019-02-17_19-01-22.flv -c:v libx264 -crf 20 -filter_complex "[0:v]setpts=0.9*PTS[v];[0:a]atempo=1.1111111111111112[a]" -map "[v]" -map "[a]" output.mp4

See How to speed up / slow down a video for more detailed information.

Basically, something to take care of is that:

audio-factor = 1 / video-factor

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