2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-09-24 13:11:51 +08:00
|
|
|
|
2021-04-05 20:36:04 +08:00
|
|
|
<!ENTITY xvid-download-http "https://downloads.xvid.com/downloads/xvidcore-&xvid-version;.tar.gz">
|
2004-06-14 07:30:44 +08:00
|
|
|
<!ENTITY xvid-download-ftp " ">
|
2019-12-31 04:19:06 +08:00
|
|
|
<!ENTITY xvid-md5sum "5c6c19324608ac491485dbb27d4da517">
|
2017-12-18 08:58:18 +08:00
|
|
|
<!ENTITY xvid-size "804 KB">
|
|
|
|
<!ENTITY xvid-buildsize "7.1 MB">
|
2014-04-16 00:37:13 +08:00
|
|
|
<!ENTITY xvid-time "0.1 SBU">
|
2004-06-14 07:30:44 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-25 10:15:17 +08:00
|
|
|
<sect1 id="xvid" xreflabel="XviD-&xvid-version;">
|
2005-05-12 04:16:38 +08:00
|
|
|
<?dbhtml filename="xvid.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>XviD-&xvid-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="xvid">
|
|
|
|
<primary sortas="a-XviD">XviD</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to XviD</title>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<application>XviD</application> is an MPEG-4 compliant video CODEC.
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
2024-02-18 11:52:06 +08:00
|
|
|
&lfs121_checked;
|
2009-08-02 20:18:06 +08:00
|
|
|
|
2005-05-12 04:16:38 +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="&xvid-download-http;"/>
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&xvid-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &xvid-md5sum;
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Download size: &xvid-size;
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &xvid-buildsize;
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &xvid-time;
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2020-03-25 03:19:44 +08:00
|
|
|
<para role="optional">
|
2021-02-08 20:56:45 +08:00
|
|
|
<xref linkend="yasm"/> or <xref linkend="nasm"/>
|
2020-03-25 03:19:44 +08:00
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of XviD</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
This package tarball expands to <filename
|
|
|
|
class='directory'>xvidcore</filename>, not the expected <filename
|
|
|
|
class='directory'>xvidcore-&xvid-version;</filename>.
|
|
|
|
</para>
|
|
|
|
</note>
|
2012-05-19 06:10:17 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Install <application>XviD</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
2006-01-08 00:19:20 +08:00
|
|
|
<screen><userinput>cd build/generic &&
|
2014-06-28 06:03:22 +08:00
|
|
|
sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
2022-08-26 07:48:40 +08:00
|
|
|
|
2004-06-14 07:30:44 +08:00
|
|
|
./configure --prefix=/usr &&
|
2005-05-12 04:16:38 +08:00
|
|
|
make</userinput></screen>
|
2005-04-28 05:18:49 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2005-05-01 18:59:53 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-04-28 05:18:49 +08:00
|
|
|
|
2013-05-31 19:47:30 +08:00
|
|
|
<screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
|
|
|
make install &&
|
2007-07-23 02:36:35 +08:00
|
|
|
|
2012-03-25 05:31:05 +08:00
|
|
|
chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
2005-08-29 08:46:58 +08:00
|
|
|
install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
2007-08-13 04:47:46 +08:00
|
|
|
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
2005-08-29 08:46:58 +08:00
|
|
|
install -v -m644 ../../examples/* \
|
|
|
|
/usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
2022-03-25 11:26:08 +08:00
|
|
|
Fix error during <command>make install</command> if reinstalling
|
2020-03-09 23:02:12 +08:00
|
|
|
or upgrading.
|
|
|
|
</para>
|
2014-06-28 06:03:22 +08:00
|
|
|
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
|
|
|
This command disables installing the static library.
|
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-08-29 08:46:58 +08:00
|
|
|
<segtitle>Installed Directory</segtitle>
|
2005-05-12 04:16:38 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>None</seg>
|
2013-05-31 19:47:30 +08:00
|
|
|
<seg>libxvidcore.so</seg>
|
2005-08-29 08:46:58 +08:00
|
|
|
<seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
2005-05-12 04:16:38 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libxvidcore">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">libxvidcore.so</filename></term>
|
2005-05-12 04:16:38 +08:00
|
|
|
<listitem>
|
2020-03-09 23:02:12 +08:00
|
|
|
<para>
|
|
|
|
provides functions to encode and decode most
|
2021-02-19 23:20:16 +08:00
|
|
|
MPEG-4 video data
|
2020-03-09 23:02:12 +08:00
|
|
|
</para>
|
2005-05-12 04:16:38 +08:00
|
|
|
<indexterm zone="xvid libxvidcore">
|
2013-05-31 19:47:30 +08:00
|
|
|
<primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
2005-05-12 04:16:38 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2004-06-14 07:30:44 +08:00
|
|
|
|
2005-05-12 04:16:38 +08:00
|
|
|
</sect2>
|
2002-12-21 23:22:31 +08:00
|
|
|
|
|
|
|
</sect1>
|