Installing ffmpeg on Mac OS X Snow Leopard, Lion, Mountain Lion, Mavericks, Yosemite and El Captain Using Homebrew

The simplest way to install ffmpeg on Mac OS X is with Homebrew, if you don’t have homebrew installed on your mac, install it by running this command on your terminal

Install homebrew

Install homebrew on your mac by running the following command on your Terminal.

$ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install ffmpeg

Once you have Homebrew installed install ffmpeg from the Terminal with the following command:

$ brew install ffmpeg

You’re done!