?? readme
字號(hào):
* * * * * * * * * * * * * * * * * * * * * * * * * * * ** mpg123 - MPEG 1.0/2.0/2.5 audio player ** README for version 0.6x, dated at 14.01.2007 ** ** ...still the fastest MPEG audio player for UNIX ;) ** * * * * * * * * * * * * * * * * * * * * * * * * * * *(This file has very long lines - die-hard terminal nostalgists can be satisfied by `fmt -s -w 75 < README | less`. I think it's better to let the reader's preference rule than to preformat the stuff to some arbitrary width.)0. StuffFor building/installation info see INSTALL.The mpg123 project was started by Michel Hipp and is now being maintained by Thomas Orgis and Nicholas J. Humfrey, who intitated the Sourceforge project.The source code contains contributions from quite a few people - see AUTHORS for more info.It is Open Source software licensed mostly under the LGPL with some parts restricted to GPL. See COPYING for details.As for every mp3 player, some of mpg123's functionality may be covered by patents in a country where these are valid. See PATENTS for details.Project's official website URL is http://mpg123.org(or http://mpg123.orgis.org as fallback address if there is a problem with the DNS forwarding)for the traditional hope page and http://sourceforge.net/projects/mpg123for sourceforge.net based services like download mirrors, mailing lists and bug/feature trackers.Please use the sourceforge download mirrors when possible to minimize load on the mpg123.org server.1. IntroductionThis is a console based decoder/player for mono/stereo mpeg audio files, probably more familiar as MP3 or MP2 files.It's focus is speed. We still need some low-end benchmarks for the current version, but playback should be possible even on i486 CPUs. There is hand-optimized assembly code for i586, MMX and 3DNow! instructions, while generic code runs on a variety of different platforms and CPUs.It can play MPEG1.0/2.0 layer I, II, II (1, 2, 3;-) files (VBR files are fine, too) and produce output on a number of different ways: raw data to stdout and different sound systems depending on your platform (see INSTALL).Most tested are Linux on x86 and Alpha/AXP and MacOSX on ppc as the environments the current developers work in.We are always thankful for user reports on success (and failure) on any platform!2. Contactshort: mpg123-devel@lists.sourceforge.net mpg123-users@lists.sourceforge.netor maintainer@mpg123.orglong: see doc/CONTACT3. Interface/UsagePlease consult the manpage mpg123(1). Some starter info follows.3.1 Simple Console UsageMpg123 is a console program - normally it just plays a list of files you specify on command line and that's it. See the included manpage or mpg123 --helpon command line syntax/options. I encourage you to check out the --gapless and --rva-album/--rva-mix options:-)In the simple "mpg123 file1.mp3 file2.mp3" mode, the only thing you can do to interact is to press Ctrl+C to skip to next track or end the whole playback if pressing it twice.Note that this Ctrl+C behaviour is special to this mode; when any of the following is activated, Ctrl+C will just kill the program like you would expect normally (this changed from earlier versions).3.2 Advanced Console UsageYou can specify the option -C to enable a terminal control interface enabling to influence playback on current title/playlist by pressing some key:'b' to seek back to beginning of track'f' to skip to nest track'p' for pause (actually, looping current chunk)'s' to stop/restart playback (the usual "pause" function...)(space bar for the same)'q' to quit playback',' for rewind seek'.' for forward seek';' for fast rewind':' for fast forward'<' for fine rewind'>' for fine forward'h' for printout of current key bindingsYou can change these bindings to key to your liking by modifying term.h .Note: This interface needs not to be available on _every_ platform/build.3.3 Control Interface for FrontendsThere used to be several interfaces for frontends left over from that past, but only one of them remains for the present and future: The Generic Control InterfaceIt contains of communication of textual messages via standard input to mpg123 and responses to standard output unless the -s switch for output of audio data on stdout is used - then the responses come via stderr.See doc/README.remote for usage.4. Speedmpg123 is fast. Any faster software player is probably based on some hacked mpg123;-)This is the case with current MPlayer, wich includes mpg123-based code in its mp3lib.There are some nice assembler optimizations (SSE, for example) that may make mplayer a faster mp3 decoder in cases where these are applicable - we are preparing to incorporate these into the mpg123 player to make it the fastest mp3 player under all circumstances.5. Accuracy http://www.underbit.com/resources/mpeg/audio/compliance/states mpg123-0.59r as being fully ISO/IEC 11172-3 compilant. Meaning: It decodes as it should. While I didn't verify the test I can confirm that the sound of mpg123 is fine enough for my ears;-)I don't know which decoding routine they tested, I guess the pentium-optimized one. Depending on the chosen optimization, the output may vary slightly. At least the MMX assembler optimization is known to deviate in output by +/-1 (rarely +/-2).This means +/- for the 16-bit integer sample value ranging over ca. +/-32000. This deviation may turn into hearable distortion for very low-amplitude sound, as shown in example files on http://dither123.dyndns.org7. HistoryA looooong time ago (mid-90s), Michael Hipp wrote some initial mpg123 and made it _the_ Unix console mp3 player in the following years.This is the historic description: This isn't a new player. It's a fully rewritten version originally based on the mpegaudio (FHG-version) package. The DCT algorithm in the synthesis filter is a rewritten version of the DCT first seen in the maplay package, which was written by Tobias Bading (bading@cs.tu-berlin.de). The rewrite was neccassary, because the GPL may not allow this copyright mix. The mpegaudio package was written by various people from the MPEG/audio software simulation group. The maplay is under GPL .. You can find the original source code and the mpegaudio package on: ftp.tnt.uni-hannover.de. Especially layer3.c common.c and mpg123.h is based on the dist10 package. The code is fullly rewritten but I'm using sometimes the same variable names or similar function names as in the original package. In the current layer3.c I'm using a DCT36 first seen in Jeff Tsay's (ctsay@pasteur.eecs.berkeley.edu) maplay 1.2+ package. His code is under GPL .. I also tried the enhancement from Mikko Tommila. His code is also in layer3.c (but it's disabled at the moment, because it was slightly slower than the unrolled 9 point DCT (at least on _my_ system)). Theoretically it should be faster. You may try it on your system.Well, that's how it started...Official development ceased due to the typical lack-of-time syndrome around 2002 and the free-floating patches began to seize the day.But before that, Michael wrote or rewrote the essential code; others contributed their bits.The main message is:Code is copyrighted by Michael Hipp, who made it free software under the terms of the LGPL 2.1.Please see doc/ROAD_TO_LGPL, COPYING and AUTHORS for details on that. Note that the only notable legacy non-LGPL file was the old alsa output that didn't work with alsa 0.9/1.0 anymore.Also, there has been a libao output in the betas 0.60 for a short period. Libao being generally problematic for us because of its GPL license, this output is not distributed anymore in the release packages. There is now a new, LGPLed alsa output that made both the old alsa and libao obsolete for our purposes.So, the distributed mpg123 releases actually only contains LGPL code, but you get the other files from our subversion repository if you checkout the trunk / version tags.There has been quite some confusion about the licensing and "freeness" of mpg123 in the past.The initial "free for private use, ask me when you want to do something commercial" license caused some people to avoid mpg123 and even to write a replacement mimicking the interface but using a different decoding engine - what was not actively developed for too long but entered the "free" software sections.The Debian (non-free section) and Gentoo distributions cared about the last stable and the last development release of mpg123 over the years with mainly applying security fixes. Thanks go to the distribution maintainers for not letting it alone to bitrot over the years.Thomas Orgis started to hack on mpg123 in 2004 while working on his personal audio experience with mixplayd and later DerMixD, utilizing the generic control interface. In Feb 2005, he crammed control interface improvements together with Debian's r19 fixes and released the personal fork/patch named mpg123-thor.Little later that year, Nicholas J. Humphrey independently created the sourceforge project and released an autotooled 0.59r under official GPL flag with Debian and MacOSX fixes.In the beginning of 2006, Thomas finally decided that he could work "officially" on mpg123 and contacted Michael Hipp for taking over maintainership.Michael was all-positive about letting mpg123 really live again (and perhaps see version 1.0 some time;-) and also pointed at the sourceforge project that didn't see much activity since the initial release. A lot of emails and some weeks later there was the two-developer team of Nicholas and Thomas working on merging their mpg123 variants as well as adding some features and fixes to let it shine again.And there we are now...8. EndHave fun!____________Thomas Orgis
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -