Last active
October 30, 2020 01:01
-
-
Save varenc/3bf730ad968b7a44d5dca168d3031001 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Homebrew has done away with options in all of their core formulas | |
# discussion on this change here: https://github.com/Homebrew/homebrew-core/issues/31510 | |
# Instead, Use the last version of the homebrew forumla that still supported them. | |
# the formula is here: https://raw.githubusercontent.com/Homebrew/homebrew-core/90e6931235a333899bd2572353ca065bd5535452/Formula/ffmpeg.rb | |
# install it like this: | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/90e6931235a333899bd2572353ca065bd5535452/Formula/ffmpeg.rb \ | |
--with-aom \ | |
--with-chromaprint \ | |
--with-fdk-aac \ | |
--with-fontconfig \ | |
--with-freetype \ | |
--with-frei0r \ | |
--with-game-music-emu \ | |
--with-libass \ | |
--with-libbluray \ | |
--with-libbs2b \ | |
--with-libcaca \ | |
--with-libgsm \ | |
--with-libmodplug \ | |
--with-librsvg \ | |
--with-libsoxr \ | |
--with-libssh \ | |
--with-libvidstab \ | |
--with-libvmaf \ | |
--with-opencore-amr \ | |
--with-openh264 \ | |
--with-openjpeg \ | |
--with-openssl \ | |
--with-rtmpdump \ | |
--with-rubberband \ | |
--with-speex \ | |
--with-srt \ | |
--with-tesseract \ | |
--with-two-lame \ | |
--with-wavpack \ | |
--with-webp \ | |
--with-zeromq \ | |
--with-zimg | |
### list all options available | |
run `brew options https://raw.githubusercontent.com/Homebrew/homebrew-core/90e6931235a333899bd2572353ca065bd5535452/Formula/ffmpeg.rb` to see all options | |
### install with all options available | |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/90e6931235a333899bd2572353ca065bd5535452/Formula/ffmpeg.rb $(brew options https://raw.githubusercontent.com/Homebrew/homebrew-core/90e6931235a333899bd2572353ca065bd5535452/Formula/ffmpeg.rb | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ') | |
Error: Calling Installation of ffmpeg from a GitHub commit URL is disabled! Use 'brew extract ffmpeg' to stable tap on GitHub instead.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up just creating a 3rd party tap with better instructions: https://github.com/varenc/homebrew-ffmpeg-with-options