[bf1b5bf9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libtheora-download-http "https://downloads.xiph.org/releases/theora/libtheora-&libtheora-version;.tar.xz">
|
---|
[bf1b5bf9] | 8 | <!ENTITY libtheora-download-ftp " ">
|
---|
[5be9f63f] | 9 | <!ENTITY libtheora-md5sum "9eeabf1ad65b7f41533854a59f7a716d">
|
---|
| 10 | <!ENTITY libtheora-size "1.4 MB">
|
---|
[6d09537c] | 11 | <!ENTITY libtheora-buildsize "13.4 MB (without static libs or API docs and without installing the examples)">
|
---|
[bf1b5bf9] | 12 | <!ENTITY libtheora-time "0.2 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libtheora" xreflabel="libtheora-&libtheora-version;">
|
---|
| 16 | <?dbhtml filename="libtheora.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[739dfc8] | 19 | <date>$Date$</date>
|
---|
[bf1b5bf9] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>libtheora-&libtheora-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="libtheora">
|
---|
| 25 | <primary sortas="a-Libtheora">Libtheora</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to libtheora</title>
|
---|
| 30 |
|
---|
[f3763adf] | 31 | <para>
|
---|
| 32 | <application>libtheora</application> is a reference implementation of the
|
---|
| 33 | Theora video compression format being developed by the Xiph.Org
|
---|
| 34 | Foundation.
|
---|
| 35 | </para>
|
---|
[bf1b5bf9] | 36 |
|
---|
[2d76528] | 37 | &lfs111_checked;
|
---|
[e355f3c6] | 38 |
|
---|
[bf1b5bf9] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[2eeb8695] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libtheora-download-http;"/>
|
---|
| 44 | </para>
|
---|
[bf1b5bf9] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[2eeb8695] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libtheora-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[bf1b5bf9] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[2eeb8695] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &libtheora-md5sum;
|
---|
| 54 | </para>
|
---|
[bf1b5bf9] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2eeb8695] | 57 | <para>
|
---|
| 58 | Download size: &libtheora-size;
|
---|
| 59 | </para>
|
---|
[bf1b5bf9] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[2eeb8695] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &libtheora-buildsize;
|
---|
| 64 | </para>
|
---|
[bf1b5bf9] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[2eeb8695] | 67 | <para>
|
---|
| 68 | Estimated build time: &libtheora-time;
|
---|
| 69 | </para>
|
---|
[bf1b5bf9] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[47274444] | 76 | <para role="required">
|
---|
| 77 | <xref linkend="libogg"/>
|
---|
| 78 | </para>
|
---|
[bf1b5bf9] | 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[47274444] | 81 | <para role="recommended">
|
---|
| 82 | <xref linkend="libvorbis"/>
|
---|
| 83 | </para>
|
---|
[bf1b5bf9] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f1607a4] | 86 | <para role="optional">
|
---|
| 87 | <xref linkend="sdl"/> and
|
---|
| 88 | <xref linkend="libpng"/> (both to build the example players),
|
---|
| 89 | <xref linkend="doxygen"/>,
|
---|
[2d98031c] | 90 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
[f1607a4] | 91 | <ulink url="http://bibtexml.sourceforge.net">BibTex</ulink>, and
|
---|
[99d88a0d] | 92 | <ulink url="http://mcj.sourceforge.net/">Transfig</ulink>
|
---|
[f1607a4] | 93 | (all four to build the API documentation), and
|
---|
| 94 | <xref linkend="valgrind"/>
|
---|
| 95 | </para>
|
---|
[bf1b5bf9] | 96 |
|
---|
| 97 | <para condition="html" role="usernotes">User Notes:
|
---|
| 98 | <ulink url='&blfs-wiki;/Libtheora'/></para>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
| 103 | <title>Installation of libtheora</title>
|
---|
| 104 |
|
---|
[2eeb8695] | 105 | <para>
|
---|
| 106 | Install <application>libtheora</application> by running the following
|
---|
| 107 | commands:
|
---|
| 108 | </para>
|
---|
[bf1b5bf9] | 109 |
|
---|
[31ab0f7] | 110 | <screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
---|
[1ce810f4] | 111 | ./configure --prefix=/usr --disable-static &&
|
---|
[bf1b5bf9] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[2eeb8695] | 114 | <para>
|
---|
| 115 | If you wish to run the tests, issue: <command>make check</command>.
|
---|
| 116 | </para>
|
---|
[bf1b5bf9] | 117 |
|
---|
[2eeb8695] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[bf1b5bf9] | 121 |
|
---|
[739dfc8] | 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[bf1b5bf9] | 123 |
|
---|
[2eeb8695] | 124 | <para>
|
---|
| 125 | If you wish to install the examples (so that you can hack on
|
---|
| 126 | <literal>theora</literal>), install them as the <systemitem
|
---|
| 127 | class="username">root</systemitem> user:
|
---|
| 128 | </para>
|
---|
[bf1b5bf9] | 129 |
|
---|
| 130 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
| 131 | for E in *; do
|
---|
[7bb72e0] | 132 | install -v -m755 $E /usr/bin/theora_${E}
|
---|
| 133 | done</userinput></screen>
|
---|
[bf1b5bf9] | 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2 role="commands">
|
---|
| 138 | <title>Command Explanations</title>
|
---|
| 139 |
|
---|
[31ab0f7] | 140 | <para>
|
---|
| 141 | <command>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c</command>:
|
---|
| 142 | This <command>sed</command> fixes build with
|
---|
| 143 | <application>libpng</application> 1.6.
|
---|
| 144 | </para>
|
---|
| 145 |
|
---|
[1ce810f4] | 146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 147 | href="../../xincludes/static-libraries.xml"/>
|
---|
[bf1b5bf9] | 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Libraries</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
| 160 | <seg>None, unless you installed the examples</seg>
|
---|
[1ce810f4] | 161 | <seg>libtheora.so, libtheoraenc.so, and
|
---|
| 162 | libtheoradec.so</seg>
|
---|
[bf1b5bf9] | 163 | <seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
---|
| 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | <variablelist>
|
---|
| 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 169 | <?dbfo list-presentation="list"?>
|
---|
| 170 | <?dbhtml list-presentation="table"?>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="libtheora-lib">
|
---|
[4c24eb0a] | 173 | <term><filename class="libraryfile">libtheora*.so</filename></term>
|
---|
[bf1b5bf9] | 174 | <listitem>
|
---|
[2eeb8695] | 175 | <para>
|
---|
[4c24eb0a] | 176 | contains the functions to read and write video files
|
---|
[2eeb8695] | 177 | </para>
|
---|
[bf1b5bf9] | 178 | <indexterm zone="libtheora libtheora-lib">
|
---|
[1ce810f4] | 179 | <primary sortas="c-libtheora">libtheora*.so</primary>
|
---|
[bf1b5bf9] | 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | </variablelist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | </sect1>
|
---|