Compiling FFMPEG without LIB-RTMP

Compiling FFMPEG without LIB-RTMP

Tags
RTMPProduction

I’ve been using FFMPEG to receive and re-encode SRT video streams and convert them to the RTMP protocol so that they can be transmitted to the cloud... unfortunately FFMPEG is compiled with LIB-RTMP which causes disconnects and a frame error every couple of minutes. See the full thread on this issue on the FFMPEG ticker tracker: https://trac.ffmpeg.org/ticket/7547

To bypass this issue you can build FFMPEG from source using a modified brew recipe to disable LIB-RTMP which fixes the issue.

Homebrew Custom FFMPEG Formula

Download this homebrew recipe:

Uninstall ffmpeg using brew uninstall --ignore-dependencies ffmpeg

Cleanup brew brew cleanup

Install using brew install --build-from-source ~/Downloads/ffmpeg.rb