[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 |
|
---|
[7e1cb9d] | 7 | <!ENTITY xvid-download-http "http://downloads.xvid.org/downloads/xvidcore-&xvid-version;.tar.gz">
|
---|
[48b7295] | 8 | <!ENTITY xvid-download-ftp " ">
|
---|
[52b1b8c] | 9 | <!ENTITY xvid-md5sum "87c8cf7b69ebed93c2d82ea5709d098a">
|
---|
| 10 | <!ENTITY xvid-size "800 KB">
|
---|
[295defe5] | 11 | <!ENTITY xvid-buildsize "9 MB">
|
---|
[43e423a7] | 12 | <!ENTITY xvid-time "0.2 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 |
|
---|
[33555d9] | 32 | <para><application>XviD</application> is an MPEG-4
|
---|
| 33 | compliant video CODEC.</para>
|
---|
| 34 |
|
---|
[7bb72e0] | 35 | &lfs74_checked;
|
---|
[e355f3c6] | 36 |
|
---|
[33555d9] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&xvid-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&xvid-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &xvid-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &xvid-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &xvid-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &xvid-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52b1b8c] | 62 | <para role="optional"><xref linkend="yasm"/></para>
|
---|
[33555d9] | 63 |
|
---|
[0e2aa08] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
| 65 | <ulink url="&blfs-wiki;/xvid"/></para>
|
---|
| 66 |
|
---|
[33555d9] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of XviD</title>
|
---|
| 71 |
|
---|
[fd0b4845] | 72 | <note><para>This package tarball expands to <filename
|
---|
| 73 | class='directory'>xvidcore</filename>, not the expected <filename
|
---|
| 74 | class='directory'>xvidcore-&xvid-version;</filename>.</para></note>
|
---|
| 75 |
|
---|
[50b692d] | 76 | <para>Install <application>XviD</application> by running the following
|
---|
[33555d9] | 77 | commands:</para>
|
---|
| 78 |
|
---|
[2829ed0] | 79 | <screen><userinput>cd build/generic &&
|
---|
[48b7295] | 80 | ./configure --prefix=/usr &&
|
---|
[33555d9] | 81 | make</userinput></screen>
|
---|
[43e423a7] | 82 |
|
---|
[33555d9] | 83 | <para>This package does not come with a test suite.</para>
|
---|
[74c721e4] | 84 |
|
---|
[33555d9] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[43e423a7] | 86 |
|
---|
[2c46699] | 87 | <screen role="root"><userinput>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
|
---|
| 88 | make install &&
|
---|
[a6937a6] | 89 |
|
---|
[52b1b8c] | 90 | chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&
|
---|
| 91 | ln -v -sf libxvidcore.so.4.3 /usr/lib/libxvidcore.so.4 &&
|
---|
[a6937a6] | 92 | ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &&
|
---|
| 93 |
|
---|
[4d32631] | 94 | install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &&
|
---|
[e042e66d] | 95 | install -v -m644 ../../doc/* /usr/share/doc/xvidcore-&xvid-version; &&
|
---|
[4d32631] | 96 | install -v -m644 ../../examples/* \
|
---|
| 97 | /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
|
---|
[33555d9] | 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[2c46699] | 104 | <para><command>sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile</command>:
|
---|
| 105 | This command disables installing the static library.</para>
|
---|
| 106 |
|
---|
[33555d9] | 107 | <para><command>ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command>:
|
---|
| 108 | This command makes applications linked against
|
---|
| 109 | <filename class="libraryfile">.so</filename> names, link to
|
---|
[0e2aa08] | 110 | <filename class="libraryfile">.so.<replaceable><MAJOR></replaceable></filename>.
|
---|
[33555d9] | 111 | This ensures better binary compatibility, as
|
---|
| 112 | <application>XviD</application> developers take care not changing the
|
---|
[0e2aa08] | 113 | <replaceable><MAJOR></replaceable> number until there is an incompatible
|
---|
[33555d9] | 114 | ABI change.</para>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
[4d32631] | 124 | <segtitle>Installed Directory</segtitle>
|
---|
[33555d9] | 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>None</seg>
|
---|
[2c46699] | 128 | <seg>libxvidcore.so</seg>
|
---|
[4d32631] | 129 | <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
|
---|
[33555d9] | 130 | </seglistitem>
|
---|
| 131 | </segmentedlist>
|
---|
| 132 |
|
---|
| 133 | <variablelist>
|
---|
| 134 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 135 | <?dbfo list-presentation="list"?>
|
---|
| 136 | <?dbhtml list-presentation="table"?>
|
---|
| 137 |
|
---|
| 138 | <varlistentry id="libxvidcore">
|
---|
[2c46699] | 139 | <term><filename class='libraryfile'>libxvidcore.so</filename></term>
|
---|
[33555d9] | 140 | <listitem>
|
---|
[50b692d] | 141 | <para>provides functions to encode and decode most
|
---|
[33555d9] | 142 | MPEG-4 video data.</para>
|
---|
| 143 | <indexterm zone="xvid libxvidcore">
|
---|
[2c46699] | 144 | <primary sortas="c-libxvidcore">libxvidcore.so</primary>
|
---|
[33555d9] | 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | </variablelist>
|
---|
[48b7295] | 150 |
|
---|
[33555d9] | 151 | </sect2>
|
---|
[9a2b9dcb] | 152 |
|
---|
| 153 | </sect1>
|
---|