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

相关推荐

  • 域名备案号查询地址【工信部】

    权威备案号查询地址 工信部域名备案号查询网站https://beian.miit.gov.cn/ 1.打开工信部备案管理系统网站,也就是上面的链接。 2.在首页“ICP备案查询”搜索框中输入所需查询的域名,注意!!!输入二级域名,比如cnaaa.cn,若已备案成功,则会显示信息一下信息,也可以使用单位名称或者备案号查询。推荐使用备案/许可证号进行查询,可查询…

    2022年6月11日
    2.0K00
  • docker安装nessus 计划任务无法添加解决方法

    通过docker一键安装了Nessus,可是在添加计划任务的时候,TimeZone为空,导致无法创建。 因为是通过容器安装的,所以考虑是容器内时间同步相关的问题,或者是软件配置问题。 后经过搜索ChatGPT,提示可以安装tzdata时区数据包来解决。 首先进入容器 此时发现镜像封装的时候,很多文件没有,根据提示逐个创建。 apt install -y tz…

    2023年3月18日
    1.6K00
  • 一文搞懂DNS服务器的解析原理及组成

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

    2022年6月10日
    2.0K00
  • 注册域名教程【国内】

    在网络上,域名是一种相对有限的资源,它的价值将随着注册企业的增多而逐步为人们所重视。那么怎么注册域名呢?注册域名需要到正规域名服务提供商购买域名。域名购买多是网上支付。下面就来介绍一下怎么注册域名的具体操作。 1、怎么注册域名 步骤1、找一家域名注册服务商,【国内】阿里云、新网、中国数据等,百度一下域名注册,出来一大堆,撇开做广告拉生意的嫌疑。自己可以对比看…

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

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

    2022年7月25日
    1.5K00

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信