Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Forked from searls/double-video-speed
Created May 30, 2016 14:41
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 trikitrok/734b0725eb05b605152356e788e5fb0a to your computer and use it in GitHub Desktop.
Save trikitrok/734b0725eb05b605152356e788e5fb0a 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