# Convert mp4 video to ogv and/or WebM # Browser support: # http://caniuse.com/#search=mp4 # http://caniuse.com/#search=ogv # http://caniuse.com/#search=webm # Installation macos: brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with- --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools # Installation debian: sudo apt-get install ffmpeg frei0r-plugins rtmpdump speex # Usage: mp4 to ogv ffmpeg -i input.mp4 -q:v 10 -c:v libtheora -c:a libvorbis output.ogv # Usage: mp4 to WebM ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 10 -b:v 1000k -c:a libvorbis output.webm