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