source: multimedia/libdriv/xvid.xml@ 1db4f8e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1db4f8e was 1db4f8e, checked in by Randy McMurchy <randy@…>, 19 years ago

Added a GCC-4 patch to the Xvid instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5041 af4574ff-66df-0310-9fd7-8a98e5e911e0

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