[33555d9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[48b7295] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[e9d672f] | 6 |
|
---|
[bfeedfa] | 7 | <!ENTITY xvid-download-http "http://downloads.xvid.com/downloads/xvidcore-&xvid-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY xvid-download-ftp " ">
|
---|
[372597e] | 9 | <!ENTITY xvid-md5sum "5c6c19324608ac491485dbb27d4da517">
|
---|
[06d0c710] | 10 | <!ENTITY xvid-size "804 KB">
|
---|
| 11 | <!ENTITY xvid-buildsize "7.1 MB">
|
---|
[08bd91b] | 12 | <!ENTITY xvid-time "0.1 SBU">
|
---|
[48b7295] | 13 | ]>
|
---|
| 14 |
|
---|
[d374b41] | 15 | <sect1 id="xvid" xreflabel="XviD-&xvid-version;">
|
---|
[33555d9] | 16 | <?dbhtml filename="xvid.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>XviD-&xvid-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xvid">
|
---|
| 26 | <primary sortas="a-XviD">XviD</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to XviD</title>
|
---|
[48b7295] | 31 |
|
---|
[2eeb8695] | 32 | <para>
|
---|
| 33 | <application>XviD</application> is an MPEG-4 compliant video CODEC.
|
---|
| 34 | </para>
|
---|
[33555d9] | 35 |
|
---|
[f33b456] | 36 | &lfs91_checked;
|
---|
[e355f3c6] | 37 |
|
---|
[33555d9] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
[2eeb8695] | 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&xvid-download-http;"/>
|
---|
| 43 | </para>
|
---|
[33555d9] | 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
[2eeb8695] | 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&xvid-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
[33555d9] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[2eeb8695] | 51 | <para>
|
---|
| 52 | Download MD5 sum: &xvid-md5sum;
|
---|
| 53 | </para>
|
---|
[33555d9] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[2eeb8695] | 56 | <para>
|
---|
| 57 | Download size: &xvid-size;
|
---|
| 58 | </para>
|
---|
[33555d9] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[2eeb8695] | 61 | <para>
|
---|
| 62 | Estimated disk space required: &xvid-buildsize;
|
---|
| 63 | </para>
|
---|
[33555d9] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[2eeb8695] | 66 | <para>
|
---|
| 67 | Estimated build time: &xvid-time;
|
---|
| 68 | </para>
|
---|
[33555d9] | 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52b1b8c] | 75 | <para role="optional"><xref linkend="yasm"/></para>
|
---|
[33555d9] | 76 |
|
---|
[0e2aa08] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/xvid"/></para>
|
---|
| 79 |
|
---|
[33555d9] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of XviD</title>
|
---|
| 84 |
|
---|
[2eeb8695] | 85 | <note>
|
---|
| 86 | <para>
|
---|
| 87 | This package tarball expands to <filename
|
---|
| 88 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 89 | class='directory'>xvidcore-&xvid-version;</filename>.
|
---|
| 90 | </para>
|
---|
| 91 | </note>
|
---|
[fd0b4845] | 92 |
|
---|
[2eeb8695] | 93 | <para>
|
---|
| 94 | Install <application>XviD</application> by running the following
|
---|
| 95 | commands:
|
---|
| 96 | </para>
|
---|
[33555d9] | 97 |
|
---|
[2829ed0] | 98 | <screen><userinput>cd build/generic &&
|
---|
[1d687b9] | 99 | sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
---|
[48b7295] | 100 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 101 | make</userinput></screen>
|
---|
[43e423a7] | 102 |
|
---|
[2eeb8695] | 103 | <para>
|
---|
| 104 | This package does not come with a test suite.
|
---|
| 105 | </para>
|
---|
[74c721e4] | 106 |
|
---|
[2eeb8695] | 107 | <para>
|
---|
| 108 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 109 | </para>
|
---|
[43e423a7] | 110 |
|
---|
[2c46699] | 111 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 112 | make install &&
|
---|
[a6937a6] | 113 |
|
---|
[52b1b8c] | 114 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
[4d32631] | 115 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 116 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 117 | install -v -m644 ../../examples/* \
|
---|
| 118 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
[2eeb8695] | 125 | <para>
|
---|
| 126 | <command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
---|
| 127 | Fix error during <command>make install</command> if reintalling
|
---|
| 128 | or upgrading.
|
---|
| 129 | </para>
|
---|
[1d687b9] | 130 |
|
---|
[2eeb8695] | 131 | <para>
|
---|
| 132 | <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 133 | This command disables installing the static library.
|
---|
| 134 | </para>
|
---|
[33555d9] | 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
| 142 | <segtitle>Installed Programs</segtitle>
|
---|
| 143 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 144 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 145 |
|
---|
| 146 | <seglistitem>
|
---|
| 147 | <seg>None</seg>
|
---|
[2c46699] | 148 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 149 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libxvidcore">
|
---|
[2c46699] | 159 | <term><filename class='libraryfile'>libxvidcore.so</filename></term>
|
---|
[33555d9] | 160 | <listitem>
|
---|
[2eeb8695] | 161 | <para>
|
---|
| 162 | provides functions to encode and decode most
|
---|
| 163 | MPEG-4 video data.
|
---|
| 164 | </para>
|
---|
[33555d9] | 165 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 166 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | </variablelist>
|
---|
[48b7295] | 172 |
|
---|
[33555d9] | 173 | </sect2>
|
---|
[9a2b9dcb] | 174 |
|
---|
| 175 | </sect1>
|
---|