Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
brew install ffmpeg with all options
brew options ffmpeg
brew install ffmpeg \
--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-libsoxr \
--with-libssh \
--with-libvidstab \
--with-libvorbis \
--with-libvpx \
--with-opencore-amr \
--with-openh264 \
--with-openjpeg \
--with-openssl \
--with-opus \
--with-rtmpdump \
--with-rubberband \
--with-sdl2 \
--with-snappy \
--with-speex \
--with-tesseract \
--with-theora \
--with-tools \
--with-two-lame \
--with-wavpack \
--with-webp \
--with-x265 \
--with-xz \
--with-zeromq \
--with-zimg
@Valehero

This comment has been minimized.

Copy link

Valehero commented Mar 2, 2018

ffmpeg 3.4.2 have option:
--with-librsvg \

@SamuelMarks

This comment has been minimized.

Copy link

SamuelMarks commented Mar 4, 2018

$ brew options ffmpeg | grep -vE "\s" | tr '\n' ' '
--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-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg \
--with-openssl --with-opus --with-rtmpdump --with-rubberband --with-sdl2 --with-snappy --with-speex --with-tesseract \
--with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg \
--without-gpl  --without-lame --without-qtkit --without-securetransport --without-x264 --without-xvid --HEAD
@megadr01d

This comment has been minimized.

Copy link

megadr01d commented Apr 17, 2018

@SamuelMarks You're also grepping the --without options.

@m31271n

This comment has been minimized.

Copy link

m31271n commented Apr 27, 2018

Make it faster.

$ brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')
@hastryn

This comment has been minimized.

Copy link

hastryn commented Jun 6, 2018

Minor hijacking: Is there still no option for Homebrewed ffmpeg to use osx CoreAudio? Google linked to this thread. Thanks.

@bobvanluijt

This comment has been minimized.

Copy link

bobvanluijt commented Jan 12, 2019

@varenc

This comment has been minimized.

Copy link

varenc commented Jan 28, 2019

All the brew install options for ffmpeg are now gone...☹️ The homebrew team is removing all options from core formulas. (looong discussion on that here)

Does anyone know of a semi-maintain alternative tap for ffmpeg? For now, I'm just using the last version of the formula that still had options (online here) but will eventually want to upgrade ffmpeg. If no one knows of any I might try to take this on and keep it updated. Won't have to worry about bottles since the target audience will be compiling with their chosen options anyway.

@justinmayer

This comment has been minimized.

Copy link

justinmayer commented Feb 5, 2019

I need the FFmpeg options that were removed from Homebrew, so I took it upon myself to publish a tap. 🚀

Perhaps with the assistance of the community (this means you!), we can improve the formula and keep it reasonably well-maintained as new versions of FFmpeg are released.

@Mr-Mondragon

This comment has been minimized.

Copy link

Mr-Mondragon commented Feb 10, 2019

I need the FFmpeg options that were removed from Homebrew, so I took it upon myself to publish a tap. 🚀

Perhaps with the assistance of the community (this means you!), we can improve the formula and keep it reasonably well-maintained as new versions of FFmpeg are released.

Awesome work Justin 👍 I'd love to assist, but am rather new to this (not to developing and using ffmpeg, but to the technicalities of Homebrew). What can we "the people" do to contribute and help keeping your tap up to date?

@kpennell

This comment has been minimized.

Copy link

kpennell commented Feb 26, 2019

@cancerberoSgx

This comment has been minimized.

Copy link

cancerberoSgx commented Aug 6, 2019

thanks! didn't knew brew can be used as ./configure! nice!

@antoni

This comment has been minimized.

Copy link

antoni commented Sep 7, 2019

Options are no longer available for FFmpeg in the default tap.

This is what you can use to install FFmpeg with all options from a 3rd party tap:

FFMPEG_TAP_NAME=homebrew-ffmpeg/ffmpeg
brew tap $FFMPEG_TAP_NAME
brew install $FFMPEG_TAP_NAME/ffmpeg $(brew options $FFMPEG_TAP_NAME/ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')

Note that this installs FFmpeg with all options, so you will need to install DeckLink SDK as well (or exclude that option):
brew install amiaopensource/amiaos/decklinksdk

@burakduganci

This comment has been minimized.

Copy link

burakduganci commented Nov 13, 2019

Make it faster.

$ brew install ffmpeg $(brew options ffmpeg | grep -vE '\s' | grep -- '--with-' | tr '\n' ' ')

thanks bro

@Kezzsim

This comment has been minimized.

Copy link

Kezzsim commented Nov 15, 2019

@antoni Chromaprint is a recursive dependency that pulls in another ffmpeg from the core tap

Not sure how to proceed

@antoni

This comment has been minimized.

Copy link

antoni commented Nov 19, 2019

@Kezzsim I've simply added grep -v 'chromaprint' and then installed chromaprint separately.

@Qix-

This comment has been minimized.

Copy link

Qix- commented Jan 25, 2020

The homebrew team is removing all options from core formulas.

By "team" you mean Mike McQuaid, who has a track record of being a jerk. Doesn't surprise me he made a unilateral decision to make Homebrew even worse than it is.

To combine the last few comments:

# Uninstall ffmpeg if you haven't already
brew uninstall ffmpeg

# Re-install with all options sans chromaprint
brew install chromaprint amiaopensource/amiaos/decklinksdk
brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg $(brew options homebrew-ffmpeg/ffmpeg/ffmpeg | grep -vE '\s' | grep -- '--with-' | grep -vi chromaprint | tr '\n' ' ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.