This article discusses the many ways to add ffmpeg to your system. It also provides links to solutions around the web.
sudo apt-get install ffmpeg
You can download trusted static builds.
NOTE: You may want more stable, static builds in production environments. Changes within a package manager may have unexpected effects outside that package manager.
You can use package managers.
brew install ffmpeg
sudo port install ffmpeg