Skip to content

Instantly share code, notes, and snippets.

@nicnocquee
Created June 26, 2014 14:30
Show Gist options
  • Select an option

  • Save nicnocquee/3f9c81b1223bac01b5f9 to your computer and use it in GitHub Desktop.

Select an option

Save nicnocquee/3f9c81b1223bac01b5f9 to your computer and use it in GitHub Desktop.
Script to speed up/down movie using ffmpeg. To change speed to 2x, change 10/13 to 0.5 and 1.3 to 2.
ffmpeg -i input_name -filter_complex "[0:v]setpts=10/13*PTS[v];[0:a]atempo=1.3[a]" -map "[v]" -map "[a]" output_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment