ffmpeg -i A.mkv -acodec flac -compression_level 8 -ac 2 -vcodec libsvtav1 B.mkv
Install (Kubuntu 23.04):
--------------------------
Can now just easily install by:
*Debian/Ubuntu/Mint
sudo apt install svt-av1 ffmpeg
*Arch/CachyOS:
sudo pacman -S svt-av1 ffmpeg
To build:
-----------------------
First you have to build SVT-AV1, then you rebuild ffmpeg to include it.
Build SVT-AV1:
git clone https://gitlab.com/AOMediaCodec/SVT-AV1.git
cd SVT*
ls
cmake .
make -j"$(nproc)"
sudo make install
Then clone and cd into ffmpeg git.
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-libsvtav1 --enable-gpl --enable-libx265 --disable-vdpau
(You can also add other configure pramaters from other parts of my website).
make -j"$(nproc)"
sudo make install
*There will be a glitch where it cant find a so.1 file when running, use this two step process to fix:
ln -s /usr/local/lib/libSvtAv1Enc.so.1 /usr/lib64/libSvtAv1Enc.so.1
sudo nano /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/lib
/usr/local/lib
use Ctrl + X to save
sudo ldconfig
© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.