Introduction to libtheora

libtheora is a reference implementation of the Theora video compression format being developed by the Xiph.Org Foundation.

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

This package is known to build properly using the gcc-6 compiler.

Package Information

libtheora Dependencies





SDL-1.2.15 and libpng-1.6.24 (both to build the example players), Doxygen-1.8.11, texlive-20160523b (or install-tl-unx), BibTex, and Transfig (all four to build the API documentation), and Valgrind-3.11.0

User Notes:

Installation of libtheora

Install libtheora by running the following commands:

sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
./configure --prefix=/usr --disable-static &&

If you wish to run the tests, issue: make check.

Now, as the root user:

make install

If you wish to install the examples (so that you can hack on theora), install them as the root user:

cd examples/.libs &&
for E in *; do
  install -v -m755 $E /usr/bin/theora_${E}

Command Explanations

sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c: This sed fixes build with libpng 1.6.

--disable-static: This switch prevents installation of static versions of the libraries.


Installed Programs: None, unless you installed the examples
Installed Libraries:,, and
Installed Directories: /usr/include/theora and /usr/share/doc/libtheora-1.1.1

Short Descriptions


libraries provide the functions to read and write video files.

Last updated on 2016-05-07 15:01:40 -0500