[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;
|
---|
[4774914f] | 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY mpg123-download-http "&sourceforge-dl;/mpg123/mpg123-&mpg123-version;.tar.bz2">
|
---|
[4e88613] | 8 | <!ENTITY mpg123-download-ftp " ">
|
---|
[0065e69] | 9 | <!ENTITY mpg123-md5sum "ea32caa61d41d8be797f0b04a1b43ad9">
|
---|
[ce34cbb] | 10 | <!ENTITY mpg123-size "900 KB">
|
---|
[755648d3] | 11 | <!ENTITY mpg123-buildsize "12 MB">
|
---|
[a079a897] | 12 | <!ENTITY mpg123-time "0.2 SBU">
|
---|
[8d8631b5] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="mpg123" xreflabel="mpg123-&mpg123-version;">
|
---|
[96570d92] | 16 | <?dbhtml filename="mpg123.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[ee3ac98] | 23 | <title>mpg123-&mpg123-version;</title>
|
---|
[96570d92] | 24 |
|
---|
| 25 | <indexterm zone="mpg123">
|
---|
[ee3ac98] | 26 | <primary sortas="a-mpg123">mpg123</primary>
|
---|
[96570d92] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[ee3ac98] | 30 | <title>Introduction to mpg123</title>
|
---|
[96570d92] | 31 |
|
---|
[4067d492] | 32 | <para>
|
---|
[ee3ac98] | 33 | The <application>mpg123</application> package contains a console-based MP3
|
---|
[4067d492] | 34 | player. It claims to be the fastest MP3 decoder for Unix.
|
---|
| 35 | </para>
|
---|
[96570d92] | 36 |
|
---|
[1d61800a] | 37 | &lfs82_checked;
|
---|
[eadb367] | 38 |
|
---|
[96570d92] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[bcd2922] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&mpg123-download-http;"/>
|
---|
| 44 | </para>
|
---|
[96570d92] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[bcd2922] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&mpg123-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[96570d92] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[bcd2922] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &mpg123-md5sum;
|
---|
| 54 | </para>
|
---|
[96570d92] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[bcd2922] | 57 | <para>
|
---|
| 58 | Download size: &mpg123-size;
|
---|
| 59 | </para>
|
---|
[96570d92] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[bcd2922] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &mpg123-buildsize;
|
---|
| 64 | </para>
|
---|
[96570d92] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[bcd2922] | 67 | <para>
|
---|
| 68 | Estimated build time: &mpg123-time;
|
---|
| 69 | </para>
|
---|
[96570d92] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[ee3ac98] | 73 | <bridgehead renderas="sect3">mpg123 Dependencies</bridgehead>
|
---|
[96570d92] | 74 |
|
---|
[4067d492] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[bcd2922] | 77 | <xref linkend="alsa-lib"/>
|
---|
[4067d492] | 78 | </para>
|
---|
| 79 |
|
---|
[b571b5e] | 80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 81 | <para role="optional">
|
---|
[5b38e37] | 82 | <xref linkend="pulseaudio"/>,
|
---|
[7d3e42b] | 83 | <xref linkend="sdl"/>,
|
---|
[4067d492] | 84 | <ulink url="http://jackaudio.org">JACK</ulink>,
|
---|
[7d3e42b] | 85 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink> and
|
---|
| 86 | <ulink url="http://www.portaudio.com">PortAudio</ulink>
|
---|
[4067d492] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <para condition="html" role="usernotes">
|
---|
| 90 | User Notes: <ulink url="&blfs-wiki;/mpg123"/>
|
---|
| 91 | </para>
|
---|
[96570d92] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
[ee3ac98] | 95 | <title>Installation of mpg123</title>
|
---|
[96570d92] | 96 |
|
---|
[4067d492] | 97 | <para>
|
---|
[ee3ac98] | 98 | Install <application>mpg123</application> by running the following
|
---|
[4067d492] | 99 | commands:
|
---|
| 100 | </para>
|
---|
[96570d92] | 101 |
|
---|
[f37a25f8] | 102 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[e5dd69a0] | 103 | make</userinput></screen>
|
---|
[96570d92] | 104 |
|
---|
[bcd2922] | 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
[42c15ad0] | 108 |
|
---|
[4067d492] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[96570d92] | 112 |
|
---|
[e5dd69a0] | 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[5b38e37] | 114 |
|
---|
| 115 | </sect2>
|
---|
[f37a25f8] | 116 | <!--
|
---|
[5b38e37] | 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
[f37a25f8] | 121 | <parameter>- -with-module-suffix=.so</parameter>: This switch tells
|
---|
[5b38e37] | 122 | <command>mpg123</command> to load modules with
|
---|
[ce3e818] | 123 | <filename class="extension">.so</filename> extension which is useful if you
|
---|
[5b38e37] | 124 | don't want to keep <filename class="extension">.la</filename> files.
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
[96570d92] | 127 | </sect2>
|
---|
[f37a25f8] | 128 | -->
|
---|
[96570d92] | 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[ce3e818] | 133 | <segtitle>Installed Programs</segtitle>
|
---|
[3fa31b47] | 134 | <segtitle>Installed Libraries</segtitle>
|
---|
[bcd2922] | 135 | <segtitle>Installed Directory</segtitle>
|
---|
[96570d92] | 136 |
|
---|
| 137 | <seglistitem>
|
---|
[bcd2922] | 138 | <seg>
|
---|
[39372bab] | 139 | mpg123, mpg123-id3dump, mpg123-strip, and out123
|
---|
[bcd2922] | 140 | </seg>
|
---|
[4067d492] | 141 | <seg>
|
---|
[3fa31b47] | 142 | libmpg123.so and libout123.so
|
---|
[4067d492] | 143 | </seg>
|
---|
[bcd2922] | 144 | <seg>
|
---|
| 145 | /usr/lib/mpg123
|
---|
| 146 | </seg>
|
---|
[96570d92] | 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>
|
---|
[bcd2922] | 158 | <para>
|
---|
| 159 | is used for playing MP3 files via the console.
|
---|
| 160 | </para>
|
---|
[96570d92] | 161 | <indexterm zone="mpg123 mpg123-prog">
|
---|
| 162 | <primary sortas="b-mpg123">mpg123</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
[8309bf4] | 167 | <varlistentry id="mpg123-id3dump">
|
---|
| 168 | <term><command>mpg123-id3dump</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
[a8f8d6ac] | 171 | is a tool to dump ID3 meta data from MPEG audio files
|
---|
| 172 | using libmpg123
|
---|
[8309bf4] | 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>
|
---|
[a8f8d6ac] | 184 | extracts only MPEG frames from a stream using libmpg123
|
---|
| 185 | (stdin to stdout)
|
---|
[8309bf4] | 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>
|
---|
[a8f8d6ac] | 197 | plays raw PCM audio to an output device
|
---|
[8309bf4] | 198 | </para>
|
---|
| 199 | <indexterm zone="mpg123 out123">
|
---|
| 200 | <primary sortas="b-mpg123">out123</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
[4067d492] | 205 | <varlistentry id="libmpg123">
|
---|
| 206 | <term><filename class="libraryfile">libmpg123.so</filename></term>
|
---|
| 207 | <listitem>
|
---|
| 208 | <para>
|
---|
[ee3ac98] | 209 | contains the <application>mpg123</application> API functions.
|
---|
[4067d492] | 210 | </para>
|
---|
| 211 | <indexterm zone="mpg123 libmpg123">
|
---|
| 212 | <primary sortas="c-libmpg123">libmpg123.so</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
[bcd2922] | 216 |
|
---|
[3fa31b47] | 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 |
|
---|
[96570d92] | 229 | </variablelist>
|
---|
[bcd2922] | 230 |
|
---|
[96570d92] | 231 | </sect2>
|
---|
[bcd2922] | 232 |
|
---|
[f45b1953] | 233 | </sect1>
|
---|