source: multimedia/libdriv/xvid.xml@ 4d32631

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 4d32631 was 4d32631, checked in by Randy McMurchy <randy@…>, 19 years ago

Added documentation installation to the Xvid instructions; added a note to run the test suite to the liba52 instructions

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

  • Property mode set to 100644
File size: 6.6 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">XviD Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para><xref linkend="NASM"/></para>
81
82 </sect2>
83
84 <sect2 role="installation">
85 <title>Installation of XviD</title>
86
87 <para>Install <application>XviD</application> by running the following
88 commands:</para>
89
90<screen><userinput>cd build/generic &amp;&amp;
91./configure --prefix=/usr &amp;&amp;
92make</userinput></screen>
93
94 <para>This package does not come with a test suite.</para>
95
96 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
97
98<screen role="root"><userinput>make install &amp;&amp;
99chmod -v 644 /usr/lib/libxvidcore.a &amp;&amp;
100ln -v -sf libxvidcore.so.4.0 /usr/lib/libxvidcore.so.4 &amp;&amp;
101ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so &amp;&amp;
102install -v -m755 -d /usr/share/doc/xvidcore-&xvid-version;/examples &amp;&amp;
103install -v -m644 ../../examples/* \
104 /usr/share/doc/xvidcore-&xvid-version;/examples</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><command>ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so</command>:
112 This command makes applications linked against
113 <filename class="libraryfile">.so</filename> names, link to
114 <filename class="libraryfile">.so.<replaceable>MAJOR</replaceable></filename>.
115 This ensures better binary compatibility, as
116 <application>XviD</application> developers take care not changing the
117 <replaceable>MAJOR</replaceable> number until there is an incompatible
118 ABI change.</para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directory</segtitle>
129
130 <seglistitem>
131 <seg>None</seg>
132 <seg>libxvidcore.[so,a]</seg>
133 <seg>/usr/share/doc/xvidcore-&xvid-version;</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="libxvidcore">
143 <term><filename class='libraryfile'>libxvidcore.[so,a]</filename></term>
144 <listitem>
145 <para>provides functions to encode and decode most
146 MPEG-4 video data.</para>
147 <indexterm zone="xvid libxvidcore">
148 <primary sortas="c-libxvidcore">libxvidcore.[so,a]</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 </variablelist>
154
155<!--
156<para>Following features of MPEG-4 are supported:</para>
157<para><emphasis>I, P Frame encoding</emphasis></para>
158<para>I-Frames are image frames, while P-Frames are Pattern Frames.
159Image Frames contain full images. P-Frames contain patterns of what changes in
160the image, thusly saving a lot of space.</para>
161<para><emphasis>PMVFast and EPZS with diamond a sqare pattern motion
162estimation</emphasis></para>
163<para>Fast Motion detection that can refer a square or diamond
164shaped pattern to different directions.</para>
165<para><emphasis>inter4v mode</emphasis></para>
166<para>Fast interpolation ability.</para>
167<para><emphasis>fullpixel and halfpixel precision</emphasis></para>
168<para>Even halfpixel movements can be encoded. Better precision
169results in better compression at better quality.</para>
170<para><emphasis>both MPEG-4 and H263 quantizations</emphasis></para>
171<para>MPEG-4 is the standard DivX was derived from. H263 is a
172slightly changed subset of that standard made by Microsoft. Quantization
173means to map the quantity of color values to numbers.</para>
174<para><emphasis>custom quant matrices</emphasis></para>
175<para>The quantization can be done using custom matrices,
176possibly giving better results if the matrix is made to suit the video
177data. Every normal user should be fine with the default matrix that comes
178with <application>XviD</application>.</para>
179<para><emphasis>Adaptive quantization / Luminance masking</emphasis></para>
180<para>Qantization and Luminance masking are variant, depending
181on the input material, therefore providing better results on dark or very
182contrasting images.</para>
183-->
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.