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