The SVT-AV1 package contains an AV1 encoder.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v3.1.2/SVT-AV1-v3.1.2.tar.gz
Download MD5 sum: 77b9d52e8c26bacf8bca742f8448dbc1
Download size: 11 MB
Estimated disk space required: 81 MB
Estimated build time: 0.7 SBU (using parallelism=4)
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 \ -D BUILD_TESTING=ON \ -W no-dev -G Ninja .. && ninja
The test suite is very long and doesn't provide meaningful results.
If you want to test the results anyway, rebuild the package with
-D BUILD_TESTING=ON
, then run
ninja test. It
requires an Internet connection to run.
Now, as the root
user:
ninja install
-D BUILD_SHARED_LIBS=ON
:
This parameter forces building shared versions of the libraries.
-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_TESTING=ON
: This option
enables building the unit tests.