Created
February 27, 2019 22:23
-
-
Save fijiaaron/179ad03319a14c6151b95068f7a4d017 to your computer and use it in GitHub Desktop.
Convert FLV to MP4 using FFMPEG
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 | |
flv_input="$1" | |
mp4_output=`echo "$flv_input" | sed s/flv$/mp4/` | |
echo converting $flv_input to $mp4_output | |
ffmpeg -i "$flv_input" "$mp4_output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment