Install ffmpeg on Mac Book:SOLVED

Warning: This article was published many years ago (greater than two) Aug 13, 2014. Some information may be outdated.

The following is quick and easy method to install ffmpeg

The Minimum Requirements
• An Intel CPU
• OS X 10.5 or higher
• Command Line Tools for Xcode: xcode-select –install,https://developer.apple.com/downloads or Xcode
• A Bourne-compatible shell for installation (e.g. bash or zsh) –> I like the “iTerm” download and install from http://iterm2.com/


1. Install “HomeBrew” Open Terminal and copy paste the following
ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)”

2. Run the following
> brew doctor

# resolve all issue, mostly remove other installation of Macport etc..
# Ignore the PATH Issues.. “Consider setting your PATH so that /usr/local/bin occurs before /usr/bin.”
#Note: For those on Mac OS X, you can use curl -O instead of wget.

> brew update
> brew upgrade
> brew install caskroom/cask/brew-cask
# cask is not required but I like to have it installed
> brew install sdl
> pip install –upgrade setuptools
> pip install –upgrade pip
# Check if FFMPEG is installated
> ffmpeg -version
# Uninstall the ffmpeg if installed
> brew uninstall ffmpeg
Check the option available in the “homebrew” bottle of ffmpeg : ffplay etc has to installed explicit
> brew options ffmpeg
> 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-opus –with-rtmpdump –with-schroedinger –with-speex –with-theora –with-tools

# now that these are installed run the update and upgrade
> brew update
> brew upgrade

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.