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  

文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/9660

(0)
郭靖的头像郭靖
上一篇 2023年9月14日 下午8:47
下一篇 2023年9月19日 下午4:48

相关推荐

  • 一文搞懂DNS服务器的解析原理及组成

    1、DNS Domain Name Service,域名服务,作用:为客户机提供域名解析服务器 2、域名组成 2.1、域名组成概述 如”www.sina.com.cn”是一个域名,从严格意义上讲,”sina.com.cn”才被称为域名(全球唯一),而”www”是主机名。“主机…

    2022年6月10日
    1.9K00
  • 常见网络检测命令

    tracert 什么是tracert命令? tracert是一个简单的网络诊断工具,我们可以使用用tracert IP命令确定数据包在网络上的停止位置,来判断在哪个环节上出了问题,虽然还是没有确定是什么问题,但它已经告诉了我们问题所在的地方,方便检测网络中存在的问题,用来显示数据包到达目的主机所经过的路径。 命令格式 tracert [参数] [主机] 常见…

    2022年7月5日
    1.7K00
  • cobbler搭建

    什么是cobbler Cobbler是一个Linux系统安装的服务,可以通过网络启动(PXE)的方式来快速安装、重装物理服务器和虚拟机,同时还可以管理DHCP,DNS等。 Cobbler可以使用命令行方式管理,也提供了基于Web的界面管理工具(cobbler-web),还提供了API接口,可以方便二次开发使用。 Cobbler是较早前的kickstart的升…

    2022年11月26日
    1.2K00
  • Linux扩容报错”No space left on device”的解决方法

    lvextend 不好使,于是我使用了 lvresize,重新调整了 /dev/mapper/ubuntu 的 lv 大小,并刷新了文件系统 刷新文件系统 查看目录占用情况

    2022年7月25日
    1.3K00
  • 域名备案才能解析吗?

    域名备案才能解析吗? 所有在国内服务商注册的域名只要实名认证成功后就能添加域名解析了。这里说的备案主要是指网站备案,如果域名不用于网站或者网站使用的服务器不在内地,则域名不需要备案。如果域名使用的服务器在内地,则必须备案完成后才能使用域名访问网站。 如果是国际域名并且不是在国内服务商注册的话,则不需要实名认证,具体可以看注册域名教程godaddy【海外】。所…

    2022年6月11日
    2.4K00

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

在线咨询: QQ交谈

邮件:712342017@qq.com

工作时间:周一至周五,8:30-17:30,节假日休息

关注微信