From ArchWiki
Revision as of 16:28, 16 July 2009 by 6xx (talk | contribs) (Oh, I've missed newline)
Jump to: navigation, search

Template:I18n links start Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n entry Template:I18n links end

MPlayer is the oh-so-popular movie player for Linux. MPlayer has support for pretty much every video and audio format out there and is hence very versatile, even though most people use it for viewing videos.


Type pacman -S mplayer in a shell as root.

Additional installation tips

More codecs

To get the most out of MPlayer, you should really consider installing the codecs package, which adds support for Windows codecs, Real9 and QuickTime (.mov).

Install it with: pacman -S codecs.


There are several GUIs for MPlayer.

  • Qt: smplayer is in the extra repository. The smplayer-themes package provides themes for it.
  • Gtk+: pymp and gnome-mplayer are in the AUR and community repos, respectively.
  • gmplayer: this gui is no longer included in the mplayer package. There is an alternative mplayer package (mplayer-x) in AUR in which the gmplayer gui is enabled.

Browser integration

If you want to let MPlayer control video viewing in your favorite web browser, try one of the following:


pacman -S mplayer-plugin

pacman -S gecko-mediaplayer


pacman -S kmplayer (also provides a complete frontend to MPlayer.)



System-wide configuration is located in /usr/local/etc/mplayer/mplayer.conf, whereas the user-local settings are stored in ~/.mplayer/config.

Translucent Video with radeon and Composite enabled

To get translucent video output in X you have to enable textured video in mplayer:

mplayer -vo xv:adaptor=1 <File>

Or add the following line to ~/.mplayer/config:


You can use xvinfo to check which video modes your graphic card supports.

Watching streamed video

If you want to play a video stream (e.g *.asx link) use mplayer -playlist linktostream.asx to play the stream as these are playlists of streams and won't be playable omitting the -playlist option.

Stream mplayer audio to jackd

Edit ~/.mplayer/config add:



This is a list of the most basic MPlayer keys.
Key Description
p Toggle pause/play.
Space Toggle pause/play.
Left Seek backward ten seconds.
Right Seek forward ten seconds.
Down Seek backward one minute.
Up Seek forward one minute.
< Go back in the playlist.
> Go forward in the playlist.
m Mute the sound.
0 Volume up.
9 Volume down.
f Toggle fullscreen mode.
o Toggle OSD state.
j Toggle subtitle visibility.
I Show filename.
1, 2 Adjust contrast.
3, 4 Adjust brightness.

Mplayer fails to open files with spaces

If you try to open a file with spaces (The Movie) and mplayer fails, saying that it could not open the file (file:///The%20Movie), where all spaces are converted to %20, then open


and change the line

Exec=mplayer %U


Exec=mplayer %F

If you got frontend/GUI enter GUI name in Exec=GUI name %F.

External links