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