1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY xvid-download-http "http://ed.gomez.free.fr/releases/xvid-&xvid-version;/xvidcore-&xvid-version;.tar.bz2">
|
---|
7 | <!ENTITY xvid-download-ftp " ">
|
---|
8 | <!ENTITY xvid-md5-sum "1487c4dd4449aedeb695807467e69054">
|
---|
9 | <!ENTITY xvid-size "541 KB">
|
---|
10 | <!ENTITY xvid-buildsize "7.2 MB">
|
---|
11 | <!ENTITY xvid-time "0.2 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="xvid" xreflabel="XviD-&xvid-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="xvid.html"?>
|
---|
20 | <title>XviD-&xvid-version;</title>
|
---|
21 | <indexterm zone="xvid">
|
---|
22 | <primary sortas="a-XviD">XviD</primary></indexterm>
|
---|
23 |
|
---|
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 |
|
---|
47 | <para><application>XviD</application> is an <acronym>MPEG</acronym>-4
|
---|
48 | compliant video <acronym>CODEC</acronym>.</para>
|
---|
49 |
|
---|
50 | <sect3><title>Package information</title>
|
---|
51 | <itemizedlist spacing='compact'>
|
---|
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>
|
---|
56 | <listitem><para>Download MD5 Sum: &xvid-md5-sum;</para></listitem>
|
---|
57 | <listitem><para>Download size: &xvid-size;</para></listitem>
|
---|
58 | <listitem><para>Estimated disk space required:
|
---|
59 | &xvid-buildsize;</para></listitem>
|
---|
60 | <listitem><para>Estimated build time:
|
---|
61 | &xvid-time;</para></listitem></itemizedlist>
|
---|
62 | </sect3>
|
---|
63 |
|
---|
64 | <sect3><title><application>XviD</application> dependencies</title>
|
---|
65 | <sect4><title>Optional</title>
|
---|
66 | <para><xref linkend="NASM"/></para></sect4>
|
---|
67 | </sect3>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2>
|
---|
72 | <title>Installation of <application>XviD</application></title>
|
---|
73 |
|
---|
74 | <para>Install <application>XviD</application> by running the following
|
---|
75 | commands:</para>
|
---|
76 |
|
---|
77 | <screen><userinput><command>cd build/generic &&
|
---|
78 | ./configure --prefix=/usr &&
|
---|
79 | make</command></userinput></screen>
|
---|
80 |
|
---|
81 | <para>Now, as the root user:</para>
|
---|
82 |
|
---|
83 | <screen><userinput role='root'><command>make install &&
|
---|
84 | chmod -v 644 /usr/lib/libxvidcore.a &&
|
---|
85 | ln -v -sf libxvidcore.so.4.0 /usr/lib/libxvidcore.so.4 &&
|
---|
86 | ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command></userinput></screen>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2>
|
---|
91 | <title>Command explanations</title>
|
---|
92 |
|
---|
93 | <para><command>ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command>:
|
---|
94 | This command makes applications linked against
|
---|
95 | <filename class="libraryfile">.so</filename> names, link to
|
---|
96 | <filename class="libraryfile">.so.<replaceable>MAJOR</replaceable></filename>.
|
---|
97 | This ensures better binary compatibility, as
|
---|
98 | <application>XviD</application> developers take care not changing the
|
---|
99 | <replaceable>MAJOR</replaceable> number until there is an incompatible
|
---|
100 | <acronym>ABI</acronym> change.</para>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2>
|
---|
105 | <title>Contents</title>
|
---|
106 |
|
---|
107 | <segmentedlist>
|
---|
108 | <segtitle>Installed Programs</segtitle>
|
---|
109 | <segtitle>Installed Library</segtitle>
|
---|
110 | <segtitle>Installed Directories</segtitle>
|
---|
111 |
|
---|
112 | <seglistitem>
|
---|
113 | <seg>None</seg>
|
---|
114 | <seg>libxvidcore.[so,a]</seg>
|
---|
115 | <seg>None</seg>
|
---|
116 | </seglistitem>
|
---|
117 | </segmentedlist>
|
---|
118 |
|
---|
119 | <variablelist>
|
---|
120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
121 | <?dbfo list-presentation="list"?>
|
---|
122 |
|
---|
123 | <varlistentry id="libxvidcore">
|
---|
124 | <term><filename class='libraryfile'>libxvidcore.[so,a]</filename></term>
|
---|
125 | <listitem><para>provides functions to encode and decode most
|
---|
126 | <acronym>MPEG</acronym>-4 video data.</para>
|
---|
127 | <indexterm zone="xvid libxvidcore">
|
---|
128 | <primary sortas="c-libxvidcore">libxvidcore.[so,a]</primary>
|
---|
129 | </indexterm></listitem>
|
---|
130 | </varlistentry>
|
---|
131 | </variablelist>
|
---|
132 |
|
---|
133 | <!--
|
---|
134 | <para>Following features of MPEG-4 are supported:</para>
|
---|
135 | <para><emphasis>I, P Frame encoding</emphasis></para>
|
---|
136 | <para>I-Frames are image frames, while P-Frames are Pattern Frames.
|
---|
137 | Image Frames contain full images. P-Frames contain patterns of what changes in
|
---|
138 | the image, thusly saving a lot of space.</para>
|
---|
139 | <para><emphasis>PMVFast and EPZS with diamond a sqare pattern motion
|
---|
140 | estimation</emphasis></para>
|
---|
141 | <para>Fast Motion detection that can refer a square or diamond
|
---|
142 | shaped pattern to different directions.</para>
|
---|
143 | <para><emphasis>inter4v mode</emphasis></para>
|
---|
144 | <para>Fast interpolation ability.</para>
|
---|
145 | <para><emphasis>fullpixel and halfpixel precision</emphasis></para>
|
---|
146 | <para>Even halfpixel movements can be encoded. Better precision
|
---|
147 | results in better compression at better quality.</para>
|
---|
148 | <para><emphasis>both MPEG-4 and H263 quantizations</emphasis></para>
|
---|
149 | <para>MPEG-4 is the standard DivX was derived from. H263 is a
|
---|
150 | slightly changed subset of that standard made by Microsoft. Quantization
|
---|
151 | means to map the quantity of color values to numbers.</para>
|
---|
152 | <para><emphasis>custom quant matrices</emphasis></para>
|
---|
153 | <para>The quantization can be done using custom matrices,
|
---|
154 | possibly giving better results if the matrix is made to suit the video
|
---|
155 | data. Every normal user should be fine with the default matrix that comes
|
---|
156 | with <application>XviD</application>.</para>
|
---|
157 | <para><emphasis>Adaptive quantization / Luminance masking</emphasis></para>
|
---|
158 | <para>Qantization and Luminance masking are variant, depending
|
---|
159 | on the input material, therefore providing better results on dark or very
|
---|
160 | contrasting images.</para>
|
---|
161 | -->
|
---|
162 |
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | </sect1>
|
---|
166 |
|
---|