source: multimedia/libdriv/libmpeg2.xml@ 2eeb8695

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 2eeb8695 was 2eeb8695, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format multimedia chapter

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