请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答

1回答

你的参数输入有误,是 --cc=clang 不是 --c=clang. 可以用下面的命令: 

--prefix=/usr/local/ffmpeg --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-filter=delogo --enable-debug --disable-optimizations --enable-libspeex --enable-videotoolbox --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --cc=clang --host-cflags= --host-ldflags=

在执行过程中有可能会出现 fdk-aac 等库没有的错误。此时,你应该使用 brew 命令去安装相应的库。可以先使用 brew search fdk-aac 找具体的库的名子,然后用brew install 库名子 来安装具体的库。希望可以解决你的问题。谢谢!

0 回复 有任何疑惑可以回复我~
  • 提问者 伟大的五年 #1
    ERROR: speex not found using pkg-config
    
    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "ffbuild/config.log" produced by configure as this will help
    solve the problem.
    
    
    老师fdk-aac包下载之后继续编译 报这个错误
    回复 有任何疑惑可以回复我~ 2018-09-21 14:09:14
  • 李超 回复 提问者 伟大的五年 #2
    同样的道理,像安装fdk-aac一样,你需要将 libspeex也安装上。命令是相同的, brew install speex
    回复 有任何疑惑可以回复我~ 2018-09-24 04:04:40
  • 提问者 伟大的五年 #3
    非常感谢!
    回复 有任何疑惑可以回复我~ 2018-09-24 23:58:52
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号