FFmpeg x265安装

FFmpeg x265安装

下载并安装x265

下载地址:
https://bitbucket.org/multicoreware/x265/downloads/
https://www.videolan.org/developers/x265.html

[root@binair zyl-tool]# cd x265_3.0/build/linux
[root@binair linux]# make -j20
[root@binair linux]# make install
[ 66%] Built target common
[ 88%] Built target encoder
[ 88%] Built target x265-shared
[100%] Built target cli
[100%] Built target x265-static
Install the project…
– Install configuration: “Release”
– Installing: /usr/local/lib/libx265.a
– Installing: /usr/local/include/x265.h
– Installing: /usr/local/include/x265_config.h
– Installing: /usr/local/lib/libx265.so.169
– Installing: /usr/local/lib/libx265.so
– Installing: /usr/local/lib/pkgconfig/x265.pc
– Installing: /usr/local/bin/x265
– Removed runtime path from “/usr/local/bin/x265”
[root@binair linux]# ldconfig

观察到x265的pkg目录在/usr/local/lib/pkgconfig/
库目录在/usr/local/lib

配置x265 ffmpeg

[root@binair ffmpeg-4.2.2]# PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/" --prefix=/home/binair/zyl/ffmpeg-project/linux-ff/ffmpeg-4.2.2/build --disable-static --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libx265 --extra-ldflags="-L/usr/local/lib/"
[root@binair ffmpeg-4.2.2]# make;make install

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值