Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rashkur/04a4b52432995674d2d802eab39fc98a to your computer and use it in GitHub Desktop.
Save rashkur/04a4b52432995674d2d802eab39fc98a to your computer and use it in GitHub Desktop.
# 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
# install it like this:
brew install https://gist.githubusercontent.com/rashkur/cfcc377bd378fb709dff949fcf5bb889/raw/3333ea8f44cee6ed54a1a134dab99599dc32b6ae/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' ' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment