libtheora-1.1.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  libsndfile-1.0.28

- Next

  libvorbis-1.3.6

- Up
- Home

# libtheora-1.1.1

## 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-8.4 platform.

### Package Information

- Download (HTTP): https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.xz

- Download MD5 sum: 9eeabf1ad65b7f41533854a59f7a716d

- Download size: 1.4 MB

- Estimated disk space required: 13.4 MB (without static libs or API docs and without installing the examples)

- Estimated build time: 0.2 SBU

### libtheora Dependencies

#### Required

libogg-1.3.3

#### Recommended

libvorbis-1.3.6

#### Optional

SDL-1.2.15 and libpng-1.6.36 (both to build the example players), Doxygen-1.8.15, texlive-20180414 (or install-tl-unx), BibTex, and Transfig (all four to build the API documentation), and Valgrind-3.14.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Libtheora

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

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}
    done

## 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.

## Contents

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

### Short Descriptions

`libtheora*.so` | libraries provide the functions to read and write video files.

Last updated on 2019-02-17 15:55:58 -0600

- Prev

  libsndfile-1.0.28

- Next

  libvorbis-1.3.6

- Up
- Home