MPlayer
From Gentoo Wiki
MPlayer is a powerful commandline media player.
Contents |
Installation
Install media-video/mplayer:
| USE flag | Default | Recommended | Description |
|---|---|---|---|
| encode | No | Build mencoder | |
| lirc | No | Adds support for lirc (Linux's Infra-Red Remote Control) | |
| mmx | No | Adds support for optimizations for Pentium MMX and Athlon class processors | |
| mmxext | No | Enables mmx2 support | |
| quicktime | No | Adds support for OpenQuickTime | |
| vorbis | No | Adds support for the OggVorbis audio codec | |
| xv | No | Adds in optional support for the Xvideo extension (an X API for video playback) | |
| xvid | No | Adds support for xvid.org's open-source mpeg-4 codec | |
| x264 | No | Enable h264 encoding using x264 |
root # emerge --ask mplayerGUI tools
There are a number of different GUI's for MPlayer with different levels of functionality. Some notable ones are:
Tips
Disable screensaver while playing a video
Using qdbus (Qt/KDE):
File~/.mplayer/config
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity"
For systems using xscreensaver alone:
File~/.mplayer/config
heartbeat-cmd="xscreensaver-command -deactivate"
Troubleshooting
My video won't play!
MPlayer uses USE flags to enable and disable support for various codecs. If a particular type of file will not play in MPlayer, first check which USE flags MPlayer was emerged with. Update the USE flags to support for the format you are trying to play and recompile.