[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[48b7295] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[e9d672f] | 5 |
|
---|
[43e423a7] | 6 | <!ENTITY xvid-download-http "http://ed.gomez.free.fr/releases/xvid-&xvid-version;/xvidcore-&xvid-version;.tar.bz2">
|
---|
[48b7295] | 7 | <!ENTITY xvid-download-ftp " ">
|
---|
[43e423a7] | 8 | <!ENTITY xvid-md5-sum "1487c4dd4449aedeb695807467e69054">
|
---|
[e9d672f] | 9 | <!ENTITY xvid-size "541 KB">
|
---|
[43e423a7] | 10 | <!ENTITY xvid-buildsize "7.2 MB">
|
---|
| 11 | <!ENTITY xvid-time "0.2 SBU">
|
---|
[48b7295] | 12 | ]>
|
---|
| 13 |
|
---|
[d374b41] | 14 | <sect1 id="xvid" xreflabel="XviD-&xvid-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="xvid.html"?>
|
---|
[d374b41] | 20 | <title>XviD-&xvid-version;</title>
|
---|
[43e423a7] | 21 | <indexterm zone="xvid">
|
---|
| 22 | <primary sortas="a-XviD">XviD</primary></indexterm>
|
---|
[9a2b9dcb] | 23 |
|
---|
[48b7295] | 24 | <sect2>
|
---|
| 25 | <title>Introduction to <application>XviD</application></title>
|
---|
| 26 |
|
---|
| 27 | <!--
|
---|
| 28 | OpenDivX or Xvid?
|
---|
| 29 |
|
---|
| 30 | OpenDivX is a free implementation of the mpeg4-codec. Alas, the
|
---|
| 31 | developers at ProjectMayo didn't gratefully release their actual source
|
---|
| 32 | in compileable versions, so the displeasure of the users majority
|
---|
| 33 | canalized into a new project named Xvid.
|
---|
| 34 |
|
---|
| 35 | Xvid development was interrupted in Autumn 2002 due to a code-theft
|
---|
| 36 | the developers at Sigma design committed but it is continued now.
|
---|
| 37 |
|
---|
| 38 | For worse luck, OpenDivX and Xvid are using the same header file
|
---|
| 39 | names (an issue that wouldn't be resolved easily) and function
|
---|
| 40 | namespace, so you'll have to choose which one to use.
|
---|
| 41 |
|
---|
| 42 | I personally vote for Xvid, because the installation from sources
|
---|
| 43 | is much smoother. If you use mencoder and transcode at the same time,
|
---|
| 44 | you may want to choose different codecs for each.
|
---|
| 45 | -->
|
---|
| 46 |
|
---|
[43e423a7] | 47 | <para><application>XviD</application> is an <acronym>MPEG</acronym>-4
|
---|
[48b7295] | 48 | compliant video <acronym>CODEC</acronym>.</para>
|
---|
| 49 |
|
---|
| 50 | <sect3><title>Package information</title>
|
---|
| 51 | <itemizedlist spacing='compact'>
|
---|
[e9d672f] | 52 | <listitem><para>Download (HTTP):
|
---|
| 53 | <ulink url="&xvid-download-http;"/></para></listitem>
|
---|
| 54 | <listitem><para>Download (FTP):
|
---|
| 55 | <ulink url="&xvid-download-ftp;"/></para></listitem>
|
---|
[dc2f5ad] | 56 | <listitem><para>Download MD5 Sum: &xvid-md5-sum;</para></listitem>
|
---|
[48b7295] | 57 | <listitem><para>Download size: &xvid-size;</para></listitem>
|
---|
[518538f] | 58 | <listitem><para>Estimated disk space required:
|
---|
[e9d672f] | 59 | &xvid-buildsize;</para></listitem>
|
---|
| 60 | <listitem><para>Estimated build time:
|
---|
| 61 | &xvid-time;</para></listitem></itemizedlist>
|
---|
[48b7295] | 62 | </sect3>
|
---|
| 63 |
|
---|
| 64 | <sect3><title><application>XviD</application> dependencies</title>
|
---|
| 65 | <sect4><title>Optional</title>
|
---|
[e9d672f] | 66 | <para><xref linkend="NASM"/></para></sect4>
|
---|
[48b7295] | 67 | </sect3>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2>
|
---|
| 72 | <title>Installation of <application>XviD</application></title>
|
---|
| 73 |
|
---|
[e9d672f] | 74 | <para>Install <application>XviD</application> by running the following
|
---|
| 75 | commands:</para>
|
---|
[48b7295] | 76 |
|
---|
| 77 | <screen><userinput><command>cd build/generic &&
|
---|
| 78 | ./configure --prefix=/usr &&
|
---|
[43e423a7] | 79 | make</command></userinput></screen>
|
---|
| 80 |
|
---|
[74c721e4] | 81 | <para>This package does not come with a test suite.</para>
|
---|
| 82 |
|
---|
[43e423a7] | 83 | <para>Now, as the root user:</para>
|
---|
| 84 |
|
---|
| 85 | <screen><userinput role='root'><command>make install &&
|
---|
| 86 | chmod -v 644 /usr/lib/libxvidcore.a &&
|
---|
| 87 | ln -v -sf libxvidcore.so.4.0 /usr/lib/libxvidcore.so.4 &&
|
---|
| 88 | ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command></userinput></screen>
|
---|
[48b7295] | 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2>
|
---|
| 93 | <title>Command explanations</title>
|
---|
| 94 |
|
---|
[43e423a7] | 95 | <para><command>ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command>:
|
---|
[48b7295] | 96 | This command makes applications linked against
|
---|
| 97 | <filename class="libraryfile">.so</filename> names, link to
|
---|
| 98 | <filename class="libraryfile">.so.<replaceable>MAJOR</replaceable></filename>.
|
---|
| 99 | This ensures better binary compatibility, as
|
---|
| 100 | <application>XviD</application> developers take care not changing the
|
---|
| 101 | <replaceable>MAJOR</replaceable> number until there is an incompatible
|
---|
| 102 | <acronym>ABI</acronym> change.</para>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2>
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
[43e423a7] | 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Library</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | <seg>libxvidcore.[so,a]</seg>
|
---|
| 117 | <seg>None</seg>
|
---|
| 118 | </seglistitem>
|
---|
| 119 | </segmentedlist>
|
---|
| 120 |
|
---|
| 121 | <variablelist>
|
---|
| 122 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 123 | <?dbfo list-presentation="list"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="libxvidcore">
|
---|
| 126 | <term><filename class='libraryfile'>libxvidcore.[so,a]</filename></term>
|
---|
| 127 | <listitem><para>provides functions to encode and decode most
|
---|
| 128 | <acronym>MPEG</acronym>-4 video data.</para>
|
---|
| 129 | <indexterm zone="xvid libxvidcore">
|
---|
| 130 | <primary sortas="c-libxvidcore">libxvidcore.[so,a]</primary>
|
---|
| 131 | </indexterm></listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 | </variablelist>
|
---|
[48b7295] | 134 |
|
---|
| 135 | <!--
|
---|
| 136 | <para>Following features of MPEG-4 are supported:</para>
|
---|
| 137 | <para><emphasis>I, P Frame encoding</emphasis></para>
|
---|
| 138 | <para>I-Frames are image frames, while P-Frames are Pattern Frames.
|
---|
| 139 | Image Frames contain full images. P-Frames contain patterns of what changes in
|
---|
| 140 | the image, thusly saving a lot of space.</para>
|
---|
| 141 | <para><emphasis>PMVFast and EPZS with diamond a sqare pattern motion
|
---|
| 142 | estimation</emphasis></para>
|
---|
| 143 | <para>Fast Motion detection that can refer a square or diamond
|
---|
| 144 | shaped pattern to different directions.</para>
|
---|
| 145 | <para><emphasis>inter4v mode</emphasis></para>
|
---|
| 146 | <para>Fast interpolation ability.</para>
|
---|
| 147 | <para><emphasis>fullpixel and halfpixel precision</emphasis></para>
|
---|
| 148 | <para>Even halfpixel movements can be encoded. Better precision
|
---|
| 149 | results in better compression at better quality.</para>
|
---|
| 150 | <para><emphasis>both MPEG-4 and H263 quantizations</emphasis></para>
|
---|
| 151 | <para>MPEG-4 is the standard DivX was derived from. H263 is a
|
---|
| 152 | slightly changed subset of that standard made by Microsoft. Quantization
|
---|
| 153 | means to map the quantity of color values to numbers.</para>
|
---|
| 154 | <para><emphasis>custom quant matrices</emphasis></para>
|
---|
| 155 | <para>The quantization can be done using custom matrices,
|
---|
| 156 | possibly giving better results if the matrix is made to suit the video
|
---|
| 157 | data. Every normal user should be fine with the default matrix that comes
|
---|
| 158 | with <application>XviD</application>.</para>
|
---|
| 159 | <para><emphasis>Adaptive quantization / Luminance masking</emphasis></para>
|
---|
| 160 | <para>Qantization and Luminance masking are variant, depending
|
---|
| 161 | on the input material, therefore providing better results on dark or very
|
---|
| 162 | contrasting images.</para>
|
---|
| 163 | -->
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
[9a2b9dcb] | 166 |
|
---|
| 167 | </sect1>
|
---|
| 168 |
|
---|