编译ffmpeg --enable-libx265,configure 时出现错误:
ERROR: x265 not found using pkg-config
查看config.log,错误详情如下:
/usr/local/include/x265.h:104:5: error: unknown type n/usr/local/include/x265.hame 'bool'
bool bScenecut;
^
ERROR: x265 not found using pkg-config
查找资料:
http://blog.csdn.net/liuqiqi677/article/details/6703615
解决方法:
在/usr/local/include/x265.h中加上头文件 #include <stdbool.h>
编译通过
最后
以上就是老实糖豆最近收集整理的关于ffmpeg libx265 编译问题的全部内容,更多相关ffmpeg内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复