Created
May 30, 2016 13:50
-
-
Save searls/3a2a6c881912fa1f69cf97d935e43694 to your computer and use it in GitHub Desktop.
double video speed with this
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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