Skip to content

Instantly share code, notes, and snippets.

View aslamdoctor's full-sized avatar
💭
Always working but happy to talk 👍

Aslam Doctor aslamdoctor

💭
Always working but happy to talk 👍
View GitHub Profile
@aslamdoctor
aslamdoctor / encoding-video.md
Created April 8, 2018 10:19 — forked from glen-cheney/encoding-video.md
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@aslamdoctor
aslamdoctor / convertmp4_to_ogg_webm.txt
Created November 9, 2017 10:16
Convert mp4 to ogv and/or WebM
# 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