linux shell

关注公众号 jb51net

关闭
首页 > 脚本专栏 > linux shell > ubuntu编译pyav报错

ubuntu编译pyav报错libx264 not found解决示例

作者:ponponon

这篇文章主要为大家介绍了ubuntu编译pyav报错libx264 not found解决示例详解,有需要的朋友可以借鉴参考下,希望能够有所帮助,祝大家多多进步,早日升职加薪

编译

./configure
ERROR: libx264 not found
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.

解决办法

sudo apt-get install -y libx264-dev

报错

./configure
ERROR: libxml-2.0 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.

解决办法

apt-get install -y libxml2 libxml2-dev

以上就是ubuntu编译pyav报错libx264 not found解决示例的详细内容,更多关于ubuntu编译pyav报错的资料请关注脚本之家其它相关文章!

您可能感兴趣的文章:
阅读全文