您的位置:首页 > 其它

FFmpeg使用遇到问题记录

2017-10-16 16:31 405 查看
2016年1月份记录,一直保存为发布,现在更新发布下。。。

1.编译FFmpeg

 a.使用编译脚本 https://github.com/kewlbear/FFmpeg-iOS-build-script 看了不少,最后发现这个编译FFmpeg 2.8.5 效果最好,

  参考blog:http://blog.csdn.net/baitxaps/article/details/45459201 http://www.cnblogs.com/weixhe/p/4218812.html        http://blog.csdn.net/wildfireli/article/details/28876837
 b.编译中遇到问题:

  ① cp -i gas-preprocessor.pl /usr/Sbin/gas-preprocessor.pl Operation not permitted,切换root用户同样不行,mac os 10.11 下会出现,原因 Mac OS X 10.11 EI Capitan用户, 系统启动SIP(System Integrity Protection),导致Root用户也没权限修改/usr/下目录,需要在recovery模式下(重启按住Command+R),选择Utilities下Terminal,使用csrutil disable 命令停用。

②GNU assembler not found, install gas-preprocessor copy -i gas-preprocessor.pl /usr/bin/gas-preprocessor.pl chmod 777 /usr/bin/gas-preprocessor.pl

  ③yasm 直接找了个网上编译好的 http://www.mingjianhua.com/post/yasm-1.2.0formac.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: