Created
November 15, 2011 14:21
-
-
Save davidonet/1367188 to your computer and use it in GitHub Desktop.
ffmpeg mp4 to 720p webm
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
for f in ../*.mp4; do\ | |
ffmpeg -i $f -threads 4 -vpre libvpx-720p -vb 3900k -pass 1 -an -f webm -s 1280x720 -y /dev/null -passlogfile `basename $f .mp4`.log;\ | |
ffmpeg -i $f -threads 4 -vpre libvpx-720p -vb 3900k -pass 2 -acodec libvorbis -ab 100k -f webm -s 1280x720 -passlogfile `basename $f .mp4`.log -y `basename $f .mp4`.webm; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment