Introduction to libaom

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.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libaom Dependencies






An Internet connection is needed for some tests of this package.

Installation of libaom

Install libaom by running the following commands:

mkdir aom-build &&
cd    aom-build &&

      -DCMAKE_BUILD_TYPE=Release  \
      -DBUILD_SHARED_LIBS=1       \
      -DENABLE_DOCS=no            \
      -G 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

Command Explanations

-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 incompatibility with the latest version of Doxygen-1.10.0.

-DENABLE_NASM=yes: Use this switch if you have both yasm-1.3.0 and NASM-2.16.01 installed and wish to use nasm instead of yasm.


Installed Programs: None
Installed Libraries:
Installed Directories: /usr/include/aom

Short Descriptions

contains functions that provide a reference implementation of the AV1 codec