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