Homebrew – How to Build FFMpeg with Non-Default Libraries Using Homebrew

homebrewpackage-management

I am trying to build FFMpeg with libvpx so that I can encode a WebM video. How can I re-build FFMpeg with libvpx using Homebrew?

I tried encoding a video with FFMPEG and libvpx installed separately I get the error Encoder (codec vp8) not found for output stream #0:0

Best Answer

I don't consider this the answer, but I ended up just uninstalling FFMPEG and re-installing using brew install ffmpeg --with-libvpx