[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 |
|
---|
[fce275e] | 7 | <!ENTITY lame-download-http "&sourceforge-repo;/lame/lame-&lame-version;.tar.gz">
|
---|
[8d8631b5] | 8 | <!ENTITY lame-download-ftp " ">
|
---|
[e9bc693d] | 9 | <!ENTITY lame-md5sum "719dae0ee675d0c16e0e89952930ed35">
|
---|
[911d4c74] | 10 | <!ENTITY lame-size "1.3 MB">
|
---|
[e9bc693d] | 11 | <!ENTITY lame-buildsize "11.2 MB (without optional dependencies)">
|
---|
[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 |
|
---|
[e355f3c6] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[15b9d663] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&lame-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&lame-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &lame-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &lame-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &lame-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &lame-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4b4814c2] | 63 | <para role="optional"><xref linkend="GTK"/>,
|
---|
[e204bf91] | 64 | <xref linkend="NASM"/>,
|
---|
[a660464] | 65 | <ulink url="http://www.mega-nerd.com/libsndfile/">libsndfile</ulink>
|
---|
| 66 | (support is currently broken),
|
---|
[e204bf91] | 67 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
---|
[15b9d663] | 68 | <ulink url="http://dmalloc.com/">Dmalloc</ulink></para>
|
---|
| 69 |
|
---|
[0e2aa08] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/lame"/></para>
|
---|
| 72 |
|
---|
[15b9d663] | 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of LAME</title>
|
---|
| 77 |
|
---|
[e204bf91] | 78 | <para>Install <application>LAME</application> by running
|
---|
[15b9d663] | 79 | the following commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>./configure --prefix=/usr --enable-mp3rtp &&
|
---|
| 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
[b61b128] | 84 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
| 85 |
|
---|
[15b9d663] | 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 87 |
|
---|
| 88 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="commands">
|
---|
| 93 | <title>Command Explanations</title>
|
---|
| 94 |
|
---|
[e204bf91] | 95 | <para><parameter>--enable-mp3rtp</parameter>: Builds the
|
---|
[15b9d663] | 96 | encode-to-RTP program.</para>
|
---|
[8d8631b5] | 97 |
|
---|
[a6d8d61] | 98 | <para><option>--enable-mp3x</option>: Builds the <command>mp3x</command>
|
---|
[a660464] | 99 | frame analyzer program (requires <application>GTK+</application>).</para>
|
---|
[8d8631b5] | 100 |
|
---|
[e9bc693d] | 101 | <para><parameter>--disable-static</parameter>: prevent static libraries
|
---|
| 102 | being built and installed.</para>
|
---|
| 103 |
|
---|
[1ade38d] | 104 | <para><parameter>--enable-nasm</parameter>: Enable the use of
|
---|
| 105 | <xref linkend="NASM"/> to compile optimized assembly routines.</para>
|
---|
| 106 |
|
---|
[15b9d663] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="content">
|
---|
| 110 | <title>Contents</title>
|
---|
| 111 |
|
---|
| 112 | <segmentedlist>
|
---|
| 113 | <segtitle>Installed Programs</segtitle>
|
---|
| 114 | <segtitle>Installed Library</segtitle>
|
---|
| 115 | <segtitle>Installed Directories</segtitle>
|
---|
| 116 |
|
---|
| 117 | <seglistitem>
|
---|
| 118 | <seg>lame, mp3rtp, and optionally, mp3x</seg>
|
---|
[0e2aa08] | 119 | <seg>libmp3lame.{so,a}</seg>
|
---|
[15b9d663] | 120 | <seg>/usr/include/lame and /usr/share/doc/lame</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="lame-prog">
|
---|
| 130 | <term><command>lame</command></term>
|
---|
| 131 | <listitem>
|
---|
[e204bf91] | 132 | <para>creates MP3 audio files from raw
|
---|
[15b9d663] | 133 | PCM or <filename>.wav</filename> data.</para>
|
---|
| 134 | <indexterm zone="lame lame-prog">
|
---|
| 135 | <primary sortas="b-lame">lame</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="mp3rtp">
|
---|
| 141 | <term><command>mp3rtp</command></term>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>is used to encode MP3 with RTP streaming of the output.</para>
|
---|
| 144 | <indexterm zone="lame mp3rtp">
|
---|
| 145 | <primary sortas="b-mp3rtp">mp3rtp</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="mp3x">
|
---|
| 151 | <term><command>mp3x</command></term>
|
---|
| 152 | <listitem>
|
---|
[e204bf91] | 153 | <para>is a <application>GTK</application> based graphical MP3
|
---|
| 154 | frame analyzer used for debugging, development and studying MP3
|
---|
[15b9d663] | 155 | frames produced by any encoder.</para>
|
---|
| 156 | <indexterm zone="lame mp3x">
|
---|
| 157 | <primary sortas="b-mp3x">mp3x</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="libmp3lame">
|
---|
[0e2aa08] | 163 | <term><filename class='libraryfile'>libmp3lame.{so,a}</filename></term>
|
---|
[15b9d663] | 164 | <listitem>
|
---|
[e204bf91] | 165 | <para>libraries provide the functions necessary to convert
|
---|
[15b9d663] | 166 | raw PCM and WAV files to MP3 files.</para>
|
---|
| 167 | <indexterm zone="lame libmp3lame">
|
---|
[0e2aa08] | 168 | <primary sortas="c-libmp3lame">libmp3lame.{so,a}</primary>
|
---|
[15b9d663] | 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | </variablelist>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
[f45b1953] | 176 |
|
---|
| 177 | </sect1>
|
---|