-
-
Save trikitrok/734b0725eb05b605152356e788e5fb0a 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