The SVT-AV1 package contains an AV1 encoder.
Les versions de développement de BLFS peuvent ne pas arriver à contruire ou à exécuter certains paquets correctement si LFS ou des dépendances ont été mises à jour depuis la dernière version stable des livres.
Téléchargement (HTTP) : https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v3.1.2/SVT-AV1-v3.1.2.tar.gz
Somme de contrôle MD5 du téléchargement : 77b9d52e8c26bacf8bca742f8448dbc1
Taille du téléchargement : 11 Mo
Estimation de l'espace disque requis : 81 Mo (plus 647 Mo pour les tests)
Estimation du temps de construction : 0.7 SBU (using parallelism=4; add 40.9 SBU for tests)
Il est nécessaire d'être connecté à internet pour certains tests de ce paquet
Installez SVT-AV1 en exécutant les commandes suivantes :
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 \ -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, issue:
cmake .. -D BUILD_TESTING=ON && ninja && ninja TestVectors && SVT_AV1_TEST_VECTOR_PATH=$PWD/../test/vectors \ ctest -V -O testlog.txt --timeout 10800
On a relatively slow system it's needed to increase the timeout
(see the SBU value for tests on top of the page). In the
SvtAv1ApiTests test, 12 run_paramter_check
subtests are known to fail. The
test harness will download a copy of libaom (even if libaom-3.13.1
is already installed the test harness is still incapable to use the
system installation) and some videos as test inputs.
Maintenant, en tant qu'utilisateur root
:
ninja install
-D BUILD_SHARED_LIBS=ON
:
This parameter forces building shared versions of the libraries.
-D
CMAKE_SKIP_INSTALL_RPATH=ON
: ce paramètre fait
supprimer les chemins de recherche des bibliothèques (rpath) codés
en dur par cmake lors
de l'installation d'un fichier exécutable binaire ou d'une
bibliothèque partagée. Ce paquet n'a pas besoin des rpath une fois
installé à l'emplacement standard et les rpath peuvent parfois
avoir des effets indésirables, voire introduire des problèmes de
sécurité.
-D BUILD_TESTING=ON
: This option
enables building the unit tests.