Skip to content

Instantly share code, notes, and snippets.

@128keaton
Forked from Piasy/install_ffmpeg.sh
Last active November 17, 2021 06:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 128keaton/27c9d477a5480a390bd987fccb09ef19 to your computer and use it in GitHub Desktop.
Save 128keaton/27c9d477a5480a390bd987fccb09ef19 to your computer and use it in GitHub Desktop.
Install ffmpeg on macOS via homebrew with all the options (minus chromaprint and decklink), updated for latest Homebrew version
#!/bin/bash
brew uninstall --force --ignore-dependencies ffmpeg
brew install chromaprint amiaopensource/amiaos/decklinksdk
brew tap homebrew-ffmpeg/ffmpeg
brew install ffmpeg
brew install --cask xquartz
brew upgrade homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg | grep -vE '\s' | grep -- '--with-' | grep -vi 'chromaprint\|decklink' | tr '\n' ' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment