source: multimedia/audioutils/lame.xml@ 12cb8c2d

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 12cb8c2d was 12cb8c2d, checked in by Krejzi <krejzi@…>, 10 years ago

Checks and fixes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14029 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 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 &lfs76_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, if you are using i686, fix a compile problem inroduced by
94 <application>&gcc-490;</application>:
95 </para>
96
97<screen role="nodump"><userinput>sed -i -e '/xmmintrin\.h/d' configure</userinput></screen>
98
99 <para>
100 Install <application>LAME</application> by running
101 the following commands:
102 </para>
103
104<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 To test the results, issue: <command>make test</command>.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para>
123 <option>sed -i -e '/xmmintrin\.h/d' configure</option> : with
124 gcc-4.9.0, 32-bit i686 builds fail in <filename>xmm_quantize_sub.c</filename>
125 with an error message <literal>error: inlining failed in call to always_inline
126 '_mm_loadu_ps'</literal>. This sed makes it appear as if
127 <filename>xmmintrin.h</filename> is not present. Do not use this on other
128 versions of gcc, or on x86_64.
129 </para>
130
131 <para>
132 <option>--enable-mp3rtp</option>: This switch enables building
133 of the encode-to-RTP program.
134 </para>
135
136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/static-libraries.xml"/>
138
139 <para>
140 <option>--enable-nasm</option>: Enable the use of
141 <xref linkend="nasm"/> to compile optimized assembly routines.
142 </para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Library</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 lame and mp3rtp
157 </seg>
158 <seg>
159 libmp3lame.so
160 </seg>
161 <seg>
162 /usr/include/lame and
163 /usr/share/doc/lame-&lame-version;
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="lame-prog">
174 <term><command>lame</command></term>
175 <listitem>
176 <para>
177 creates MP3 audio files from raw
178 PCM or <filename>.wav</filename> data.
179 </para>
180 <indexterm zone="lame lame-prog">
181 <primary sortas="b-lame">lame</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="mp3rtp">
187 <term><command>mp3rtp</command></term>
188 <listitem>
189 <para>
190 is used to encode MP3 with RTP streaming of the output.
191 </para>
192 <indexterm zone="lame mp3rtp">
193 <primary sortas="b-mp3rtp">mp3rtp</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libmp3lame">
199 <term><filename class="libraryfile">libmp3lame.so</filename></term>
200 <listitem>
201 <para>
202 libraries provide the functions necessary to convert
203 raw PCM and WAV files to MP3 files.
204 </para>
205 <indexterm zone="lame libmp3lame">
206 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 </variablelist>
212
213 </sect2>
214
215</sect1>
Note: See TracBrowser for help on using the repository browser.