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