Skip to content

Instantly share code, notes, and snippets.

@y2bd
Created April 8, 2014 03:52
Show Gist options
  • Save y2bd/10088835 to your computer and use it in GitHub Desktop.
Save y2bd/10088835 to your computer and use it in GitHub Desktop.
best ffmpeg for webm
ffmpeg -i FILE.EXT -ss 00:01:00 -t 00:00:10 -c:v libvpx -b:v 2457k -quality best -threads 7 -slices 8 -auto-alt-ref 1 -lag-in-frames 16 -an -pass 1 -f webm /dev/null
ffmpeg -i FILE.EXT -ss 00:01:00 -t 00:00:10 -c:v libvpx -b:v 2457k -quality best -threads 7 -slices 8 -auto-alt-ref 1 -lag-in-frames 16 -an -pass 2 out.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment