[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>
|
---|
[371ff30] | 68 | <para role="optional">X (<xref linkend="xorg"/>, <xref linkend="xfree86"/>
|
---|
| 69 | or <xref linkend="xorg7"/>)
|
---|
[a747b3c] | 70 | and <xref linkend="sdl"/></para>
|
---|
[642723b] | 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of libmpeg2</title>
|
---|
| 76 |
|
---|
| 77 | <para>Install <application>libmpeg2</application> by running the following
|
---|
| 78 | commands:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput>./configure --prefix=/usr --enable-shared &&
|
---|
| 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>To test the results, issue: <command>make check</command>. To
|
---|
| 84 | perform a more comprehensive regression test, see the file
|
---|
| 85 | <filename>test/README</filename> in the source tree.</para>
|
---|
| 86 |
|
---|
| 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>make install &&
|
---|
| 90 | install -v -m755 -d /usr/share/doc/mpeg2dec-0.4.0b &&
|
---|
| 91 | install -v -m644 README doc/libmpeg2.txt \
|
---|
| 92 | /usr/share/doc/mpeg2dec-0.4.0b &&
|
---|
| 93 | install -v -m755 doc/sample? /usr/share/doc/mpeg2dec-0.4.0b</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="commands">
|
---|
| 98 | <title>Command Explanations</title>
|
---|
| 99 |
|
---|
| 100 | <para><parameter>--enable-shared</parameter>: This parameter forces
|
---|
| 101 | building shared versions of the libraries as well as the static
|
---|
| 102 | versions.</para>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="content">
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
| 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Libraries</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
| 115 | <seg>corrupt_mpeg2, extract_mpeg2 and mpeg2dec</seg>
|
---|
| 116 | <seg>libmpeg2.[so,a] and libmpeg2convert.[so,a]</seg>
|
---|
| 117 | <seg>/usr/include/mpeg2dec and
|
---|
| 118 | /usr/share/doc/mpeg2dec-&libmpeg2-version;</seg>
|
---|
| 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 | <?dbhtml list-presentation="table"?>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="extract_mpeg2">
|
---|
| 128 | <term><command>extract_mpeg2</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para>extracts MPEG video streams from a multiplexed stream.</para>
|
---|
| 131 | <indexterm zone="libmpeg2 extract_mpeg2">
|
---|
| 132 | <primary sortas="b-extract_mpeg2">extract_mpeg2</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="mpeg2dec">
|
---|
| 138 | <term><command>mpeg2dec</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>decodes MPEG1 and MPEG2 video streams.</para>
|
---|
| 141 | <indexterm zone="libmpeg2 mpeg2dec">
|
---|
| 142 | <primary sortas="b-mpeg2dec">mpeg2dec</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="libmpeg2-lib">
|
---|
| 148 | <term><filename class='libraryfile'>libmpeg2.[so,a]</filename></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>contains API functions used to decode MPEG video streams.</para>
|
---|
| 151 | <indexterm zone="libmpeg2 libmpeg2-lib">
|
---|
| 152 | <primary sortas="c-libmpeg2">libmpeg2.[so,a]</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libmpeg2convert">
|
---|
| 158 | <term><filename class='libraryfile'>libmpeg2convert.[so,a]</filename></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>contains API functions used for color conversions of MPEG
|
---|
| 161 | video streams.</para>
|
---|
| 162 | <indexterm zone="libmpeg2 libmpeg2convert">
|
---|
| 163 | <primary sortas="c-libmpeg2convert">libmpeg2convert.[so,a]</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|