Skip to content

Instantly share code, notes, and snippets.

@Debdut
Last active June 12, 2024 19:09
Show Gist options
  • Save Debdut/27a9b62a8f68534d39ae0c5d38591331 to your computer and use it in GitHub Desktop.
Save Debdut/27a9b62a8f68534d39ae0c5d38591331 to your computer and use it in GitHub Desktop.
FFMPEG brew all options without errors

Possible Errors

  • ERROR: DeckLinkAPI.h not found
  • ERROR: chromaprint not found
  • FormulaUnavailableError: No available formula with the name "zvbi"

Solution

brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --with-game-music-emu --with-jack --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-libopenmpt --with-librist --with-librsvg --with-libsoxr --with-libssh --with-libvidstab --with-libvmaf --with-libxml2 --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-openssl@1.1 --with-rav1e --with-rtmpdump --with-rubberband --with-speex --with-srt --with-svt-av1 --with-tesseract --with-two-lame --with-webp --with-xvid --with-zeromq --with-zimg
@ohjho
Copy link

ohjho commented Jun 12, 2024

running on a MBP 2023 with Apple M2 Max chip here and found this solution works, but this also:

brew install chromaprint amiaopensource/amiaos/decklinksdk

# chromaprint depends on ffmpeg
brew uninstall --force --ignore-dependencies ffmpeg 

brew tap homebrew-ffmpeg/ffmpeg

# basically remove those packages you mentioned above with the exception of chromaprint
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg | grep -vE '\s' | grep -- '--with-' | grep -vi libzvbi | grep -vi libflite | grep -vi openvino | tr '\n' ' ')

you of course can remove chromaprint too by adding grep -vi chromaprint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment