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 |
|
---|
7 | <!ENTITY libtheora-download-http "https://downloads.xiph.org/releases/theora/libtheora-&libtheora-version;.tar.xz">
|
---|
8 | <!ENTITY libtheora-download-ftp " ">
|
---|
9 | <!ENTITY libtheora-md5sum "9eeabf1ad65b7f41533854a59f7a716d">
|
---|
10 | <!ENTITY libtheora-size "1.4 MB">
|
---|
11 | <!ENTITY libtheora-buildsize "13.4 MB (without static libs or API docs and without installing the examples)">
|
---|
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>
|
---|
19 | <date>$Date$</date>
|
---|
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 |
|
---|
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>
|
---|
36 |
|
---|
37 | &lfs110a_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libtheora-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libtheora-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libtheora-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libtheora-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libtheora-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libtheora-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="libogg"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
81 | <para role="recommended">
|
---|
82 | <xref linkend="libvorbis"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
86 | <para role="optional">
|
---|
87 | <xref linkend="sdl"/> and
|
---|
88 | <xref linkend="libpng"/> (both to build the example players),
|
---|
89 | <xref linkend="doxygen"/>,
|
---|
90 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
91 | <ulink url="http://bibtexml.sourceforge.net">BibTex</ulink>, and
|
---|
92 | <ulink url="http://mcj.sourceforge.net/">Transfig</ulink>
|
---|
93 | (all four to build the API documentation), and
|
---|
94 | <xref linkend="valgrind"/>
|
---|
95 | </para>
|
---|
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 |
|
---|
105 | <para>
|
---|
106 | Install <application>libtheora</application> by running the following
|
---|
107 | commands:
|
---|
108 | </para>
|
---|
109 |
|
---|
110 | <screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
---|
111 | ./configure --prefix=/usr --disable-static &&
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | If you wish to run the tests, issue: <command>make check</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
120 | </para>
|
---|
121 |
|
---|
122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
123 |
|
---|
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>
|
---|
129 |
|
---|
130 | <screen role="root"><userinput>cd examples/.libs &&
|
---|
131 | for E in *; do
|
---|
132 | install -v -m755 $E /usr/bin/theora_${E}
|
---|
133 | done</userinput></screen>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="commands">
|
---|
138 | <title>Command Explanations</title>
|
---|
139 |
|
---|
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 |
|
---|
146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
147 | href="../../xincludes/static-libraries.xml"/>
|
---|
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>
|
---|
161 | <seg>libtheora.so, libtheoraenc.so, and
|
---|
162 | libtheoradec.so</seg>
|
---|
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">
|
---|
173 | <term><filename class="libraryfile">libtheora*.so</filename></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | contains the functions to read and write video files
|
---|
177 | </para>
|
---|
178 | <indexterm zone="libtheora libtheora-lib">
|
---|
179 | <primary sortas="c-libtheora">libtheora*.so</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | </variablelist>
|
---|
185 |
|
---|
186 | </sect2>
|
---|
187 |
|
---|
188 | </sect1>
|
---|