Build and use AV1 on ffmpeg: ============================== I use Intel + Netflix created SVT-AV1. There is an older libaom codec that I don't use. To use: -------- 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: sudo apt install 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: 1. ln -s /usr/local/lib/libSvtAv1Enc.so.1 /usr/lib64/libSvtAv1Enc.so.1 2. sudo nano /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib /usr/local/lib use Ctrl + X to save sudo ldconfig It should work now. ------------------------------------------------------------------------ Sources: https://trac.ffmpeg.org/wiki/Encode/AV1 https://stackoverflow.com/questions/17504888/ffmpeg-error-while-loading-shared-libraries-libmp3lame-so-0-cannot-open-share https://gitlab.com/AOMediaCodec/SVT-AV1/-/tree/master https://tecadmin.net/ffmpeg-error-loading-shared-libraries-libavdevice-55-open-shared-object-file-file-directory/ Date: June 6th 2022 ~ August 26th 2023