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