source: multimedia/audioutils/lame.xml@ 68cba69d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 68cba69d was fd42347a, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Comment out sddm from systemd version of the book.
Finish all tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17736 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 KB
Line 
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-repo;/lame/lame-&lame-version;.tar.gz">
8 <!ENTITY lame-download-ftp " ">
9 <!ENTITY lame-md5sum "84835b313d4a8b68f5349816d33e07ce">
10 <!ENTITY lame-size "1.4 MB">
11 <!ENTITY lame-buildsize "11 MB">
12 <!ENTITY lame-time "0.3 SBU">
13]>
14
15<sect1 id="lame" xreflabel="LAME-&lame-version;">
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
32 <para>
33 The <application>LAME</application> package contains an MP3
34 encoder and optionally, an MP3 frame analyzer. This is useful
35 for creating and analyzing compressed audio files.
36 </para>
37
38 &lfs7a_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&lame-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&lame-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &lame-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &lame-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &lame-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &lame-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
79 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
80 <xref linkend="libsndfile"/> and
81 <xref linkend="nasm"/>
82 </para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/lame"/>
86 </para>
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of LAME</title>
91
92 <para>
93 First, fix a compiler error introduced by
94 <application>gcc-4.9.0</application> on 32-bit machines:
95 </para>
96
97<screen><userinput>case $(uname -m) in
98 i?86) sed -i -e '/xmmintrin\.h/d' configure ;;
99esac</userinput></screen>
100
101 <para>
102 Install <application>LAME</application> by running
103 the following commands:
104 </para>
105
106<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
107make</userinput></screen>
108
109 <para>
110 To test the results, issue: <command>make test</command>.
111 </para>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
124 <para>
125 <command>sed -i -e '/xmmintrin\.h/d' configure</command> : with
126 gcc-4.9.0 and above, the compiler issues an error on 32-bit machines,
127 while compiling <filename>xmm_quantize_sub.c</filename>. The error
128 message is: <literal>error: inlining failed in call to always_inline
129 '_mm_loadu_ps'</literal>. This sed makes it appear as if
130 <filename>xmmintrin.h</filename> is not present. Do not use this on other
131 versions of gcc.
132 </para>
133
134 <para>
135 <parameter>--enable-mp3rtp</parameter>: This switch enables building
136 the encode-to-RTP program.
137 </para>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
141
142 <para>
143 <option>--enable-nasm</option>: Enable the use of
144 <xref linkend="nasm"/> to compile optimized assembly routines.
145 </para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Library</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>
159 lame and mp3rtp
160 </seg>
161 <seg>
162 libmp3lame.so
163 </seg>
164 <seg>
165 /usr/include/lame and
166 /usr/share/doc/lame-&lame-version;
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="lame-prog">
177 <term><command>lame</command></term>
178 <listitem>
179 <para>
180 creates MP3 audio files from raw
181 PCM or <filename>.wav</filename> data.
182 </para>
183 <indexterm zone="lame lame-prog">
184 <primary sortas="b-lame">lame</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="mp3rtp">
190 <term><command>mp3rtp</command></term>
191 <listitem>
192 <para>
193 is used to encode MP3 with RTP streaming of the output.
194 </para>
195 <indexterm zone="lame mp3rtp">
196 <primary sortas="b-mp3rtp">mp3rtp</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libmp3lame">
202 <term><filename class="libraryfile">libmp3lame.so</filename></term>
203 <listitem>
204 <para>
205 libraries provide the functions necessary to convert
206 raw PCM and WAV files to MP3 files.
207 </para>
208 <indexterm zone="lame libmp3lame">
209 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 </variablelist>
215
216 </sect2>
217
218</sect1>
Note: See TracBrowser for help on using the repository browser.