source: multimedia/libdriv/libmpeg2.xml

trunk
Last change on this file was 181e069f, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Tag all perl modules

  • Property mode set to 100644
File size: 6.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY libmpeg2-download-http "https://libmpeg2.sourceforge.net/files/libmpeg2-&libmpeg2-version;.tar.gz">
8 <!ENTITY libmpeg2-download-ftp " ">
9 <!ENTITY libmpeg2-md5sum "0f92c7454e58379b4a5a378485bbd8ef">
10 <!ENTITY libmpeg2-size "513 KB">
11 <!ENTITY libmpeg2-buildsize "6 MB">
12 <!ENTITY libmpeg2-time "0.1 SBU">
13]>
14
15<sect1 id="libmpeg2" xreflabel="libmpeg2-&libmpeg2-version;">
16 <?dbhtml filename="libmpeg2.html"?>
17
18
19 <title>libmpeg2-&libmpeg2-version;</title>
20
21 <indexterm zone="libmpeg2">
22 <primary sortas="a-libmpeg2">libmpeg2</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libmpeg2</title>
27
28 <para>
29 The <application>libmpeg2</application> package contains a library for
30 decoding MPEG-2 and MPEG-1 video streams. The library is able to decode
31 all MPEG streams that conform to certain restrictions: <quote>constrained
32 parameters</quote> for MPEG-1, and <quote>main profile</quote> for MPEG-2.
33 This is useful for programs and applications needing to decode MPEG-2 and
34 MPEG-1 video streams.
35 </para>
36
37 &lfs121_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libmpeg2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libmpeg2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libmpeg2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libmpeg2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libmpeg2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libmpeg2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libmpeg2 Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="x-window-system"/> and
78 <xref linkend="sdl"/>
79 </para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of libmpeg2</title>
85
86 <para>
87 Install <application>libmpeg2</application> by running the following
88 commands:
89 </para>
90
91<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c &amp;&amp;
92
93./configure --prefix=/usr \
94 --enable-shared \
95 --disable-static &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make check</command>. To
100 perform a more comprehensive regression test, see the file
101 <filename>test/README</filename> in the source tree.
102 </para>
103
104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
107
108<screen role="root"><userinput>make install &amp;&amp;
109
110install -v -m755 -d /usr/share/doc/libmpeg2-&libmpeg2-version; &amp;&amp;
111install -v -m644 README doc/libmpeg2.txt \
112 /usr/share/doc/libmpeg2-&libmpeg2-version;</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para>
120 <command>sed -i ...</command>: This <command>sed</command> fixes
121 problems with recent GCC compilers.
122 </para>
123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/static-libraries.xml"/>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>corrupt_mpeg2, extract_mpeg2 and mpeg2dec</seg>
139 <seg>libmpeg2.so and libmpeg2convert.so</seg>
140 <seg>
141 /usr/include/mpeg2dec and
142 /usr/share/doc/libmpeg2-&libmpeg2-version;
143 </seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152<!--
153 Don't fill this one in. It's designed for a user to corrupt their own
154 mpeg files, which can be used for malice.
155 <varlistentry id="corrupt_mpeg2">
156 <term><command>corrupt_mpeg2</command></term>
157 <listitem>
158 <para>
159
160 </para>
161 <indexterm zone="libmpeg2 corrupt_mpeg2">
162 <primary sortas="b-corrupt_mpeg2">corrupt_mpeg2</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166-->
167 <varlistentry id="extract_mpeg2">
168 <term><command>extract_mpeg2</command></term>
169 <listitem>
170 <para>
171 extracts MPEG video streams from a multiplexed stream
172 </para>
173 <indexterm zone="libmpeg2 extract_mpeg2">
174 <primary sortas="b-extract_mpeg2">extract_mpeg2</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="mpeg2dec">
180 <term><command>mpeg2dec</command></term>
181 <listitem>
182 <para>
183 decodes MPEG1 and MPEG2 video streams
184 </para>
185 <indexterm zone="libmpeg2 mpeg2dec">
186 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libmpeg2-lib">
192 <term><filename class="libraryfile">libmpeg2.so</filename></term>
193 <listitem>
194 <para>
195 contains API functions used to decode MPEG video streams
196 </para>
197 <indexterm zone="libmpeg2 libmpeg2-lib">
198 <primary sortas="c-libmpeg2">libmpeg2.so</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libmpeg2convert">
204 <term><filename class="libraryfile">libmpeg2convert.so</filename></term>
205 <listitem>
206 <para>
207 contains API functions used for color conversions of MPEG
208 video streams
209 </para>
210 <indexterm zone="libmpeg2 libmpeg2convert">
211 <primary sortas="c-libmpeg2convert">libmpeg2convert.so</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.