Skip to content

Instantly share code, notes, and snippets.

@candycode
Created March 22, 2016 10:12
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 candycode/3c3472ff83e9d587282c to your computer and use it in GitHub Desktop.
Save candycode/3c3472ff83e9d587282c to your computer and use it in GitHub Desktop.
Convert multiple files with ffmpeg
for f in ../flv/*.flv; do echo "Converting $f"; g=`basename $f .flv`; ffmpeg -i ../flv/$f -c:v libx264 -crf 19 -strict experimental $g.mp4 || echo FAILED; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment