Skip to content

Instantly share code, notes, and snippets.

@gurre
Last active June 30, 2016 20:00
Show Gist options
  • Save gurre/f249850d7c8150b9b1ac4b681e359e43 to your computer and use it in GitHub Desktop.
Save gurre/f249850d7c8150b9b1ac4b681e359e43 to your computer and use it in GitHub Desktop.
Convert mp4 to html5 video formats
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"
@tonkabodhi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment