[642723b] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 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">
|
---|
| 8 | <!ENTITY libmpeg2-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles//mpeg2dec-&libmpeg2-version;.tar.gz">
|
---|
| 9 | <!ENTITY libmpeg2-md5sum "52d10ea80595ec83d8557ba7ac6dc8e6">
|
---|
| 10 | <!ENTITY libmpeg2-size "473 KB">
|
---|
| 11 | <!ENTITY libmpeg2-buildsize "7.1 MB">
|
---|
| 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>
|
---|
[a747b3c] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">mpeg2dec-&libmpeg2-version;.tar</keyword>
|
---|
[f15e274] | 23 | <keyword role="ftpdir">mpeg2dec</keyword>
|
---|
[a747b3c] | 24 | </keywordset>
|
---|
[642723b] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>libmpeg2-&libmpeg2-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="libmpeg2">
|
---|
| 30 | <primary sortas="a-libmpeg2">libmpeg2</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to libmpeg2</title>
|
---|
| 35 |
|
---|
| 36 | <para>The <application>libmpeg2</application> package contains a library
|
---|
| 37 | for decoding MPEG-2 and MPEG-1 video streams. The library is able to decode
|
---|
| 38 | all MPEG streams that conform to certain restrictions: <quote>constrained
|
---|
| 39 | parameters</quote> for MPEG-1, and <quote>main profile</quote> for MPEG-2.
|
---|
| 40 | This is useful for programs and applications needing to decode MPEG-2 and
|
---|
| 41 | MPEG-1 video streams.</para>
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (HTTP): <ulink url="&libmpeg2-download-http;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download (FTP): <ulink url="&libmpeg2-download-ftp;"/></para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download MD5 sum: &libmpeg2-md5sum;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Download size: &libmpeg2-size;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated disk space required: &libmpeg2-buildsize;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Estimated build time: &libmpeg2-time;</para>
|
---|
| 62 | </listitem>
|
---|
| 63 | </itemizedlist>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect3">libmpeg2 Dependencies</bridgehead>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e77976f] | 68 | <para role="optional"><xref linkend="x-window-system"/> and
|
---|
| 69 | <xref linkend="sdl"/></para>
|
---|
[642723b] | 70 |
|
---|
[0e2aa08] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/libmpeg2"/></para>
|
---|
| 73 |
|
---|
[642723b] | 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of libmpeg2</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>libmpeg2</application> by running the following
|
---|
| 80 | commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr --enable-shared &&
|
---|
| 83 | make</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>To test the results, issue: <command>make check</command>. To
|
---|
| 86 | perform a more comprehensive regression test, see the file
|
---|
| 87 | <filename>test/README</filename> in the source tree.</para>
|
---|
| 88 |
|
---|
| 89 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 90 |
|
---|
| 91 | <screen role="root"><userinput>make install &&
|
---|
| 92 | install -v -m755 -d /usr/share/doc/mpeg2dec-0.4.0b &&
|
---|
| 93 | install -v -m644 README doc/libmpeg2.txt \
|
---|
| 94 | /usr/share/doc/mpeg2dec-0.4.0b &&
|
---|
| 95 | install -v -m755 doc/sample? /usr/share/doc/mpeg2dec-0.4.0b</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="commands">
|
---|
| 100 | <title>Command Explanations</title>
|
---|
| 101 |
|
---|
| 102 | <para><parameter>--enable-shared</parameter>: This parameter forces
|
---|
| 103 | building shared versions of the libraries as well as the static
|
---|
| 104 | versions.</para>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="content">
|
---|
| 109 | <title>Contents</title>
|
---|
| 110 |
|
---|
| 111 | <segmentedlist>
|
---|
| 112 | <segtitle>Installed Programs</segtitle>
|
---|
| 113 | <segtitle>Installed Libraries</segtitle>
|
---|
| 114 | <segtitle>Installed Directories</segtitle>
|
---|
| 115 |
|
---|
| 116 | <seglistitem>
|
---|
| 117 | <seg>corrupt_mpeg2, extract_mpeg2 and mpeg2dec</seg>
|
---|
[0e2aa08] | 118 | <seg>libmpeg2.{so,a} and libmpeg2convert.{so,a}</seg>
|
---|
[642723b] | 119 | <seg>/usr/include/mpeg2dec and
|
---|
| 120 | /usr/share/doc/mpeg2dec-&libmpeg2-version;</seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | <variablelist>
|
---|
| 125 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 126 | <?dbfo list-presentation="list"?>
|
---|
| 127 | <?dbhtml list-presentation="table"?>
|
---|
| 128 |
|
---|
| 129 | <varlistentry id="extract_mpeg2">
|
---|
| 130 | <term><command>extract_mpeg2</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>extracts MPEG video streams from a multiplexed stream.</para>
|
---|
| 133 | <indexterm zone="libmpeg2 extract_mpeg2">
|
---|
| 134 | <primary sortas="b-extract_mpeg2">extract_mpeg2</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="mpeg2dec">
|
---|
| 140 | <term><command>mpeg2dec</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>decodes MPEG1 and MPEG2 video streams.</para>
|
---|
| 143 | <indexterm zone="libmpeg2 mpeg2dec">
|
---|
| 144 | <primary sortas="b-mpeg2dec">mpeg2dec</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="libmpeg2-lib">
|
---|
[0e2aa08] | 150 | <term><filename class='libraryfile'>libmpeg2.{so,a}</filename></term>
|
---|
[642723b] | 151 | <listitem>
|
---|
| 152 | <para>contains API functions used to decode MPEG video streams.</para>
|
---|
| 153 | <indexterm zone="libmpeg2 libmpeg2-lib">
|
---|
[0e2aa08] | 154 | <primary sortas="c-libmpeg2">libmpeg2.{so,a}</primary>
|
---|
[642723b] | 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="libmpeg2convert">
|
---|
[0e2aa08] | 160 | <term><filename class='libraryfile'>libmpeg2convert.{so,a}</filename></term>
|
---|
[642723b] | 161 | <listitem>
|
---|
| 162 | <para>contains API functions used for color conversions of MPEG
|
---|
| 163 | video streams.</para>
|
---|
| 164 | <indexterm zone="libmpeg2 libmpeg2convert">
|
---|
[0e2aa08] | 165 | <primary sortas="c-libmpeg2convert">libmpeg2convert.{so,a}</primary>
|
---|
[642723b] | 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | </variablelist>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | </sect1>
|
---|