1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY lame-download-http "&sourceforge-dl;/lame/lame-&lame-version;.tar.gz">
|
---|
8 | <!ENTITY lame-download-ftp " ">
|
---|
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">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="lame" xreflabel="LAME-&lame-version;">
|
---|
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 |
|
---|
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>
|
---|
36 |
|
---|
37 | &lfs110_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&lame-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&lame-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &lame-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &lame-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &lame-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &lame-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional">
|
---|
77 | <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
|
---|
78 | <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
|
---|
79 | <xref linkend="libsndfile"/> and
|
---|
80 | <xref linkend="nasm"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <para condition="html" role="usernotes">User Notes:
|
---|
84 | <ulink url="&blfs-wiki;/lame"/>
|
---|
85 | </para>
|
---|
86 | </sect2>
|
---|
87 |
|
---|
88 | <sect2 role="installation">
|
---|
89 | <title>Installation of LAME</title>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | Install <application>LAME</application> by running
|
---|
93 | the following commands:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>make test</command>.
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
|
---|
108 |
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="commands">
|
---|
112 | <title>Command Explanations</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | <parameter>--enable-mp3rtp</parameter>: This switch enables building
|
---|
116 | the encode-to-RTP program.
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
120 | href="../../xincludes/static-libraries.xml"/>
|
---|
121 |
|
---|
122 | <para>
|
---|
123 | <option>--enable-nasm</option>: Enable the use of
|
---|
124 | <xref linkend="nasm"/> to compile optimized assembly routines.
|
---|
125 | </para>
|
---|
126 |
|
---|
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>
|
---|
138 | <seg>
|
---|
139 | lame and mp3rtp
|
---|
140 | </seg>
|
---|
141 | <seg>
|
---|
142 | libmp3lame.so
|
---|
143 | </seg>
|
---|
144 | <seg>
|
---|
145 | /usr/include/lame and
|
---|
146 | /usr/share/doc/lame-&lame-version;
|
---|
147 | </seg>
|
---|
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>
|
---|
159 | <para>
|
---|
160 | creates MP3 audio files from raw
|
---|
161 | PCM or <filename>.wav</filename> data
|
---|
162 | </para>
|
---|
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>
|
---|
172 | <para>
|
---|
173 | is used to encode MP3 with RTP streaming of the output
|
---|
174 | </para>
|
---|
175 | <indexterm zone="lame mp3rtp">
|
---|
176 | <primary sortas="b-mp3rtp">mp3rtp</primary>
|
---|
177 | </indexterm>
|
---|
178 | </listitem>
|
---|
179 | </varlistentry>
|
---|
180 |
|
---|
181 | <varlistentry id="libmp3lame">
|
---|
182 | <term><filename class="libraryfile">libmp3lame.so</filename></term>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | libraries provide the functions necessary to convert
|
---|
186 | raw PCM and WAV files to MP3 files
|
---|
187 | </para>
|
---|
188 | <indexterm zone="lame libmp3lame">
|
---|
189 | <primary sortas="c-libmp3lame">libmp3lame.so</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | </variablelist>
|
---|
195 |
|
---|
196 | </sect2>
|
---|
197 |
|
---|
198 | </sect1>
|
---|