libaom-3.9.1

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.

Package Information

libaom Dependencies

Recommended

[Note]

Note

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 &&

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 take an extremely long time to run.

Now, as the root user:

ninja install &&
rm -v /usr/lib/libaom.a

lib32 Installation of libaom

First clean the build directory:

rm -rf *

Install lib32-libaom by running the following commands:

cmake -D CMAKE_INSTALL_PREFIX=/usr  \
      -D CMAKE_INSTALL_LIBDIR=lib32 \
      -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 take an extremely long time to run.

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -vR DESTDIR/usr/lib32/* /usr/lib32 &&
rm -v /usr/lib32/libaom.a             &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

-D BUILD_SHARED_LIBS=1: This switch builds shared versions of the libraries.

-D ENABLE_DOCS=no: This switch disables building the documentation because doxygen is not installed.

Contents

Installed Programs: None
Installed Libraries: libaom.so
Installed Directories: /usr/include/aom

Short Descriptions

libaom.so

contains functions that provide a reference implementation of the AV1 codec