source: multimedia/libdriv/libmpeg2.xml@ b5ad7a4

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b5ad7a4 was dc1a45e, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Lots of tags

  • Property mode set to 100644
File size: 6.6 KB
RevLine 
[642723b]1<?xml version="1.0" encoding="ISO-8859-1"?>
[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">
[c7ed4f4d]8 <!ENTITY libmpeg2-download-ftp "&gentoo-ftp-repo;/libmpeg2-&libmpeg2-version;.tar.gz">
[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
[dc1a45e]37 &lfs113_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
[0e2aa08]81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/libmpeg2"/></para>
83
[642723b]84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of libmpeg2</title>
88
[2eeb8695]89 <para>
90 Install <application>libmpeg2</application> by running the following
91 commands:
92 </para>
[642723b]93
[d5e3ba1]94<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c &amp;&amp;
[41d241e]95
96./configure --prefix=/usr \
97 --enable-shared \
98 --disable-static &amp;&amp;
[642723b]99make</userinput></screen>
100
[2eeb8695]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>
[642723b]106
[2eeb8695]107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
[642723b]110
111<screen role="root"><userinput>make install &amp;&amp;
[41d241e]112
[d713820]113install -v -m755 -d /usr/share/doc/libmpeg2-&libmpeg2-version; &amp;&amp;
[642723b]114install -v -m644 README doc/libmpeg2.txt \
[d713820]115 /usr/share/doc/libmpeg2-&libmpeg2-version;</userinput></screen>
[642723b]116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
[2eeb8695]122 <para>
123 <command>sed -i ...</command>: This <command>sed</command> fixes
124 problems with recent GCC compilers.
125 </para>
[41d241e]126
127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
128 href="../../xincludes/static-libraries.xml"/>
129
[642723b]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>
[41d241e]142 <seg>libmpeg2.so and libmpeg2convert.so</seg>
143 <seg>
144 /usr/include/mpeg2dec and
[d713820]145 /usr/share/doc/libmpeg2-&libmpeg2-version;
[41d241e]146 </seg>
[642723b]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
[3559b1be]155<!--
156 Don't fill this one in. It's designed for a user to corrupt their own
[8558044]157 mpeg files, which can be used for malice.
[e5e7a1d]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-->
[642723b]170 <varlistentry id="extract_mpeg2">
171 <term><command>extract_mpeg2</command></term>
172 <listitem>
[2eeb8695]173 <para>
[4c24eb0a]174 extracts MPEG video streams from a multiplexed stream
[2eeb8695]175 </para>
[642723b]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>
[2eeb8695]185 <para>
[4c24eb0a]186 decodes MPEG1 and MPEG2 video streams
[2eeb8695]187 </para>
[642723b]188 <indexterm zone="libmpeg2 mpeg2dec">
189 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="libmpeg2-lib">
[4c24eb0a]195 <term><filename class="libraryfile">libmpeg2.so</filename></term>
[642723b]196 <listitem>
[2eeb8695]197 <para>
[4c24eb0a]198 contains API functions used to decode MPEG video streams
[2eeb8695]199 </para>
[642723b]200 <indexterm zone="libmpeg2 libmpeg2-lib">
[27747668]201 <primary sortas="c-libmpeg2">libmpeg2.so</primary>
[642723b]202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="libmpeg2convert">
[4c24eb0a]207 <term><filename class="libraryfile">libmpeg2convert.so</filename></term>
[642723b]208 <listitem>
[2eeb8695]209 <para>
210 contains API functions used for color conversions of MPEG
[4c24eb0a]211 video streams
[2eeb8695]212 </para>
[642723b]213 <indexterm zone="libmpeg2 libmpeg2convert">
[27747668]214 <primary sortas="c-libmpeg2convert">libmpeg2convert.so</primary>
[642723b]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.