Skip to content

Instantly share code, notes, and snippets.

@atomize
Created March 4, 2017 07:29
Show Gist options
  • Save atomize/e68801a2bd06246dbfc1f868e713abba to your computer and use it in GitHub Desktop.
Save atomize/e68801a2bd06246dbfc1f868e713abba to your computer and use it in GitHub Desktop.
ffmpeg mov to webm
ffmpeg -i $(IN) -c:v libvpx -pass 1 -an -f rawvideo -y /dev/null # Generates ffmpeg2pass-0.log
ffmpeg -i $(IN) -c:v libvpx -pass 2 -f webm -b:v 400K -crf 10 -an -y $(OUT).webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment