Skip to content

Instantly share code, notes, and snippets.

@matthiassturm
Last active August 29, 2015 14:01
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 matthiassturm/ff8acd1cdea73af31be2 to your computer and use it in GitHub Desktop.
Save matthiassturm/ff8acd1cdea73af31be2 to your computer and use it in GitHub Desktop.
flv 2 x264/AAC (all files in directory)
#!/bin/bash
for f in *.flv; do
avconv -i "$f" -c:a aac -strict -2 -b:a 128k -c:v libx264 -profile:v baseline ${f%%.flv}.mp4;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment