Created
January 5, 2014 22:47
-
-
Save jamiecurran/8275097 to your computer and use it in GitHub Desktop.
find all .mts file, convert to ipad friendly mp4.
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
IFS=$'\n' | |
for f in `find *.MTS`; do ffmpeg -i $f -r 30 -strict -2 -async 1 -acodec aac -ac 2 -ab 160k -threads 0 -preset slower -profile:v high -level 4.1 -f mp4 -refs 4 $(basename $f .MTS).mp4; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment