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

mplayer — Cross-platform multimedia player. More information: <https://mplayerhq.hu/DOCS/HTML/en/commandline.h

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

Problem

How to use the mplayer command: Cross-platform multimedia player. More information: <https://mplayerhq.hu/DOCS/HTML/en/commandline.html>.

Solution

mplayer — Cross-platform multimedia player. More information: <https://mplayerhq.hu/DOCS/HTML/en/commandline.html>.

Play the specified file or URL:
mplayer {{path/to/file|url}}


Play multiple files:
mplayer {{path/to/file1 path/to/file2 ...}}


Play a specific file repeatedly:
mplayer -loop {{0}} {{path/to/file}}


Pause playback:
<Space>


Quit mplayer:
<Esc>


Seek backward or forward 10 seconds:
{{<ArrowLeft>|<ArrowRight>}}

Code Snippets

Play the specified file or URL

mplayer {{path/to/file|url}}

Play multiple files

mplayer {{path/to/file1 path/to/file2 ...}}

Play a specific file repeatedly

mplayer -loop {{0}} {{path/to/file}}

Pause playback

<Space>

Quit mplayer

<Esc>

Context

tldr-pages: common/mplayer

Revisions (0)

No revisions yet.