Created
June 9, 2014 14:54
-
-
Save xorrbit/702eecb2d88395a8f86d to your computer and use it in GitHub Desktop.
shell script to convert mjpeg camera videos to a sane format (x264/aac in an mp4 container).
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 FILE in `ls *AVI | sort` ; do | |
avidemux --nogui --output-format MP4 --video-codec x264 --audio-codec aac --load "$FILE" --save ${FILE%.*}.mp4 --quit | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment