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

相关推荐

  • 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
  • cobbler搭建

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

    2022年11月26日
    1.3K00
  • 常见的域名解析记录类型

    A记录 使用场景 又称IP指向,用户可以在此设置子域名并指向到自己的目标主机地址,从而实现通过域名找到服务器 。 说明 指向的目标主机地址类型只能使用IP地址 设置方法 记录类型:选择 A 主机记录:一般是指子域名的前缀(如需创建子域名为www.dns-example.com, 主机记录输入 www;如需实现dns-example.com…

    2022年8月9日
    1.4K00
  • 什么是网站备案,为什么要备案?

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

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

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

    2022年7月25日
    1.4K00

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信