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

相关推荐

  • 网站发现打开是404报错

    现象:今日再使用IIS部署网站发现打开是404报错 分析过程:首先判断web下是否缺失文件,默认文档配置是否正确,PHP模块映射配置是否正确,PHP版本是否有故障。 发现php manager中php版本未能选择,重新选择php版本报错 解决办法:  打开处理程序映射,使php的处理程序为fastcgi,即可修复成功!!!

    2022年12月8日
    1.7K00
  • Linux下安装配置maven仓库

    1、安装wget命令 如果需要通过使用wget命令,直接通过网络下载maven安装包时,需要在linux系统中安装wget命令。 2、下载maven安装包 在/usr/local/下创建一个maven文件: mkdir /usr/local/maven 切换到安装目录,即新建的文件中: 下载安装: 3、解压缩maven 4、配置maven环境变量 添加环境变…

    2022年6月20日
    1.9K00
  • 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
  • 注册域名教程godaddy【海外】

    国内注册需要先完成实名认证,实名认证周期大约3-7个工作日,对于着急上线的业务,部分客户也会选择海外的域名注册上,购买域名。海外的域名注册平台也比较多,今天给大家介绍godaddy注册流程。 前置条件: 1、注册godaddy用户,注册地址:https://www.godaddy.com/en-sg 2、准备一个海外支付方式paypal,并绑定信用卡,pay…

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

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

    2023年3月18日
    1.5K00

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信