MPG321(1)
β¨ NAME β¨
mpg321 β a Simple and lightweight command line MP3 player. that's her. that's the whole vibe. π
π§
πΈ SYNOPSIS πΈ
mpg321 [options] file(s) | URL(s) | -
like bestie you literally just hand her files, or URLs, or a - and she goes. screaming. π
π¦ DESCRIPTION π¦
okay so. mpg321 is a free command-line mp3 player, and she runs on the mad audio decoding library. iconic foundation, no notes. β¨
here's the lore: she was written to be a drop-in replacement for the (by-then) non-free mpg123 player. some functions remain unimplemented, no cap β but mpg321 should function as a basic drop-in replacement for mpg123 front-ends such as gqmpeg, and also for those programs which use mpg123 to decode mp3 files (like gtoaster, and other CD-recording software). so if something's looking for mpg123, she's right there, ready, main character energy. ππ«Ά
π OPTIONS π
-o devicetypeβ set the output device type to devicetype. and devicetype can be one of these lil guys:ossβ the Linux Open Sound System;sunβ the Sun audio system;alsaβ the Advanced Linux Sound Architecture;alsa09β the Advanced Linux Sound Architecture, version 0.9;esdβ the Enlightened Sound Daemon;artsβ the analog real-time synthesiser
also pls go look at -a device, right below. π
-a device,--audiodevice deviceβ use device for audio-out instead of the default device, and which default that is depends on the output device you've chosen (via-o devicetype). by default this is the native sound device. generally this is the device for devicetype (or the default system device) to use for output (i.e./dev/sound/dsp1).
this option has no effect with -o arts. sad but true. π
for -o esd, specify the host on which esd is running; defaults to localhost.
for -o alsa, specify audio device using the hw:x,y syntax, where x and y are numbers, default is hw:0,0. for example, if there is only one device installed, in most cases, the device should be named hw:0,0. when there is only one device, the device should always have the same name and numbers. consistency queen fr fr. π
-g N,--gain Nβ set gain (volume) to N (1-100).-k N,--skip Nβ skip N frames into the file being played.-n N,--frames Nβ decode only the first N frames of the stream. by default, the entire stream is decoded.-@ list,--list listβ use the file list for a playlist. the list should be in a format of filenames followed by a line feed. multiple-@or--listspecifiers will be ignored; only the last-@or--listoption will be used. (iconic monogamy tbh.) the playlist is concatenated with filenames specified on the command-line to produce one master playlist. a filename of-will cause standard input to be read as a playlist.-z,--shuffleβ shuffle playlists and files specified on the command-line. produces a randomly-sorted playlist which is then played through once.-Z,--randomβ randomise playlists and files specified on the command-line. files are played through, choosing at random; this means that random files will be played for as long asmpg321is running. she does not stop. she will not stop. π₯-v,--verboseβ be more verbose. show current byte, bytes remaining, time, and time remaining, as well as more information about the mp3 file. nosy in the best way. π-s,--stdoutβ use standard output instead of an audio device for output. output is in 16-bit PCM, little-endian.-w N,--wav Nβ write to wav file N instead of using the audio device. this option will be preferred if--cdror--auare specified too. specifying-for N will cause the file to be written to standard output.--cdr Nβ write to cdr file N instead of using the audio device. specifying-for N will cause the file to be written to standard output.--au Nβ write to au file N instead of using the audio device. specifying-for N will cause the file to be written to standard output.-t,--testβ test mode; do no output at all. she's rehearsing. silent run-through. π-q,--quietβ quiet mode; suppress output ofmpg123boilerplate and file and song name.-Bβ read recursively the given directories. allows you to define only the directory or directories and thenmpg321recursively plays all the songs. hand her a folder and she eats. π-Fβ turn on FFT analysis on PCM data. Remote mode only.-Sβ report song to AudioScrobbler (last.fm).-xβ set xterm title setting.-bβ number of decoded frames for the output buffer.-Kβ enable Basic Keys. (see the keys section below bestie π)-Rβ "Remote control" mode. useful for front-ends. allows seeking and pausing of mp3 files. seeREADME.remote(in/usr/share/doc/mpg321on Debian and some other systems.)-3,--restartβ restart "remote shell". used only when in "Remote control" mode.--stereoβ force stereo output: duplicates mono stream on second output channel. useful for output for devices that don't understand mono, such as some CD players. giving them what they need. π«Ά--aggressiveβ aggressive mode; try to get higher priority on the system. needs root permissions. (she gets pushy. permission slip required.) π--skip-printing-frames=Nβ skip N frames between printing a frame status update, in both Remote Control (-R) and verbose (-v) mode. can help CPU utilisation on slower machines. this is an mpg321-specific option. β¨-l N,--loop Nβ loop song or playlist N times. if N is0means infinite times. π--help,--longhelpβ show summary of options.-V,--versionβ show version of program.
π Basic keys (enabled with -K) π
*or/β increase or decrease volume.nβ skip song.mβ mute/unmute.
keyboard warrior era fr. β¨οΈβ¨
π AUTHOR π
this manual page was written by Joe Drew <drew@debian.org>.
maintained by Nanakos Chrysostomos <nanakos@wired-net.gr>.
permission is granted to copy, distribute and/or modify this document under the terms of the BSD license. on Debian systems, this can be found in /usr/share/common-licenses/BSD.
and that's the whole page bestie, straight out of the General Commands Manual β mpg321(1), top to bottom, every last line accounted for. go play something. slay. πππ¦πΈβππ§π
π¦ where this page comes from
- debian trixie: mpg321 0.3.2-4 Β· GPL-2.0-or-later
- ubuntu questing: mpg321 0.3.2-4
- ubuntu resolute: mpg321 0.3.2-5 Β· GPL-2.0-or-later
- ubuntu stonking: mpg321 0.3.2-6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms