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.
- 1 Installation
- 2 Additional installation tips
- 3 Usage
- 4 External links
pacman -S mplayer in a shell as root.
Additional installation tips
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.
smplayeris in the extra repository. The
smplayer-themespackage provides themes for it.
gnome-mplayerare 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.
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
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.
|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.|
|f||Toggle fullscreen mode.|
|o||Toggle OSD state.|
|j||Toggle subtitle visibility.|
|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
If you got frontend/GUI enter GUI name in Exec=GUI name %F.