我是靠谱客的博主 老实糖豆,这篇文章主要介绍ffmpeg libx265 编译问题,现在分享给大家,希望可以做个参考。

编译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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(97)

评论列表共有 0 条评论

立即
投稿
返回
顶部