source: multimedia/libdriv/libmpeg2.xml@ eede1a3

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 eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 6.7 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
[b3067411]7 <!ENTITY libmpeg2-download-http "http://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 <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
[2eeb8695]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>
[642723b]39
[d437f756]40 &lfs101_checked;
[7f4cdbc0]41
[642723b]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[2eeb8695]45 <para>
46 Download (HTTP): <ulink url="&libmpeg2-download-http;"/>
47 </para>
[642723b]48 </listitem>
49 <listitem>
[2eeb8695]50 <para>
51 Download (FTP): <ulink url="&libmpeg2-download-ftp;"/>
52 </para>
[642723b]53 </listitem>
54 <listitem>
[2eeb8695]55 <para>
56 Download MD5 sum: &libmpeg2-md5sum;
57 </para>
[642723b]58 </listitem>
59 <listitem>
[2eeb8695]60 <para>
61 Download size: &libmpeg2-size;
62 </para>
[642723b]63 </listitem>
64 <listitem>
[2eeb8695]65 <para>
66 Estimated disk space required: &libmpeg2-buildsize;
67 </para>
[642723b]68 </listitem>
69 <listitem>
[2eeb8695]70 <para>
71 Estimated build time: &libmpeg2-time;
72 </para>
[642723b]73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">libmpeg2 Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
[63228ac1]79 <para role="optional">
80 <xref linkend="x-window-system"/> and
81 <xref linkend="sdl"/>
82 </para>
[642723b]83
[0e2aa08]84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/libmpeg2"/></para>
86
[642723b]87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of libmpeg2</title>
91
[2eeb8695]92 <para>
93 Install <application>libmpeg2</application> by running the following
94 commands:
95 </para>
[642723b]96
[d5e3ba1]97<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c &amp;&amp;
[41d241e]98
99./configure --prefix=/usr \
100 --enable-shared \
101 --disable-static &amp;&amp;
[642723b]102make</userinput></screen>
103
[2eeb8695]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>
[642723b]109
[2eeb8695]110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
[642723b]113
114<screen role="root"><userinput>make install &amp;&amp;
[41d241e]115
[60ac542]116install -v -m755 -d /usr/share/doc/mpeg2dec-&libmpeg2-version; &amp;&amp;
[642723b]117install -v -m644 README doc/libmpeg2.txt \
[60ac542]118 /usr/share/doc/mpeg2dec-&libmpeg2-version;</userinput></screen>
[642723b]119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
[2eeb8695]125 <para>
126 <command>sed -i ...</command>: This <command>sed</command> fixes
127 problems with recent GCC compilers.
128 </para>
[41d241e]129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
132
[642723b]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>
[41d241e]145 <seg>libmpeg2.so and libmpeg2convert.so</seg>
146 <seg>
147 /usr/include/mpeg2dec and
148 /usr/share/doc/mpeg2dec-&libmpeg2-version;
149 </seg>
[642723b]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
[3559b1be]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.
[e5e7a1d]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-->
[642723b]173 <varlistentry id="extract_mpeg2">
174 <term><command>extract_mpeg2</command></term>
175 <listitem>
[2eeb8695]176 <para>
[4c24eb0a]177 extracts MPEG video streams from a multiplexed stream
[2eeb8695]178 </para>
[642723b]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>
[2eeb8695]188 <para>
[4c24eb0a]189 decodes MPEG1 and MPEG2 video streams
[2eeb8695]190 </para>
[642723b]191 <indexterm zone="libmpeg2 mpeg2dec">
192 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="libmpeg2-lib">
[4c24eb0a]198 <term><filename class="libraryfile">libmpeg2.so</filename></term>
[642723b]199 <listitem>
[2eeb8695]200 <para>
[4c24eb0a]201 contains API functions used to decode MPEG video streams
[2eeb8695]202 </para>
[642723b]203 <indexterm zone="libmpeg2 libmpeg2-lib">
[27747668]204 <primary sortas="c-libmpeg2">libmpeg2.so</primary>
[642723b]205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 <varlistentry id="libmpeg2convert">
[4c24eb0a]210 <term><filename class="libraryfile">libmpeg2convert.so</filename></term>
[642723b]211 <listitem>
[2eeb8695]212 <para>
213 contains API functions used for color conversions of MPEG
[4c24eb0a]214 video streams
[2eeb8695]215 </para>
[642723b]216 <indexterm zone="libmpeg2 libmpeg2convert">
[27747668]217 <primary sortas="c-libmpeg2convert">libmpeg2convert.so</primary>
[642723b]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.