[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 |
|
---|
[c6b192c] | 7 | <!ENTITY xvid-download-http "https://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 |
|
---|
| 19 | <title>XviD-&xvid-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="xvid">
|
---|
| 22 | <primary sortas="a-XviD">XviD</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to XviD</title>
|
---|
[48b7295] | 27 |
|
---|
[2eeb8695] | 28 | <para>
|
---|
| 29 | <application>XviD</application> is an MPEG-4 compliant video CODEC.
|
---|
| 30 | </para>
|
---|
[33555d9] | 31 |
|
---|
[c36ca685] | 32 | &lfs122_checked;
|
---|
[e355f3c6] | 33 |
|
---|
[33555d9] | 34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
[2eeb8695] | 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&xvid-download-http;"/>
|
---|
| 39 | </para>
|
---|
[33555d9] | 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
[2eeb8695] | 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&xvid-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
[33555d9] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[2eeb8695] | 47 | <para>
|
---|
| 48 | Download MD5 sum: &xvid-md5sum;
|
---|
| 49 | </para>
|
---|
[33555d9] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[2eeb8695] | 52 | <para>
|
---|
| 53 | Download size: &xvid-size;
|
---|
| 54 | </para>
|
---|
[33555d9] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[2eeb8695] | 57 | <para>
|
---|
| 58 | Estimated disk space required: &xvid-buildsize;
|
---|
| 59 | </para>
|
---|
[33555d9] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[2eeb8695] | 62 | <para>
|
---|
| 63 | Estimated build time: &xvid-time;
|
---|
| 64 | </para>
|
---|
[33555d9] | 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[47274444] | 71 | <para role="optional">
|
---|
[34bcb5ec] | 72 | <xref linkend="yasm"/> or <xref linkend="nasm"/>
|
---|
[47274444] | 73 | </para>
|
---|
[33555d9] | 74 |
|
---|
| 75 | </sect2>
|
---|
| 76 |
|
---|
| 77 | <sect2 role="installation">
|
---|
| 78 | <title>Installation of XviD</title>
|
---|
| 79 |
|
---|
[2eeb8695] | 80 | <note>
|
---|
| 81 | <para>
|
---|
| 82 | This package tarball expands to <filename
|
---|
| 83 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 84 | class='directory'>xvidcore-&xvid-version;</filename>.
|
---|
| 85 | </para>
|
---|
| 86 | </note>
|
---|
[fd0b4845] | 87 |
|
---|
[2eeb8695] | 88 | <para>
|
---|
| 89 | Install <application>XviD</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
[33555d9] | 92 |
|
---|
[2829ed0] | 93 | <screen><userinput>cd build/generic &&
|
---|
[1d687b9] | 94 | sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
---|
[650ddb8] | 95 |
|
---|
[48b7295] | 96 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 97 | make</userinput></screen>
|
---|
[43e423a7] | 98 |
|
---|
[2eeb8695] | 99 | <para>
|
---|
| 100 | This package does not come with a test suite.
|
---|
| 101 | </para>
|
---|
[74c721e4] | 102 |
|
---|
[2eeb8695] | 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
[43e423a7] | 106 |
|
---|
[2c46699] | 107 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 108 | make install &&
|
---|
[a6937a6] | 109 |
|
---|
[52b1b8c] | 110 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
[4d32631] | 111 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 112 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 113 | install -v -m644 ../../examples/* \
|
---|
| 114 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
[2eeb8695] | 121 | <para>
|
---|
| 122 | <command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
---|
[b9c353b] | 123 | Fix error during <command>make install</command> if reinstalling
|
---|
[2eeb8695] | 124 | or upgrading.
|
---|
| 125 | </para>
|
---|
[1d687b9] | 126 |
|
---|
[2eeb8695] | 127 | <para>
|
---|
| 128 | <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 129 | This command disables installing the static library.
|
---|
| 130 | </para>
|
---|
[33555d9] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="content">
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <segmentedlist>
|
---|
| 138 | <segtitle>Installed Programs</segtitle>
|
---|
| 139 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 140 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 141 |
|
---|
| 142 | <seglistitem>
|
---|
| 143 | <seg>None</seg>
|
---|
[2c46699] | 144 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 145 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="libxvidcore">
|
---|
[4c24eb0a] | 155 | <term><filename class="libraryfile">libxvidcore.so</filename></term>
|
---|
[33555d9] | 156 | <listitem>
|
---|
[2eeb8695] | 157 | <para>
|
---|
| 158 | provides functions to encode and decode most
|
---|
[4c24eb0a] | 159 | MPEG-4 video data
|
---|
[2eeb8695] | 160 | </para>
|
---|
[33555d9] | 161 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 162 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | </variablelist>
|
---|
[48b7295] | 168 |
|
---|
[33555d9] | 169 | </sect2>
|
---|
[9a2b9dcb] | 170 |
|
---|
| 171 | </sect1>
|
---|