[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 |
|
---|
[bcd2922] | 7 | <!ENTITY mpg123-download-http "&sourceforge-repo;/mpg123/mpg123-&mpg123-version;.tar.bz2">
|
---|
[4e88613] | 8 | <!ENTITY mpg123-download-ftp " ">
|
---|
[df0607c] | 9 | <!ENTITY mpg123-md5sum "1b3e8765aa608e306ede1ec507b67b23">
|
---|
[39372bab] | 10 | <!ENTITY mpg123-size "844 KB">
|
---|
| 11 | <!ENTITY mpg123-buildsize "13 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 |
|
---|
| 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 |
|
---|
[4067d492] | 32 | <para>
|
---|
[bcd2922] | 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 |
|
---|
[c8a33e3] | 37 | &lfs75_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 |
|
---|
| 73 | <bridgehead renderas="sect3">Mpg123 Dependencies</bridgehead>
|
---|
| 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 | <ulink url="http://kcat.strangesoft.net/openal-releases/">OpenAL</ulink>,
|
---|
| 83 | <xref linkend="pulseaudio"/>,
|
---|
[4067d492] | 84 | <ulink url="http://jackaudio.org">JACK</ulink>,
|
---|
[bcd2922] | 85 | <ulink url="http://www.portaudio.com">PortAudio</ulink> and
|
---|
[4067d492] | 86 | <xref linkend="sdl"/>
|
---|
| 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">
|
---|
| 95 | <title>Installation of Mpg123</title>
|
---|
| 96 |
|
---|
[4067d492] | 97 | <para>
|
---|
[bcd2922] | 98 | Install <application>Mpg123</application> by running the following
|
---|
[4067d492] | 99 | commands:
|
---|
| 100 | </para>
|
---|
[96570d92] | 101 |
|
---|
[ce3e818] | 102 | <screen><userinput>./configure --prefix=/usr --with-module-suffix=.so &&
|
---|
[e5dd69a0] | 103 | make</userinput></screen>
|
---|
[96570d92] | 104 |
|
---|
[bcd2922] | 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
[42c15ad] | 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>
|
---|
| 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
|
---|
[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>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
[ce3e818] | 133 | <segtitle>Installed Programs</segtitle>
|
---|
[4591404] | 134 | <segtitle>Installed Library</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>
|
---|
[1f91733] | 142 | libmpg123.so and several under /usr/lib/mpg123/
|
---|
[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 |
|
---|
[7125a66] | 167 | <varlistentry id="mpg123-id3dump">
|
---|
| 168 | <term><command>mpg123-id3dump</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
| 171 | Tool to dump ID3 meta data from MPEG audio files 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 | Extract only MPEG frames from a stream using libmpg123 (stdin to stdout)
|
---|
| 184 | </para>
|
---|
| 185 | <indexterm zone="mpg123 mpg123-strip">
|
---|
| 186 | <primary sortas="b-mpg123">mpg123-strip</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="out123">
|
---|
| 192 | <term><command>out123</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
| 195 | play raw PCM audio to an output device
|
---|
| 196 | </para>
|
---|
| 197 | <indexterm zone="mpg123 out123">
|
---|
| 198 | <primary sortas="b-mpg123">out123</primary>
|
---|
| 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
| 202 |
|
---|
| 203 |
|
---|
[4067d492] | 204 | <varlistentry id="libmpg123">
|
---|
| 205 | <term><filename class="libraryfile">libmpg123.so</filename></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
[bcd2922] | 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 |
|
---|
[96570d92] | 216 | </variablelist>
|
---|
[bcd2922] | 217 |
|
---|
[96570d92] | 218 | </sect2>
|
---|
[bcd2922] | 219 |
|
---|
[f45b1953] | 220 | </sect1>
|
---|