ffmpeg

Legg til packman repo som beskrevet her:
https://en.opensuse.org/Additional_package_repositories

zypper ar -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/' packman

Oppdater eksisterende systempakker (anbefalt):

zypper dup --from packman --allow-vendor-change

Installer alle pakker som trengs:

zypper install yasm pkgconfig zlib-devel libopenssl-devel libopus-devel libvpx-devel libx264-devel libx265-devel libmp3lame-devel libvorbis-devel libfdk-aac-devel libfreetype6-devel libass-devel harfbuzz-devel SVT-AV1-devel libaom-devel

Clone, compile og installer ffmpeg:

git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure \
  --prefix=/usr/local \
  --extra-libs=-lpthread \
  --extra-libs=-lm \
  --enable-gpl \
  --enable-libfdk-aac \
  --enable-libfreetype \
  --enable-libharfbuzz \
  --enable-libmp3lame \
  --enable-libsvtav1 \
  --enable-libopus \
  --enable-libvorbis \
  --enable-libvpx \
  --enable-libaom \
  --enable-libass \
  --enable-libx264 \
  --enable-libx265 \
  --enable-nonfree
make -j$(nproc)
make install

Andre nyttige linker:
https://ffmpeg.org/ffmpeg-codecs.html
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos