{{Short description|Open source audio player}} {{Lowercase title}} {{Infobox software | name = mpg123 | screenshot = mpg123.png | author = Michael Hipp, Oliver Fromme | developer = Thomas Orgis | released = before 1997-04-27<ref>https://lists.debian.org/debian-changes/1997/04/msg00642.html</ref> | latest release version = {{wikidata|property|preferred|reference|edit|Q287021|P348|P548=Q2804309}} | latest release date = {{wikidata|qualifier|preferred|single|Q287021|P348|P548=Q2804309|P577}} | latest preview version = {{wikidata|property|preferred|reference|edit|Q287021|P348|P548=Q51930650}} | latest preview date = {{wikidata|qualifier|preferred|single|Q287021|P348|P548=Q51930650|P577}} | programming language = C, Assembly | operating system = Unix-like, Windows | genre = Audio player | license = LGPL-2.1-only | website = {{URL|//mpg123.org}} | repo = {{URL|https://sourceforge.net/projects/mpg123/}} }}
'''mpg123''' is a free and open-source audio player. It supports MPEG audio formats, including MP3.
As a console application, it has no graphical user interface.
mpg123's Assembly code is optimized with SIMD instructions to improve the performance of the iDCT part of the MPEG decoding.
mpg123's decoding library, <code>libmpg123</code> is used by DeaDBeeF, Audacious, XMMS and Winamp (version 5.8)<ref>{{Cite web | url=http://forums.winamp.com/showthread.php?p=3162548 | title=Winamp 5.8 Beta, Build 3660 (Official) - Winamp & Shoutcast Forums | date=19 October 2018 }}</ref> for MP3 playback and can be used in Winamp before version 5.8 via a plugin.<ref>{{Cite web|url=http://www.hydrogenaud.io/forums/index.php?showtopic=18530|title = Otachan's in_!mpg123}}</ref>
== History == First known presence is in Debian GNU/Linux distribution, where it was submitted to repositories with version 0.59f on 27 April 1997 and it already had MP3 support ("MPEG layer 1/2/3 audio player").<ref>https://lists.debian.org/debian-changes/1997/04/msg00642.html</ref> The license for the last release (0.59r / 19 June 1999) from the original authors included restrictive (non-commercial, no-derivative) terms, although the source code was available. This led to the creation of mpg321, a similar program (based on MAD) licensed under the GPLv2.<ref>{{Cite web|url=https://mpg321.sourceforge.net/about.html|title = About mpg321}}</ref>
Official development of mpg123 and its library <code>mpglib</code> stalled, and serious security holes emerged.<ref>{{Cite web|url=http://mpg123.org/download.shtml|title = Mpg123: Download}}</ref><ref>{{Cite web|url=http://www.cvedetails.com/vulnerability-list/vendor_id-1781/Mpg123.html|title = Mpg123 : Security vulnerabilities}}</ref> Patches were applied downstream for packages provided by various Linux and BSD operating systems.
In 2006, a new maintainer started work towards the release of a new official mpg123 package. After several security rollup releases in the 0.6.x series, version 1.0 was released in 2007 under the LGPLv2.1, with <code>libmpg123</code> as a replacement for <code>mpglib</code>.
== See also == {{Portal|Free and open-source software}} *Comparison of audio player software *ogg123 (A similar program that plays Ogg Vorbis files. Released with the vorbis-tools reference software.) *madplay
==References== {{Reflist}}
==External links== *{{Official website|//mpg123.org}}
{{Media player (application software)|free}}
Category:Free audio software Category:Audio player software for Linux Category:Free media players Category:Linux media players Category:Free software primarily written in assembly language Category:Free software programmed in C Category:C (programming language) libraries