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