[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 |
|
---|
[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 |
|
---|
[dc1a45e] | 32 | &lfs113_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 |
|
---|
[0e2aa08] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/xvid"/></para>
|
---|
| 77 |
|
---|
[33555d9] | 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of XviD</title>
|
---|
| 82 |
|
---|
[2eeb8695] | 83 | <note>
|
---|
| 84 | <para>
|
---|
| 85 | This package tarball expands to <filename
|
---|
| 86 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 87 | class='directory'>xvidcore-&xvid-version;</filename>.
|
---|
| 88 | </para>
|
---|
| 89 | </note>
|
---|
[fd0b4845] | 90 |
|
---|
[2eeb8695] | 91 | <para>
|
---|
| 92 | Install <application>XviD</application> by running the following
|
---|
| 93 | commands:
|
---|
| 94 | </para>
|
---|
[33555d9] | 95 |
|
---|
[2829ed0] | 96 | <screen><userinput>cd build/generic &&
|
---|
[1d687b9] | 97 | sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
|
---|
[650ddb8] | 98 |
|
---|
[48b7295] | 99 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 100 | make</userinput></screen>
|
---|
[43e423a7] | 101 |
|
---|
[2eeb8695] | 102 | <para>
|
---|
| 103 | This package does not come with a test suite.
|
---|
| 104 | </para>
|
---|
[74c721e4] | 105 |
|
---|
[2eeb8695] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[43e423a7] | 109 |
|
---|
[2c46699] | 110 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 111 | make install &&
|
---|
[a6937a6] | 112 |
|
---|
[52b1b8c] | 113 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
[4d32631] | 114 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 115 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 116 | install -v -m644 ../../examples/* \
|
---|
| 117 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[2eeb8695] | 124 | <para>
|
---|
| 125 | <command>sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in</command>:
|
---|
[b9c353b] | 126 | Fix error during <command>make install</command> if reinstalling
|
---|
[2eeb8695] | 127 | or upgrading.
|
---|
| 128 | </para>
|
---|
[1d687b9] | 129 |
|
---|
[2eeb8695] | 130 | <para>
|
---|
| 131 | <command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 132 | This command disables installing the static library.
|
---|
| 133 | </para>
|
---|
[33555d9] | 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Programs</segtitle>
|
---|
| 142 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 143 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>None</seg>
|
---|
[2c46699] | 147 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 148 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libxvidcore">
|
---|
[4c24eb0a] | 158 | <term><filename class="libraryfile">libxvidcore.so</filename></term>
|
---|
[33555d9] | 159 | <listitem>
|
---|
[2eeb8695] | 160 | <para>
|
---|
| 161 | provides functions to encode and decode most
|
---|
[4c24eb0a] | 162 | MPEG-4 video data
|
---|
[2eeb8695] | 163 | </para>
|
---|
[33555d9] | 164 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 165 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | </variablelist>
|
---|
[48b7295] | 171 |
|
---|
[33555d9] | 172 | </sect2>
|
---|
[9a2b9dcb] | 173 |
|
---|
| 174 | </sect1>
|
---|