source: multimedia/libdriv/libmpeg2.xml@ 99e72b1

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 99e72b1 was 99e72b1, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags, mostly multimedia libraries.

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