Mac下安裝支持rtmp協(xié)議的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默認(rèn)是安裝有ffmpeg的, 可以用brew info ffmpeg指令進(jìn)行查看.
運(yùn)行以上指令后可看到ffmpeg的參數(shù)列表:

brew info ffmpeg運(yùn)行結(jié)果

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

--with-rtmpdump
Enable RTMP protocol

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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

推薦閱讀更多精彩內(nèi)容