Last active
August 29, 2015 14:06
-
-
Save ykarikos/0a4c13e6e349e2270b86 to your computer and use it in GitHub Desktop.
convert bunch of avi files to mp4 for ipad with 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
for f in *.avi; do file=`basename "$f" .avi`; ffmpeg -i "$f" -acodec libfaac -ab 160000 -vcodec libx264 -b 1200k -threads 0 -f mp4 "$file.mp4"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment