source: multimedia/libdriv/libmpeg2.xml@ 476e234f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 476e234f was 476e234f, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Add a sed to libmpeg2 to avoid a segfault that occurs when using recent
compilers.

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

  • Property mode set to 100644
File size: 5.9 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>The <application>libmpeg2</application> package contains a library
33 for 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.</para>
38
39 &lfs70_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&libmpeg2-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&libmpeg2-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &libmpeg2-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &libmpeg2-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &libmpeg2-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &libmpeg2-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">libmpeg2 Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Optional</bridgehead>
66 <para role="optional"><xref linkend="x-window-system"/> and
67 <xref linkend="sdl"/></para>
68
69 <para condition="html" role="usernotes">User Notes:
70 <ulink url="&blfs-wiki;/libmpeg2"/></para>
71
72 </sect2>
73
74 <sect2 role="installation">
75 <title>Installation of libmpeg2</title>
76
77 <para>First a problem that occurs in more recent compilers:</para>
78
79<screen><userinput>sed -i 's/static const/static/' libmpeg2/idct_mmx.c</userinput></screen>
80
81 <para>Install <application>libmpeg2</application> by running the following
82 commands:</para>
83
84<screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
85make</userinput></screen>
86
87 <para>To test the results, issue: <command>make check</command>. To
88 perform a more comprehensive regression test, see the file
89 <filename>test/README</filename> in the source tree.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install &amp;&amp;
94install -v -m755 -d /usr/share/doc/mpeg2dec-&libmpeg2-version; &amp;&amp;
95install -v -m644 README doc/libmpeg2.txt \
96 /usr/share/doc/mpeg2dec-&libmpeg2-version;</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <para><parameter>--enable-shared</parameter>: This parameter forces
104 building shared versions of the libraries as well as the static
105 versions.</para>
106
107 </sect2>
108
109 <sect2 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Libraries</segtitle>
115 <segtitle>Installed Directories</segtitle>
116
117 <seglistitem>
118 <seg>corrupt_mpeg2, extract_mpeg2 and mpeg2dec</seg>
119 <seg>libmpeg2.{so,a} and libmpeg2convert.{so,a}</seg>
120 <seg>/usr/include/mpeg2dec and
121 /usr/share/doc/mpeg2dec-&libmpeg2-version;</seg>
122 </seglistitem>
123 </segmentedlist>
124
125 <variablelist>
126 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
127 <?dbfo list-presentation="list"?>
128 <?dbhtml list-presentation="table"?>
129
130 <varlistentry id="extract_mpeg2">
131 <term><command>extract_mpeg2</command></term>
132 <listitem>
133 <para>extracts MPEG video streams from a multiplexed stream.</para>
134 <indexterm zone="libmpeg2 extract_mpeg2">
135 <primary sortas="b-extract_mpeg2">extract_mpeg2</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="mpeg2dec">
141 <term><command>mpeg2dec</command></term>
142 <listitem>
143 <para>decodes MPEG1 and MPEG2 video streams.</para>
144 <indexterm zone="libmpeg2 mpeg2dec">
145 <primary sortas="b-mpeg2dec">mpeg2dec</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="libmpeg2-lib">
151 <term><filename class='libraryfile'>libmpeg2.{so,a}</filename></term>
152 <listitem>
153 <para>contains API functions used to decode MPEG video streams.</para>
154 <indexterm zone="libmpeg2 libmpeg2-lib">
155 <primary sortas="c-libmpeg2">libmpeg2.{so,a}</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="libmpeg2convert">
161 <term><filename class='libraryfile'>libmpeg2convert.{so,a}</filename></term>
162 <listitem>
163 <para>contains API functions used for color conversions of MPEG
164 video streams.</para>
165 <indexterm zone="libmpeg2 libmpeg2convert">
166 <primary sortas="c-libmpeg2convert">libmpeg2convert.{so,a}</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.