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

相关推荐

  • 常见网络检测命令

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

    2022年7月5日
    1.7K00
  • IIS部署服务中.ttf或.woff文件获取不到问题

    问题现象: 有些字体与字符不能被IIS读取,显示乱码 解决方案如下: 1、打开IIS服务配置,找到MIME类型配置,双击进入配置 2、右侧进行添加操作 3、添加配置: .ttf application/octet-stream .woff font/x-woff .woff2 application/x-font-woff 这样ttf woff格式字体就能够…

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

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

    2023年3月18日
    1.5K00
  • laravel新建应用报错:The Process class relies on proc_open, which is not

    1、问题描述 2、原因 proc_open实际上是一个函数,是PHP用来和shell交互的函数,一般如果让PHP可以直接操作系统的函数的话,是非常不安全的。所以,在PHP配置文件上有对这些不安全的函数作出保护,如果有需要的时候,可以根据开发需求作出修改配置 3、解决方法 打开php.ini,并搜索disable_functions指令,找到类似如下内容: 找…

    2023年2月14日
    1.4K00
  • 域名备案需要哪些材料?

    一、个人备案 1.身份证正反彩色扫描件 2.核验单 (打印出来手写好并扫描成电子档,不要写日期) 3.接入商背景幕布照片 4.备案信息表(word文档) 5.域名证书 6.个人备案网站内容承诺书 7.现居住地址与身份证所有地不是同一个省份的,还需要提供暂住证或者居住证。 二、企业备案 1.企业营业执照彩色电子件(或组织机构代码、法人证书等等扫描件) 2.企业…

    2022年6月11日
    2.2K00

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信