[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY lame-download-http "&sourceforge-dl;/lame/lame-&lame-version;.tar.gz">
|
---|
[8d8631b5] | 8 | <!ENTITY lame-download-ftp " ">
|
---|
[934fac6] | 9 | <!ENTITY lame-md5sum "83e260acbe4389b54fe08e0bdbf7cddb">
|
---|
| 10 | <!ENTITY lame-size "1.5 MB">
|
---|
| 11 | <!ENTITY lame-buildsize "9.7 MB">
|
---|
| 12 | <!ENTITY lame-time "0.1 SBU">
|
---|
[8d8631b5] | 13 | ]>
|
---|
| 14 |
|
---|
[5db3785e] | 15 | <sect1 id="lame" xreflabel="LAME-&lame-version;">
|
---|
[15b9d663] | 16 | <?dbhtml filename="lame.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>LAME-&lame-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="lame">
|
---|
| 25 | <primary sortas="a-LAME">LAME</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to LAME</title>
|
---|
| 30 |
|
---|
[c627795] | 31 | <para>
|
---|
| 32 | The <application>LAME</application> package contains an MP3
|
---|
| 33 | encoder and optionally, an MP3 frame analyzer. This is useful
|
---|
| 34 | for creating and analyzing compressed audio files.
|
---|
| 35 | </para>
|
---|
[15b9d663] | 36 |
|
---|
[7b2fed0f] | 37 | &lfs110a_checked;
|
---|
[e355f3c6] | 38 |
|
---|
[15b9d663] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[c627795] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&lame-download-http;"/>
|
---|
| 44 | </para>
|
---|
[15b9d663] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[c627795] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&lame-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[15b9d663] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c627795] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &lame-md5sum;
|
---|
| 54 | </para>
|
---|
[15b9d663] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c627795] | 57 | <para>
|
---|
| 58 | Download size: &lame-size;
|
---|
| 59 | </para>
|
---|
[15b9d663] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c627795] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &lame-buildsize;
|
---|
| 64 | </para>
|
---|
[15b9d663] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c627795] | 67 | <para>
|
---|
| 68 | Estimated build time: &lame-time;
|
---|
| 69 | </para>
|
---|
[15b9d663] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[35bf1ea] | 76 | <para role="optional">
|
---|
[c627795] | 77 | <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
|
---|
[4a64872f] | 78 | <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
|
---|
[c627795] | 79 | <xref linkend="libsndfile"/> and
|
---|
[efdd9de] | 80 | <xref linkend="nasm"/>
|
---|
[35bf1ea] | 81 | </para>
|
---|
[15b9d663] | 82 |
|
---|
[0e2aa08] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 84 | <ulink url="&blfs-wiki;/lame"/>
|
---|
| 85 | </para>
|
---|
[15b9d663] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of LAME</title>
|
---|
| 90 |
|
---|
[c627795] | 91 | <para>
|
---|
| 92 | Install <application>LAME</application> by running
|
---|
| 93 | the following commands:
|
---|
| 94 | </para>
|
---|
[15b9d663] | 95 |
|
---|
[f5084dd] | 96 | <screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &&
|
---|
[15b9d663] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
[c627795] | 99 | <para>
|
---|
| 100 | To test the results, issue: <command>make test</command>.
|
---|
| 101 | </para>
|
---|
[b61b128] | 102 |
|
---|
[c627795] | 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
[15b9d663] | 106 |
|
---|
[24f2d4b] | 107 | <screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
|
---|
[15b9d663] | 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[c627795] | 114 | <para>
|
---|
[51c9a2b] | 115 | <parameter>--enable-mp3rtp</parameter>: This switch enables building
|
---|
| 116 | the encode-to-RTP program.
|
---|
[c627795] | 117 | </para>
|
---|
[1ade38d] | 118 |
|
---|
[f5084dd] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 120 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c627795] | 121 |
|
---|
| 122 | <para>
|
---|
| 123 | <option>--enable-nasm</option>: Enable the use of
|
---|
[efdd9de] | 124 | <xref linkend="nasm"/> to compile optimized assembly routines.
|
---|
[c627795] | 125 | </para>
|
---|
| 126 |
|
---|
[15b9d663] | 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Library</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
[c627795] | 138 | <seg>
|
---|
| 139 | lame and mp3rtp
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | libmp3lame.so
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
[755bb92] | 145 | /usr/include/lame and
|
---|
| 146 | /usr/share/doc/lame-&lame-version;
|
---|
[c627795] | 147 | </seg>
|
---|
[15b9d663] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="lame-prog">
|
---|
| 157 | <term><command>lame</command></term>
|
---|
| 158 | <listitem>
|
---|
[c627795] | 159 | <para>
|
---|
| 160 | creates MP3 audio files from raw
|
---|
[4c24eb0a] | 161 | PCM or <filename>.wav</filename> data
|
---|
[c627795] | 162 | </para>
|
---|
[15b9d663] | 163 | <indexterm zone="lame lame-prog">
|
---|
| 164 | <primary sortas="b-lame">lame</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="mp3rtp">
|
---|
| 170 | <term><command>mp3rtp</command></term>
|
---|
| 171 | <listitem>
|
---|
[c627795] | 172 | <para>
|
---|
[4c24eb0a] | 173 | is used to encode MP3 with RTP streaming of the output
|
---|
[c627795] | 174 | </para>
|
---|
[15b9d663] | 175 | <indexterm zone="lame mp3rtp">
|
---|
| 176 | <primary sortas="b-mp3rtp">mp3rtp</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="libmp3lame">
|
---|
[755bb92] | 182 | <term><filename class="libraryfile">libmp3lame.so</filename></term>
|
---|
[15b9d663] | 183 | <listitem>
|
---|
[c627795] | 184 | <para>
|
---|
| 185 | libraries provide the functions necessary to convert
|
---|
[4c24eb0a] | 186 | raw PCM and WAV files to MP3 files
|
---|
[c627795] | 187 | </para>
|
---|
[15b9d663] | 188 | <indexterm zone="lame libmp3lame">
|
---|
[c627795] | 189 | <primary sortas="c-libmp3lame">libmp3lame.so</primary>
|
---|
[15b9d663] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
[f45b1953] | 197 |
|
---|
| 198 | </sect1>
|
---|