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