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 mpg123-download-http "&sourceforge-dl;/mpg123/mpg123-&mpg123-version;.tar.bz2">
|
---|
8 | <!ENTITY mpg123-download-ftp " ">
|
---|
9 | <!ENTITY mpg123-md5sum "ddb38254966eb38c77f220d456a1839d">
|
---|
10 | <!ENTITY mpg123-size "892 KB">
|
---|
11 | <!ENTITY mpg123-buildsize "13 MB">
|
---|
12 | <!ENTITY mpg123-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="mpg123" xreflabel="mpg123-&mpg123-version;">
|
---|
16 | <?dbhtml filename="mpg123.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>mpg123-&mpg123-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="mpg123">
|
---|
26 | <primary sortas="a-mpg123">mpg123</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to mpg123</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>mpg123</application> package contains a console-based MP3
|
---|
34 | player. It claims to be the fastest MP3 decoder for Unix.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs90_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&mpg123-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&mpg123-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &mpg123-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &mpg123-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &mpg123-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &mpg123-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">mpg123 Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
76 | <para role="recommended">
|
---|
77 | <xref linkend="alsa-lib"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref linkend="pulseaudio"/>,
|
---|
83 | <xref linkend="sdl"/>,
|
---|
84 | <ulink url="http://jackaudio.org">JACK</ulink>,
|
---|
85 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink> and
|
---|
86 | <ulink url="http://www.portaudio.com">PortAudio</ulink>
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">
|
---|
90 | User Notes: <ulink url="&blfs-wiki;/mpg123"/>
|
---|
91 | </para>
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of mpg123</title>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | Install <application>mpg123</application> by running the following
|
---|
99 | commands:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>./configure --prefix=/usr &&
|
---|
103 | make</userinput></screen>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | This package does not come with a test suite.
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 | <!--
|
---|
117 | <sect2 role="commands">
|
---|
118 | <title>Command Explanations</title>
|
---|
119 |
|
---|
120 | <para>
|
---|
121 | <parameter>- -with-module-suffix=.so</parameter>: This switch tells
|
---|
122 | <command>mpg123</command> to load modules with
|
---|
123 | <filename class="extension">.so</filename> extension which is useful if you
|
---|
124 | don't want to keep <filename class="extension">.la</filename> files.
|
---|
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 Libraries</segtitle>
|
---|
135 | <segtitle>Installed Directory</segtitle>
|
---|
136 |
|
---|
137 | <seglistitem>
|
---|
138 | <seg>
|
---|
139 | mpg123, mpg123-id3dump, mpg123-strip, and out123
|
---|
140 | </seg>
|
---|
141 | <seg>
|
---|
142 | libmpg123.so and libout123.so
|
---|
143 | </seg>
|
---|
144 | <seg>
|
---|
145 | /usr/lib/mpg123
|
---|
146 | </seg>
|
---|
147 | </seglistitem>
|
---|
148 | </segmentedlist>
|
---|
149 |
|
---|
150 | <variablelist>
|
---|
151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
152 | <?dbfo list-presentation="list"?>
|
---|
153 | <?dbhtml list-presentation="table"?>
|
---|
154 |
|
---|
155 | <varlistentry id="mpg123-prog">
|
---|
156 | <term><command>mpg123</command></term>
|
---|
157 | <listitem>
|
---|
158 | <para>
|
---|
159 | is used for playing MP3 files via the console.
|
---|
160 | </para>
|
---|
161 | <indexterm zone="mpg123 mpg123-prog">
|
---|
162 | <primary sortas="b-mpg123">mpg123</primary>
|
---|
163 | </indexterm>
|
---|
164 | </listitem>
|
---|
165 | </varlistentry>
|
---|
166 |
|
---|
167 | <varlistentry id="mpg123-id3dump">
|
---|
168 | <term><command>mpg123-id3dump</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>
|
---|
171 | is a tool to dump ID3 meta data from MPEG audio files
|
---|
172 | using libmpg123
|
---|
173 | </para>
|
---|
174 | <indexterm zone="mpg123 mpg123-id3dump">
|
---|
175 | <primary sortas="b-mpg123">mpg123-id3dump</primary>
|
---|
176 | </indexterm>
|
---|
177 | </listitem>
|
---|
178 | </varlistentry>
|
---|
179 |
|
---|
180 | <varlistentry id="mpg123-strip">
|
---|
181 | <term><command>mpg123-strip</command></term>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | extracts only MPEG frames from a stream using libmpg123
|
---|
185 | (stdin to stdout)
|
---|
186 | </para>
|
---|
187 | <indexterm zone="mpg123 mpg123-strip">
|
---|
188 | <primary sortas="b-mpg123">mpg123-strip</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | <varlistentry id="out123">
|
---|
194 | <term><command>out123</command></term>
|
---|
195 | <listitem>
|
---|
196 | <para>
|
---|
197 | plays raw PCM audio to an output device
|
---|
198 | </para>
|
---|
199 | <indexterm zone="mpg123 out123">
|
---|
200 | <primary sortas="b-mpg123">out123</primary>
|
---|
201 | </indexterm>
|
---|
202 | </listitem>
|
---|
203 | </varlistentry>
|
---|
204 |
|
---|
205 | <varlistentry id="libmpg123">
|
---|
206 | <term><filename class="libraryfile">libmpg123.so</filename></term>
|
---|
207 | <listitem>
|
---|
208 | <para>
|
---|
209 | contains the <application>mpg123</application> API functions.
|
---|
210 | </para>
|
---|
211 | <indexterm zone="mpg123 libmpg123">
|
---|
212 | <primary sortas="c-libmpg123">libmpg123.so</primary>
|
---|
213 | </indexterm>
|
---|
214 | </listitem>
|
---|
215 | </varlistentry>
|
---|
216 |
|
---|
217 | <varlistentry id="libout123">
|
---|
218 | <term><filename class="libraryfile">libout123.so</filename></term>
|
---|
219 | <listitem>
|
---|
220 | <para>
|
---|
221 | contains the <application>out123</application> API functions.
|
---|
222 | </para>
|
---|
223 | <indexterm zone="mpg123 libout123">
|
---|
224 | <primary sortas="c-libout123">libout123.so</primary>
|
---|
225 | </indexterm>
|
---|
226 | </listitem>
|
---|
227 | </varlistentry>
|
---|
228 |
|
---|
229 | </variablelist>
|
---|
230 |
|
---|
231 | </sect2>
|
---|
232 |
|
---|
233 | </sect1>
|
---|