The libaom package contains a reference version of the Alliance for Open Media video codec. This codec is a patent free alternative to H.265, and is starting to be used throughout the internet.
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://storage.googleapis.com/aom-releases/libaom-3.15.2.tar.gz
Download MD5 sum: eb1ba27ea354984f48f6e09918b35cc2
Download size: 6.4 MB
Estimated disk space required: 140 MB (add 1.4 GB for tests)
Estimated build time: 0.8 SBU (with parallelism=4; add 151 SBU for tests)
yasm-1.3.0 (or NASM-3.02)
An Internet connection is needed for some tests of this package. The system certificate store may need to be set up with make-ca-1.16.1 before testing this package.
Prevent installing static versions of the libraries:
sed -i 's/aom aom_static/aom/' cmake/aom_install.cmake
Install libaom by running the following commands:
mkdir aom-build &&
cd aom-build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=1 \
-D ENABLE_DOCS=no \
-G Ninja .. &&
ninja
To test the results, issue: ninja runtests. Note that the tests download many data files from the Internet and take an extremely long time to run.
Now, as the root user:
ninja install
-D BUILD_SHARED_LIBS=1:
This switch builds shared versions of the libraries.
-D ENABLE_DOCS=no: This
switch disables building the documentation because it fails due to
an incompatibility with the latest version of Doxygen-1.18.0.
-D ENABLE_NASM=yes: Use this switch if
you have both yasm-1.3.0 and NASM-3.02 installed
and wish to use nasm instead of yasm.