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
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[642723b]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[17aa21c]7 <!ENTITY libmpeg2-download-http "https://libmpeg2.sourceforge.net/files/libmpeg2-&libmpeg2-version;.tar.gz">
[921174d5]8 <!ENTITY libmpeg2-download-ftp " ">
[b3067411]9 <!ENTITY libmpeg2-md5sum "0f92c7454e58379b4a5a378485bbd8ef">
10 <!ENTITY libmpeg2-size "513 KB">
11 <!ENTITY libmpeg2-buildsize "6 MB">
12 <!ENTITY libmpeg2-time "0.1 SBU">
[642723b]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
[2eeb8695]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>
[642723b]36
[181e069f]37 &lfs121_checked;
[7f4cdbc0]38
[642723b]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[2eeb8695]42 <para>
43 Download (HTTP): <ulink url="&libmpeg2-download-http;"/>
44 </para>
[642723b]45 </listitem>
46 <listitem>
[2eeb8695]47 <para>
48 Download (FTP): <ulink url="&libmpeg2-download-ftp;"/>
49 </para>
[642723b]50 </listitem>
51 <listitem>
[2eeb8695]52 <para>
53 Download MD5 sum: &libmpeg2-md5sum;
54 </para>
[642723b]55 </listitem>
56 <listitem>
[2eeb8695]57 <para>
58 Download size: &libmpeg2-size;
59 </para>
[642723b]60 </listitem>
61 <listitem>
[2eeb8695]62 <para>
63 Estimated disk space required: &libmpeg2-buildsize;
64 </para>
[642723b]65 </listitem>
66 <listitem>
[2eeb8695]67 <para>
68 Estimated build time: &libmpeg2-time;
69 </para>
[642723b]70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libmpeg2 Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
[63228ac1]76 <para role="optional">
77 <xref linkend="x-window-system"/> and
78 <xref linkend="sdl"/>
79 </para>
[642723b]80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of libmpeg2</title>
85
[2eeb8695]86 <para>
87 Install <application>libmpeg2</application> by running the following
88 commands:
89 </para>
[642723b]90
[d5e3ba1]91<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c &amp;&amp;
[41d241e]92
93./configure --prefix=/usr \
94 --enable-shared \
95 --disable-static &amp;&amp;
[642723b]96make</userinput></screen>
97
[2eeb8695]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>
[642723b]103
[2eeb8695]104 <para>
105 Now, as the <systemitem class="username">root</systemitem> user:
106 </para>
[642723b]107
108<screen role="root"><userinput>make install &amp;&amp;
[41d241e]109
[d713820]110install -v -m755 -d /usr/share/doc/libmpeg2-&libmpeg2-version; &amp;&amp;
[642723b]111install -v -m644 README doc/libmpeg2.txt \
[d713820]112 /usr/share/doc/libmpeg2-&libmpeg2-version;</userinput></screen>
[642723b]113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
[2eeb8695]119 <para>
120 <command>sed -i ...</command>: This <command>sed</command> fixes
121 problems with recent GCC compilers.
122 </para>
[41d241e]123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../../xincludes/static-libraries.xml"/>
126
[642723b]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>
[41d241e]139 <seg>libmpeg2.so and libmpeg2convert.so</seg>
140 <seg>
141 /usr/include/mpeg2dec and
[d713820]142 /usr/share/doc/libmpeg2-&libmpeg2-version;
[41d241e]143 </seg>
[642723b]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
[3559b1be]152<!--
153 Don't fill this one in. It's designed for a user to corrupt their own
[8558044]154 mpeg files, which can be used for malice.
[e5e7a1d]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-->
[642723b]167 <varlistentry id="extract_mpeg2">
168 <term><command>extract_mpeg2</command></term>
169 <listitem>
[2eeb8695]170 <para>
[4c24eb0a]171 extracts MPEG video streams from a multiplexed stream
[2eeb8695]172 </para>
[642723b]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>
[2eeb8695]182 <para>
[4c24eb0a]183 decodes MPEG1 and MPEG2 video streams
[2eeb8695]184 </para>
[642723b]185 <indexterm zone="libmpeg2 mpeg2dec">
186 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="libmpeg2-lib">
[4c24eb0a]192 <term><filename class="libraryfile">libmpeg2.so</filename></term>
[642723b]193 <listitem>
[2eeb8695]194 <para>
[4c24eb0a]195 contains API functions used to decode MPEG video streams
[2eeb8695]196 </para>
[642723b]197 <indexterm zone="libmpeg2 libmpeg2-lib">
[27747668]198 <primary sortas="c-libmpeg2">libmpeg2.so</primary>
[642723b]199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libmpeg2convert">
[4c24eb0a]204 <term><filename class="libraryfile">libmpeg2convert.so</filename></term>
[642723b]205 <listitem>
[2eeb8695]206 <para>
207 contains API functions used for color conversions of MPEG
[4c24eb0a]208 video streams
[2eeb8695]209 </para>
[642723b]210 <indexterm zone="libmpeg2 libmpeg2convert">
[27747668]211 <primary sortas="c-libmpeg2convert">libmpeg2convert.so</primary>
[642723b]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.