ffmpeg的安装指南地址:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
其中libsvtav1数据库由于提供的是国外的库,下载不到,可以尝试这样处理
访问:Ubuntu – 在 mantic 中的 libsvtav1enc1 软件包详细信息
在这个地址,可以获取待svtav的包。
我是找到这个地址之后,知道svtav的一个工程地址:https://salsa.debian.org/multimedia-team/svt-av1.git, 从这个地址去获取的源码工程进行编译
cd ~/ffmpeg_sources && \ git -C SVT-AV1 pull 2> /dev/null || git clone https://salsa.debian.org/multimedia-team/svt-av1.git && \ cd svt-av1/Build && \ PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DCMAKE_BUILD_TYPE=Release -DBUILD_DEC=OFF -DBUILD_SHARED_LIBS=OFF .. && \ PATH="$HOME/bin:$PATH" make && \ make install