Skip to content

Instantly share code, notes, and snippets.

@kaishin kaishin/ffmpeg.sh
Created Feb 23, 2015

Embed
What would you like to do?
ffmpeg 2-pass encoding
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
You can’t perform that action at this time.