source: multimedia/audioutils/lame.xml@ d47ad20c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 d47ad20c was d47ad20c, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to latest snapshot x264-snapshot-20180819-2245-stable.
Tags

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

  • Property mode set to 100644
File size: 6.1 KB
RevLine 
[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 <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
[c627795]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>
[15b9d663]37
[d47ad20c]38 &lfs83_checked;
[e355f3c6]39
[15b9d663]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[c627795]43 <para>
44 Download (HTTP): <ulink url="&lame-download-http;"/>
45 </para>
[15b9d663]46 </listitem>
47 <listitem>
[c627795]48 <para>
49 Download (FTP): <ulink url="&lame-download-ftp;"/>
50 </para>
[15b9d663]51 </listitem>
52 <listitem>
[c627795]53 <para>
54 Download MD5 sum: &lame-md5sum;
55 </para>
[15b9d663]56 </listitem>
57 <listitem>
[c627795]58 <para>
59 Download size: &lame-size;
60 </para>
[15b9d663]61 </listitem>
62 <listitem>
[c627795]63 <para>
64 Estimated disk space required: &lame-buildsize;
65 </para>
[15b9d663]66 </listitem>
67 <listitem>
[c627795]68 <para>
69 Estimated build time: &lame-time;
70 </para>
[15b9d663]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
[35bf1ea]77 <para role="optional">
[c627795]78 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
[4a64872f]79 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
[c627795]80 <xref linkend="libsndfile"/> and
[efdd9de]81 <xref linkend="nasm"/>
[35bf1ea]82 </para>
[15b9d663]83
[0e2aa08]84 <para condition="html" role="usernotes">User Notes:
[c627795]85 <ulink url="&blfs-wiki;/lame"/>
86 </para>
[15b9d663]87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of LAME</title>
91
[3844cf2]92 <para>
[51c9a2b]93 First, fix a compiler error introduced by
[fd42347a]94 <application>gcc-4.9.0</application> on 32-bit machines:
[3844cf2]95 </para>
96
[51c9a2b]97<screen><userinput>case $(uname -m) in
[0de59f5d]98 i?86) sed -i -e 's/&lt;xmmintrin.h/&amp;.nouse/' configure ;;
[51c9a2b]99esac</userinput></screen>
[3844cf2]100
[c627795]101 <para>
102 Install <application>LAME</application> by running
103 the following commands:
104 </para>
[15b9d663]105
[f5084dd]106<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
[15b9d663]107make</userinput></screen>
108
[c627795]109 <para>
110 To test the results, issue: <command>make test</command>.
111 </para>
[b61b128]112
[c627795]113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
[15b9d663]116
[24f2d4b]117<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
[15b9d663]118
119 </sect2>
120
121 <sect2 role="commands">
122 <title>Command Explanations</title>
123
[45b5355]124 <para>
[0de59f5d]125 <command>sed -i -e 's/&lt;xmmintrin.h/&amp;.nouse/' configure</command> : with
[51c9a2b]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
[45b5355]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
[51c9a2b]131 versions of gcc.
[45b5355]132 </para>
133
[c627795]134 <para>
[51c9a2b]135 <parameter>--enable-mp3rtp</parameter>: This switch enables building
136 the encode-to-RTP program.
[c627795]137 </para>
[1ade38d]138
[f5084dd]139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../../xincludes/static-libraries.xml"/>
[c627795]141
142 <para>
143 <option>--enable-nasm</option>: Enable the use of
[efdd9de]144 <xref linkend="nasm"/> to compile optimized assembly routines.
[c627795]145 </para>
146
[15b9d663]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>
[c627795]158 <seg>
159 lame and mp3rtp
160 </seg>
161 <seg>
162 libmp3lame.so
163 </seg>
164 <seg>
[755bb92]165 /usr/include/lame and
166 /usr/share/doc/lame-&lame-version;
[c627795]167 </seg>
[15b9d663]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>
[c627795]179 <para>
180 creates MP3 audio files from raw
181 PCM or <filename>.wav</filename> data.
182 </para>
[15b9d663]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>
[c627795]192 <para>
193 is used to encode MP3 with RTP streaming of the output.
194 </para>
[15b9d663]195 <indexterm zone="lame mp3rtp">
196 <primary sortas="b-mp3rtp">mp3rtp</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="libmp3lame">
[755bb92]202 <term><filename class="libraryfile">libmp3lame.so</filename></term>
[15b9d663]203 <listitem>
[c627795]204 <para>
205 libraries provide the functions necessary to convert
206 raw PCM and WAV files to MP3 files.
207 </para>
[15b9d663]208 <indexterm zone="lame libmp3lame">
[c627795]209 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
[15b9d663]210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 </variablelist>
215
216 </sect2>
[f45b1953]217
218</sect1>
Note: See TracBrowser for help on using the repository browser.