[96570d92] | 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" [
|
---|
[8d8631b5] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[911d4c74] | 6 |
|
---|
[15b3bc29] | 7 | <!ENTITY lame-download-http "http://downloads.sourceforge.net/lame/lame-&lame-version;.tar.gz">
|
---|
[8d8631b5] | 8 | <!ENTITY lame-download-ftp " ">
|
---|
[c1b066a] | 9 | <!ENTITY lame-md5sum "90a4acbb730d150dfe80de145126eef7">
|
---|
[911d4c74] | 10 | <!ENTITY lame-size "1.3 MB">
|
---|
[c1b066a] | 11 | <!ENTITY lame-buildsize "18 MB">
|
---|
[a660464] | 12 | <!ENTITY lame-time "0.4 SBU">
|
---|
[8d8631b5] | 13 | ]>
|
---|
| 14 |
|
---|
[5db3785e] | 15 | <sect1 id="lame" xreflabel="LAME-&lame-version;">
|
---|
[15b9d663] | 16 | <?dbhtml filename="lame.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>LAME-&lame-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="lame">
|
---|
| 26 | <primary sortas="a-LAME">LAME</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to LAME</title>
|
---|
| 31 |
|
---|
[e204bf91] | 32 | <para>The <application>LAME</application> package contains
|
---|
| 33 | an MP3 encoder and optionally, an MP3 frame analyzer. This is useful
|
---|
[15b9d663] | 34 | for creating and analyzing compressed audio files.</para>
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&lame-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&lame-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &lame-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &lame-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &lame-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &lame-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
| 58 | <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4b4814c2] | 61 | <para role="optional"><xref linkend="GTK"/>,
|
---|
[e204bf91] | 62 | <xref linkend="NASM"/>,
|
---|
[a660464] | 63 | <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>
|
---|
| 64 | (support is currently broken),
|
---|
[e204bf91] | 65 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
---|
[15b9d663] | 66 | <ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
|
---|
| 67 |
|
---|
[0e2aa08] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/lame"/></para>
|
---|
| 70 |
|
---|
[15b9d663] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of LAME</title>
|
---|
| 75 |
|
---|
[e204bf91] | 76 | <para>Install <application>LAME</application> by running
|
---|
[15b9d663] | 77 | the following commands:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput>./configure --prefix=/usr --enable-mp3rtp &&
|
---|
| 80 | make</userinput></screen>
|
---|
| 81 |
|
---|
[b61b128] | 82 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
| 83 |
|
---|
[15b9d663] | 84 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 85 |
|
---|
| 86 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="commands">
|
---|
| 91 | <title>Command Explanations</title>
|
---|
| 92 |
|
---|
[e204bf91] | 93 | <para><parameter>--enable-mp3rtp</parameter>: Builds the
|
---|
[15b9d663] | 94 | encode-to-RTP program.</para>
|
---|
[8d8631b5] | 95 |
|
---|
[a6d8d61] | 96 | <para><option>--enable-mp3x</option>: Builds the <command>mp3x</command>
|
---|
[a660464] | 97 | frame analyzer program (requires <application>GTK+</application>).</para>
|
---|
[8d8631b5] | 98 |
|
---|
[15b9d663] | 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="content">
|
---|
| 102 | <title>Contents</title>
|
---|
| 103 |
|
---|
| 104 | <segmentedlist>
|
---|
| 105 | <segtitle>Installed Programs</segtitle>
|
---|
| 106 | <segtitle>Installed Library</segtitle>
|
---|
| 107 | <segtitle>Installed Directories</segtitle>
|
---|
| 108 |
|
---|
| 109 | <seglistitem>
|
---|
| 110 | <seg>lame, mp3rtp, and optionally, mp3x</seg>
|
---|
[0e2aa08] | 111 | <seg>libmp3lame.{so,a}</seg>
|
---|
[15b9d663] | 112 | <seg>/usr/include/lame and /usr/share/doc/lame</seg>
|
---|
| 113 | </seglistitem>
|
---|
| 114 | </segmentedlist>
|
---|
| 115 |
|
---|
| 116 | <variablelist>
|
---|
| 117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 118 | <?dbfo list-presentation="list"?>
|
---|
| 119 | <?dbhtml list-presentation="table"?>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="lame-prog">
|
---|
| 122 | <term><command>lame</command></term>
|
---|
| 123 | <listitem>
|
---|
[e204bf91] | 124 | <para>creates MP3 audio files from raw
|
---|
[15b9d663] | 125 | PCM or <filename>.wav</filename> data.</para>
|
---|
| 126 | <indexterm zone="lame lame-prog">
|
---|
| 127 | <primary sortas="b-lame">lame</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="mp3rtp">
|
---|
| 133 | <term><command>mp3rtp</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para>is used to encode MP3 with RTP streaming of the output.</para>
|
---|
| 136 | <indexterm zone="lame mp3rtp">
|
---|
| 137 | <primary sortas="b-mp3rtp">mp3rtp</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="mp3x">
|
---|
| 143 | <term><command>mp3x</command></term>
|
---|
| 144 | <listitem>
|
---|
[e204bf91] | 145 | <para>is a <application>GTK</application> based graphical MP3
|
---|
| 146 | frame analyzer used for debugging, development and studying MP3
|
---|
[15b9d663] | 147 | frames produced by any encoder.</para>
|
---|
| 148 | <indexterm zone="lame mp3x">
|
---|
| 149 | <primary sortas="b-mp3x">mp3x</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="libmp3lame">
|
---|
[0e2aa08] | 155 | <term><filename class='libraryfile'>libmp3lame.{so,a}</filename></term>
|
---|
[15b9d663] | 156 | <listitem>
|
---|
[e204bf91] | 157 | <para>libraries provide the functions necessary to convert
|
---|
[15b9d663] | 158 | raw PCM and WAV files to MP3 files.</para>
|
---|
| 159 | <indexterm zone="lame libmp3lame">
|
---|
[0e2aa08] | 160 | <primary sortas="c-libmp3lame">libmp3lame.{so,a}</primary>
|
---|
[15b9d663] | 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | </variablelist>
|
---|
| 166 |
|
---|
| 167 | </sect2>
|
---|
[f45b1953] | 168 |
|
---|
| 169 | </sect1>
|
---|