SVT-AV1-4.0.1

Introduction to SVT-AV1

The SVT-AV1 package contains an AV1 encoder.

Note

This may take a while to build. Feel free to do something else while this is building.

SVT-AV1 Dependencies

Required
CMake-4.2.3

Recommended
NASM-3.01

Installation of SVT-AV1

Install SVT-AV1 by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_BUILD_TYPE=Release    \
      -D CMAKE_SKIP_INSTALL_RPATH=ON \
      -D BUILD_SHARED_LIBS=ON        \
      -G Ninja .. &&

ninja

Now, as the root user:

ninja install

lib32 Installation of SVT-AV1

Install lib32-SVT-AV1 by running the following commands:

rm -rf * &&
CC="gcc -m32" CXX="g++ -m32"         \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
cmake -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_INSTALL_LIBDIR=lib32  \
      -D CMAKE_BUILD_TYPE=Release    \
      -D CMAKE_SKIP_INSTALL_RPATH=ON \
      -D BUILD_SHARED_LIBS=ON        \
      -G Ninja .. &&

ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

Note

For a full list of options and values, make sure you are in a build directory, then run cmake -LAH ...

-D CMAKE_SKIP_INSTALL_RPATH=ON: This switch makes cmake remove hardcoded library search paths (rpath) when installing a binary executable file or a shared library. This package does not need rpath once it's installed into the standard location, and rpath may sometimes cause unwanted effects or even security issues.

-D BUILD_SHARED_LIBS=ON: This switch builds shared versions of the libraries.

Contents

Installed Programs: SvtAv1EncApp
Installed Libraries: libSvtAv1Enc
Installed Directories: /usr/include/svt-av1

Short Descriptions

SvtAv1EncApp

is the SVT-AV1 encoder utility

libSvtAv1Enc

contains functions that enable encoding AV1