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 dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://storage.googleapis.com/aom-releases/libaom-3.6.1.tar.gz
Download MD5 sum: e5b1843484eb9873666b878e03d8160b
Download size: 5.0 MB
Estimated disk space required: 103 MB (add 969 MB for tests)
Estimated build time: 0.5 SBU (with parallelism=4, add 136 SBU for tests)
yasm-1.3.0 (or NASM-2.16.01, pass
the -DENABLE_NASM=yes
option to
cmake if you want to
use it instead of yasm)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libaom
Install libaom by running the following commands:
mkdir aom-build && cd aom-build && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=1 \ -DENABLE_DOCS=no \ -G Ninja .. && ninja
To test the results, issue: ninja runtests. Note that the tests take an extremely long time to run.
Now, as the root
user:
ninja install && rm -v /usr/lib/libaom.a
-DBUILD_SHARED_LIBS=1
: This
switch builds shared versions of the libraries.
-DENABLE_DOCS=no
: This
switch disables building the documentation because it fails due to
an incompatibilty with the latest version of Doxygen-1.9.6.
-DENABLE_NASM=yes
: Use this switch if
you have NASM-2.16.01 installed and wish to use it
instead of yasm.