debian12和manjaro安装ffmpeg教程

1.安装openssl
下载地址

tar -zxvf openssl-fips-2.0.2.tar.gz
cd openssl-fips-2.0.2
./config
sudo make
sudo make install

2.安装yasm
下载地址

tar -xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0/
./configure
make
make install

3.缺少pkg-config
Linux上,到pkg-config官网https://www.freedesktop.org/wiki/Software/pkg-config/,下载最新安装包
下载地址
命令wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz,下载完成后解压

./configure 
make
make check
sudo make install
如果第一步遇到如下错误:
configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.
只需要:
./configure --with-internal-glib

4.ffmpeg安装

cd ffmpeg
./configure --prefix=/usr/local/ffmpeg --enable-debug=3 --disable-static --enable-shared
  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值