在Mac下调试FFmpeg,首先需要安装编译器gcc,在安装xcode之后必须进行设置然后才会安装command line tools。
具体路径为:Xcode –> Preferences –> Downloads 的Components下,选择安装Command Line Tools 即可。

编译命令如下:
./configure --cc=gcc --disable-ffserver --enable-ffplay --disable-encoders --disable-yasm
运行后出现config.h和Makefile,然后
make
只要几分钟就编译完成了。
5084

被折叠的 条评论
为什么被折叠?



