ffmpeg 为什么不支持h265
发布网友
发布时间:2022-04-22 05:28
我来回答
共1个回答
热心网友
时间:2023-11-09 16:34
最新版本的ffmpeg 支持 libh265,但是还是初级测试阶段
在linux 上安装ffmpeg 支持h265编码器按照以下步骤:
Anyhow here are the simple steps:
1. Make sure you have a current build of ffmpeg checked out of git along with any other libs you are using e.g. libx264
2. Download the libx265 repository and build as per the instructions here: https://bitbucket.org/multicoreware/x265/wiki/Home (note I assume no one still uses Windows for dev!)
hg clone https://bitbucket.org/multicoreware/x265
cd x265/build/linux
./make-Makefiles.bash
make
make install
3. On your ffmpeg configure it with –enable-libx265 (it is disabled by default). Sample from my configure below
./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libvidstab --enable-libx265
make
make install