Skip to content

Instantly share code, notes, and snippets.

@DavidGarciaCat
Forked from clayton/ffmpeg-install.sh
Last active February 26, 2018 23:00
Show Gist options
  • Save DavidGarciaCat/4a3de24f2107922f5f64dd8bdc872ce1 to your computer and use it in GitHub Desktop.
Save DavidGarciaCat/4a3de24f2107922f5f64dd8bdc872ce1 to your computer and use it in GitHub Desktop.
Install FFMPEG on OS X with HomeBrew to convert Mp4 to WebM
# Installation
brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid
# Easy Peasy
ffmpeg -i video.mp4 video.webm
# FFMPEG convert video with multiple audio streams
# https://video.stackexchange.com/questions/12051/ffmpeg-convert-video-with-multiple-audio-streams
ffmpeg -i "The Bunker.avi" -map 0:0 -map 0:1 -map 0:2 -vcodec h264 -acodec:0 mp3 -acodec:1 mp3 TheBunkerNwMix.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment