Mac下安裝支持rtmp協議的ffmpeg

1. ffmpeg

http://www.ffmpeg.org/

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATEacross Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

2. Mac下安裝ffmpeg

Mac默認是安裝有ffmpeg的, 可以用brew info ffmpeg指令進行查看.
運行以上指令后可看到ffmpeg的參數列表:

brew info ffmpeg運行結果

可以看到默認是沒有安裝rtmpdump的(后邊有個小紅叉).
注意到有個參數:

--with-rtmpdump
Enable RTMP protocol

如果要打算安裝支持rtmp協議的ffmpeg, 可運行如下指令:
sudo brew reinstall ffmpeg --with-rtmpdump

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容