2008-12-25 03:20:07 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY libtheora-download-http "https://downloads.xiph.org/releases/theora/libtheora-&libtheora-version;.tar.xz">
|
2008-12-25 03:20:07 +08:00
|
|
|
<!ENTITY libtheora-download-ftp " ">
|
2013-07-14 20:39:16 +08:00
|
|
|
<!ENTITY libtheora-md5sum "9eeabf1ad65b7f41533854a59f7a716d">
|
|
|
|
<!ENTITY libtheora-size "1.4 MB">
|
2010-01-08 09:04:54 +08:00
|
|
|
<!ENTITY libtheora-buildsize "13.4 MB (without static libs or API docs and without installing the examples)">
|
2008-12-25 03:20:07 +08:00
|
|
|
<!ENTITY libtheora-time "0.2 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="libtheora" xreflabel="libtheora-&libtheora-version;">
|
|
|
|
<?dbhtml filename="libtheora.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>libtheora-&libtheora-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="libtheora">
|
|
|
|
<primary sortas="a-Libtheora">Libtheora</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to libtheora</title>
|
|
|
|
|
2013-12-27 00:52:17 +08:00
|
|
|
<para>
|
|
|
|
<application>libtheora</application> is a reference implementation of the
|
|
|
|
Theora video compression format being developed by the Xiph.Org
|
|
|
|
Foundation.
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
2023-02-18 12:35:46 +08:00
|
|
|
&lfs113_checked;
|
2009-08-02 20:18:06 +08:00
|
|
|
|
2008-12-25 03:20:07 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&libtheora-download-http;"/>
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&libtheora-download-ftp;"/>
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &libtheora-md5sum;
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download size: &libtheora-size;
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &libtheora-buildsize;
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &libtheora-time;
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">libtheora Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2020-03-25 03:19:44 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="libogg"/>
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2020-03-25 03:19:44 +08:00
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="libvorbis"/>
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2014-03-16 07:51:18 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="sdl"/> and
|
|
|
|
<xref linkend="libpng"/> (both to build the example players),
|
|
|
|
<xref linkend="doxygen"/>,
|
2015-01-12 05:58:33 +08:00
|
|
|
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
2023-01-29 12:31:35 +08:00
|
|
|
<ulink url="https://bibtexml.sourceforge.net">BibTex</ulink>, and
|
|
|
|
<ulink url="https://mcj.sourceforge.net/">Transfig</ulink>
|
2014-03-16 07:51:18 +08:00
|
|
|
(all four to build the API documentation), and
|
|
|
|
<xref linkend="valgrind"/>
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url='&blfs-wiki;/Libtheora'/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of libtheora</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Install <application>libtheora</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
2013-04-06 06:01:58 +08:00
|
|
|
<screen><userinput>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c &&
|
2013-05-30 22:17:32 +08:00
|
|
|
./configure --prefix=/usr --disable-static &&
|
2008-12-25 03:20:07 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
If you wish to run the tests, issue: <command>make check</command>.
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
2008-12-27 01:21:10 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
If you wish to install the examples (so that you can hack on
|
|
|
|
<literal>theora</literal>), install them as the <systemitem
|
|
|
|
class="username">root</systemitem> user:
|
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>cd examples/.libs &&
|
|
|
|
for E in *; do
|
2013-08-24 04:56:44 +08:00
|
|
|
install -v -m755 $E /usr/bin/theora_${E}
|
|
|
|
done</userinput></screen>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2013-04-06 06:01:58 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c</command>:
|
|
|
|
This <command>sed</command> fixes build with
|
|
|
|
<application>libpng</application> 1.6.
|
|
|
|
</para>
|
|
|
|
|
2013-05-30 22:17:32 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
2008-12-25 03:20:07 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>None, unless you installed the examples</seg>
|
2013-05-30 22:17:32 +08:00
|
|
|
<seg>libtheora.so, libtheoraenc.so, and
|
|
|
|
libtheoradec.so</seg>
|
2008-12-25 03:20:07 +08:00
|
|
|
<seg>/usr/include/theora and /usr/share/doc/libtheora-&libtheora-version;</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libtheora-lib">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">libtheora*.so</filename></term>
|
2008-12-25 03:20:07 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
contains the functions to read and write video files
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2008-12-25 03:20:07 +08:00
|
|
|
<indexterm zone="libtheora libtheora-lib">
|
2013-05-30 22:17:32 +08:00
|
|
|
<primary sortas="c-libtheora">libtheora*.so</primary>
|
2008-12-25 03:20:07 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|