How to Install FFmpeg on MacOS?

Installation on MacOS is simple for users with homebrew installed. Homebrew is the package manager – users always wanted but yet to have natively. Think of it as an equivalent to apt-get on linux.  The installation command is as follows:

$ brew install ffmpeg  

As of March 25th, 2020, MacOS + homebrew install has disabled native dependencies support. If additional libraries are required for an FFMPEG build, installing all the extra configurations can be accomplished with this script:

brew uninstall --force --ignore-dependencies ffmpeg
brew install chromaprint amiaopensource/amiaos/decklinksdk
brew tap homebrew-ffmpeg/ffmpeg
brew install ffmpeg
brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg | grep -vE '\s' | grep -- '--with-' | grep -vi chromaprint | tr '\n' ' ')

Luckily, thanks to a discussion on github the current work around is the best we have.

Source discussion: https://gist.github.com/Piasy/b5dfd5c048eb69d1b91719988c0325d8

Love FFmpeg? Grab a copy of FFmpeg For Beginners on Kindle or Paperback to learn over 120 ways to master FFmpeg!

buy now on amazon