Created
February 23, 2015 15:34
-
-
Save kaishin/42fe111c60b4f7037258 to your computer and use it in GitHub Desktop.
ffmpeg 2-pass encoding
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
ffmpeg -i source.mp4 -pass 1 -codec:v libvpx -b:v 650k -codec:a libvorbis -b:a 100k -s 640x360 -f webm -y /dev/null | |
ffmpeg -i source.mp4 -pass 2 -codec:v libvpx -b:v 650k -codec:a libvorbis -b:a 100k -s 640x360 -y output.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment