Skip to content

Instantly share code, notes, and snippets.

@searls
Created May 30, 2016 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save searls/3a2a6c881912fa1f69cf97d935e43694 to your computer and use it in GitHub Desktop.
Save searls/3a2a6c881912fa1f69cf97d935e43694 to your computer and use it in GitHub Desktop.
double video speed with this
#!/usr/bin/env bash
# Just 'brew install ffmpeg' first
set -e
INPUT=$1
OUTPUT=$2
ffmpeg -i "$INPUT" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2[a]" -map "[v]" -map "[a]" "$OUTPUT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment