How do I build FFMpeg with non-default libraries when using Homebrew 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
I don't consider this the answer, but I ended up just uninstalling FFMPEG and re-installing using brew install ffmpeg --with-libvpx