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

相关推荐

  • 文件传输工具WinSCP的安装与使用

    安装 首先下载软件,下面是WinSCP的下载网址 Download WinSCP 5.19.4 – free – latest version 下载完成后打开安装并接受许可协议 这里我们可以选择自定义安装,若是完整升级安装类型默认安装位置是C盘,接着下一步 若选择自定义安装则会有选择安装位置的窗口,若选择完整升级类型则为直接安装窗口【…

    2023年1月4日
    1.3K00
  • Linux扩容报错”No space left on device”的解决方法

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

    2022年7月25日
    1.3K00
  • docker安装nessus 计划任务无法添加解决方法

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

    2023年3月18日
    1.4K00
  • 什么是网站备案,为什么要备案?

    什么是网站备案,为什么要备案? 备案工作是由国家工业与信息化部强制要求的,目的是为了规范互联网环境,促进互联网信息服务健康有序发展,防止利用互联网从事非法经营活动,打击不良互联网信息的传播。国务院和工信部先后出台了相关规定,要求凡是在中国大陆境内发布的网站均需完成备案工作。其中对于经营性网站还需完成经营许可。未取得许可或者未履行备案手续的,不得从事互联网信息…

    2022年6月11日
    2.0K00
  • WIN2008 R2服务器事件解决办法:生成以下严重警告: 10。内部错误状态为 1203。

    事件属性——事件 36888,Schannel   生成以下的严重警示:10,内部错误状态为1203 这个讯息是由SSL认证所出现的问题。是由于使用者使用了不支援SSL/TLS的设备所show出的错误讯息,这台Server是一个Web站台并且使用HTTPS来做入口,为了避免之后其他人再误判,选择把这个无关紧要的讯息关闭。   运行“regedit”,到以下路…

    2023年8月17日
    95800

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信