Last active
October 13, 2016 16:25
-
-
Save shaneshifflett/94680c43c4de3d45bc04 to your computer and use it in GitHub Desktop.
Convert a GIF to MP4
This file contains 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
brew install ffmpeg --with-libvorbis, --with-libvpx, --with-theora, --with-opus, --with-x265, --with-fdk-aac --with-ffplay, --with-freetype, --with-libass, --with-libquvi | |
ffmpeg -f gif -i YOURGIF.gif -vcodec libx264 -pix_fmt yuv420p YOURMP4.mp4 | |
ffmpeg -i YOURMP4.mp4 -c:v libvpx -b:v 1M -c:a libvorbis YOURWEBM.webm | |
#bonus cool js library | |
#http://gka.github.io/canvid/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment