source: multimedia/libdriv/libmpeg2.xml@ 05eb990a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 05eb990a was 17aa21c, checked in by Xi Ruoyao <xry111@…>, 16 months ago

Change all http://*.sourceforge.net/ URLs to https

Now all sourceforge.net subdomains have a valid SSL certificate. The
changes are automatically done via a sed. I've reviewed the changes and
reverted the changes in archive/*, pst/xml/docbook-xsl.xml, and
stylesheets/lfs-xsl/lfs-l10n.xml. Other changes should (hopefully) be
fine.

  • 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.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 "&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
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 &lfs112_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 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/libmpeg2"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of libmpeg2</title>
88
89 <para>
90 Install <application>libmpeg2</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c &amp;&amp;
95
96./configure --prefix=/usr \
97 --enable-shared \
98 --disable-static &amp;&amp;
99make</userinput></screen>
100
101 <para>
102 To test the results, issue: <command>make check</command>. To
103 perform a more comprehensive regression test, see the file
104 <filename>test/README</filename> in the source tree.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install &amp;&amp;
112
113install -v -m755 -d /usr/share/doc/libmpeg2-&libmpeg2-version; &amp;&amp;
114install -v -m644 README doc/libmpeg2.txt \
115 /usr/share/doc/libmpeg2-&libmpeg2-version;</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para>
123 <command>sed -i ...</command>: This <command>sed</command> fixes
124 problems with recent GCC compilers.
125 </para>
126
127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
128 href="../../xincludes/static-libraries.xml"/>
129
130 </sect2>
131
132 <sect2 role="content">
133 <title>Contents</title>
134
135 <segmentedlist>
136 <segtitle>Installed Programs</segtitle>
137 <segtitle>Installed Libraries</segtitle>
138 <segtitle>Installed Directories</segtitle>
139
140 <seglistitem>
141 <seg>corrupt_mpeg2, extract_mpeg2 and mpeg2dec</seg>
142 <seg>libmpeg2.so and libmpeg2convert.so</seg>
143 <seg>
144 /usr/include/mpeg2dec and
145 /usr/share/doc/libmpeg2-&libmpeg2-version;
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155<!--
156 Don't fill this one in. It's designed for a user to corrupt their own
157 mpeg files, which can be used for malice.
158 <varlistentry id="corrupt_mpeg2">
159 <term><command>corrupt_mpeg2</command></term>
160 <listitem>
161 <para>
162
163 </para>
164 <indexterm zone="libmpeg2 corrupt_mpeg2">
165 <primary sortas="b-corrupt_mpeg2">corrupt_mpeg2</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169-->
170 <varlistentry id="extract_mpeg2">
171 <term><command>extract_mpeg2</command></term>
172 <listitem>
173 <para>
174 extracts MPEG video streams from a multiplexed stream
175 </para>
176 <indexterm zone="libmpeg2 extract_mpeg2">
177 <primary sortas="b-extract_mpeg2">extract_mpeg2</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="mpeg2dec">
183 <term><command>mpeg2dec</command></term>
184 <listitem>
185 <para>
186 decodes MPEG1 and MPEG2 video streams
187 </para>
188 <indexterm zone="libmpeg2 mpeg2dec">
189 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="libmpeg2-lib">
195 <term><filename class="libraryfile">libmpeg2.so</filename></term>
196 <listitem>
197 <para>
198 contains API functions used to decode MPEG video streams
199 </para>
200 <indexterm zone="libmpeg2 libmpeg2-lib">
201 <primary sortas="c-libmpeg2">libmpeg2.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="libmpeg2convert">
207 <term><filename class="libraryfile">libmpeg2convert.so</filename></term>
208 <listitem>
209 <para>
210 contains API functions used for color conversions of MPEG
211 video streams
212 </para>
213 <indexterm zone="libmpeg2 libmpeg2convert">
214 <primary sortas="c-libmpeg2convert">libmpeg2convert.so</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 </variablelist>
220
221 </sect2>
222
223</sect1>
Note: See TracBrowser for help on using the repository browser.