HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mpg123 — Console MPEG audio player. More information: <https://manned.org/mpg123>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandplayercliconsoleaudiompegmpg123more
linux

Problem

How to use the mpg123 command: Console MPEG audio player. More information: <https://manned.org/mpg123>.

Solution

mpg123 — Console MPEG audio player. More information: <https://manned.org/mpg123>.

Play the specified mp3 files:
mpg123 {{path/to/file1.mp3 path/to/file2.mp3 ...}}


Play the mp3 from stdin:
cat {{file.mp3}} | mpg123 -


Jump forward to the next song:
<f>


Jump back to the beginning for the song:
<b>


Stop or replay the current file:
<s>


Fast forward:
<.>


Quit:
<q>

Code Snippets

Play the specified mp3 files

mpg123 {{path/to/file1.mp3 path/to/file2.mp3 ...}}

Play the mp3 from `stdin`

cat {{file.mp3}} | mpg123 -

Jump forward to the next song

<f>

Jump back to the beginning for the song

<b>

Stop or replay the current file

<s>

Context

tldr-pages: linux/mpg123

Revisions (0)

No revisions yet.