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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容