更新 build_ffmpeg.md

This commit is contained in:
LiXiaoqi 2024-10-22 09:46:46 +08:00
parent 67bc5149d1
commit 82a5a9a087

View File

@ -57,7 +57,7 @@ sudo make install
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-lzma --enable-zlib --enable-gmp
--enable-libvorbis --enable-libvo-amrwbenc --enable-libspeex --enable-libxvid
--enable-libaom --enable-libopenmpt --enable-libfdk-aac
--enable-nonfree --enable-nvdec --enable-cuda --enable-cuvid --prefix=/usr/local
--enable-nonfree --enable-nvdec --enable-cuda --enable-cuvid
# 其中 --enable-gpl --enable-libx264 --enable-libx265 --enable-sdl2 必不可少
# 由于需要硬件英伟达显卡加速编解码 -enable-nvdec --enable-cuda --enable-cuvid
# 其他的要是编译不过,就把他删除掉