-
-
Save collegeimprovements/39edf64e71d866864c893ae62d0ea342 to your computer and use it in GitHub Desktop.
Convert mp4 to ogv and/or WebM
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
| # 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: | |
| 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 | |
| # 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 -q:v 10 -c:v libvpx -c:a libvorbis output.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment