Skip to content

Instantly share code, notes, and snippets.

@fijiaaron
Created February 27, 2019 22:23
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 fijiaaron/179ad03319a14c6151b95068f7a4d017 to your computer and use it in GitHub Desktop.
Save fijiaaron/179ad03319a14c6151b95068f7a4d017 to your computer and use it in GitHub Desktop.
Convert FLV to MP4 using FFMPEG
#!/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