Skip to content

Instantly share code, notes, and snippets.

@iamandrewluca
Created September 30, 2022 11:02
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 iamandrewluca/d47acfe77c89ce000fcd499ff48bca98 to your computer and use it in GitHub Desktop.
Save iamandrewluca/d47acfe77c89ce000fcd499ff48bca98 to your computer and use it in GitHub Desktop.
Change video speed

Audio Speed increases when bigger then 1
Video Speed increases when lower then 1

Audio Speed = 1 / Video Speed

ffmpeg -i input.mp4 -vf "setpts=0.75*PTS" -filter:a "atempo=1.333" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment