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