Last active
June 30, 2016 20:00
-
-
Save gurre/f249850d7c8150b9b1ac4b681e359e43 to your computer and use it in GitHub Desktop.
Convert mp4 to html5 video formats
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
ffmpeg -i "movbg.mov" -b 1500k -vcodec libtheora -acodec libvorbis -ab 160000 -g 30 "movbg.ogv" | |
ffmpeg -i "movbg.mov" -b 1500k -vcodec libvpx -acodec libvorbis -ab 160000 -f webm -g 30 "movbg.webm" | |
ffmpeg -i "movbg.mov" -vcodec h264 -acodec aac -strict -2 "movbg.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if i have a .mpg4 file embedded in dreamweaver and want it to render .html5 will this code do that? Sorry, i am not a developer. but trying. lol! I've just used Swiffy to convert my .swf files to html5. Looks great.
Thanks.