Last active
September 7, 2019 00:27
-
-
Save nucholab/b90680e06cfe9f7f53bb315dfc24c985 to your computer and use it in GitHub Desktop.
Oneliner batch convert from AVI to MP4
This file contains 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 | |
for f in *.avi; do ffmpeg -i "$f" -c:a aac -b:a 128k -c:v libx264 -crf 23 "${f%.avi}.mp4"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment