source: multimedia/libdriv/libmpeg2.xml@ 18a8da63

10.0 10.1 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 18a8da63 was 62c0ce6, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to x264-20200218
Tags for webkitgtk dependencies

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23580 af4574ff-66df-0310-9fd7-8a98e5e911e0

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