Skip to content

Instantly share code, notes, and snippets.

@palashkulsh
Created January 22, 2021 14:01
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 palashkulsh/3868289f28cee3c9d7eaf7def74d815a to your computer and use it in GitHub Desktop.
Save palashkulsh/3868289f28cee3c9d7eaf7def74d815a to your computer and use it in GitHub Desktop.
video editing fast video
ffmpeg -i input.mkv -filter_complex "[0:v]setpts=<1/x>*PTS[v];[0:a]atempo=<x>[a]" -map "[v]" -map "[a]" output.mkv
eg.
ffmpeg -i input.mkv -filter_complex "[0:v]setpts=1/2*PTS[v];[0:a]atempo=2[a]" -map "[v]" -map "[a]" output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment