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