This tutorial assumes a few things, 1. You’re operating system is OSx Mountain Lion 2. You have the latest Homebrew installed (if not, go here fist) 3. You have the latest Xcode installed (4.5 at time of writing, may work with other versions).
Ok, now that’s out of the way, let’s get started. First, unlink any old versions of FFmpeg
brew unlink ffmpeg, then install using an updated formula:
brew install 'https://raw.github.com/gist/3801348/80800cdd8f49d88b882fea33e9fbf573375d02cb/ffmpeg.rb'. Wait several minutes…then, if all goes well
ffmpeg -version. You should see
ffmpeg version 1.0.
The long url is a Github gist with two tiny updates to the current homebrew ffmpeg install script (url and sha1). I’ll put a pull request in to the homebrew guys soon.