%general-entities; ]> $LastChangedBy$ $Date$ MPlayer-&mplayer-version; MPlayer Introduction to MPlayer MPlayer is a powerful audio/video player controlled via the command line or a graphical interface that is able to play almost every popular audio and video file format. With supported video hardware and additional drivers, MPlayer can play video files without an X Window System installed. &lfs73_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &mplayer-md5sum; Download size: &mplayer-size; Estimated disk space required: &mplayer-buildsize; Estimated build time: &mplayer-time; Additional Downloads Required patch: Required patch: Skins GUI skin (HTTP): GUI skin (FTP): Skin MD5 sum: &mplayer-skin-md5sum; Skin size: &mplayer-skin-size; Alternative skins: Skins are only required to use the Gtk+ 2 user interface. MPlayer Dependencies Required Recommended Optional Input Drivers and Libraries , , , , , libbluray, libcdio, LIVE555 Streaming Media, RTMPDump, TiVo vstream client and XMMS Optional Audio Output Drivers and Libraries , , , , JACK, OpenAL and NAS Optional Video Output Drivers and Libraries , DirectFB, , libcaca, , , , and SVGAlib Optional CODECs , , , , , , , , , , , , , TwoLAME, GSM, libdca, libmpcdec, OpenCore Adaptive Multi Rate, CrystalHD, x264, Dirac, Schroedinger and libnut Optional Miscellaneous Dependencies Enca, , , , (required for the GUI), LADSPA, libbs2b, LIRC (and LIRC Client Daemon), , and , and (all three required to build the HTML documentation) User Notes: Installation of MPlayer Main MPlayer Installation The package maintainers recommend building without any optimizations. You may wish to examine the output from ./configure --help to find out what additional parameters to configure are needed to include the dependencies you have installed on your system. Install MPlayer by running the following commands: patch -Np1 -i ../MPlayer-&mplayer-version;-giflib_fixes-1.patch && patch -Np1 -i ../MPlayer-&mplayer-version;-live_fixes-1.patch && sed -i 's:libsmbclient.h:samba-4.0/&:' configure stream/stream_smb.c && ./configure --prefix=/usr \ --confdir=/etc/mplayer \ --enable-dynamic-plugins \ --enable-menu \ --enable-gui && make If you wish to rebuild the chunked HTML documentation and build a non-chunked HTML version of the docs, issue the following command: make doc This package does not come with a test suite. Now, as the root user: make install To install the HTML documentation, issue the following commands as the root user: install -v -m755 -d /usr/share/doc/mplayer-&mplayer-version; && install -v -m644 DOCS/HTML/en/* \ /usr/share/doc/mplayer-&mplayer-version; You will only need codecs.conf if you want to change its properties, as the main binary contains an internal copy of it. Ensure any changes you make to codecs.conf achieve the desired results, as incorrect entries in this file have been known to cause errors and render the player unusable. If necessary, create the file as the root user: install -v -m644 etc/codecs.conf /etc/mplayer You may alternatively want to copy all the default configuration files to /etc/mplayer for future reference or more customization ability. As the root user: install -v -m644 etc/*.conf /etc/mplayer Skin Installation (Optional) To enable the Gtk+ 2 frontend of MPlayer, you'll need to install at least one skin. Extract the desired skin and create the default location (as the root user): tar -xvf ../&mplayer-skin;.tar.bz2 \ -C /usr/share/mplayer/skins && ln -sfv Clearlooks /usr/share/mplayer/skins/default Command Explanations --enable-gui: This option builds the GUI interface into mplayer. --enable-menu: This option is set to enable the on-screen display. : You can use this option if you have installed . MPlayer includes a copy of the FFmpeg source and without this option it will statically compile the included version of FFmpeg into itself. Dynamically linking to a system installed FFmpeg makes MPlayer and Mencoder about 9MB smaller. If MPlayer exhibits unstable behavior linked to a system installed FFmpeg, try recompiling MPlayer without this option (it is always more thoroughly tested with the included FFmpeg). Configuring MPlayer Config Files /etc/mplayer/* and ~/.mplayer/* ~/.mplayer/* /etc/mplayer/* Configuration Information Typically, there's no configuration required for the system-wide files in /etc/mplayer (in fact, this directory is empty unless you copied the default files as mentioned above). Configuration can be accomplished by choosing the configuration button located on the MPlayer GUI. Any configuration changes made in the GUI will be saved in the user's ~/.mplayer directory. Contents Installed Programs Installed Libraries Installed Directories gmplayer, mplayer and mencoder None /etc/mplayer, /usr/lib/mplayer, /usr/share/mplayer and /usr/share/doc/mplayer Short Descriptions gmplayer is a symlink to mplayer which brings up the GTK+ 2 frontend of MPlayer. gmplayer mplayer is the main MPlayer video player. mplayer mencoder is a powerful command line video decoding, encoding and filtering tool that is useful for (amongst other things) ripping DVDs to files on your hard disk (see /usr/share/doc/mplayer-&mplayer-version;/mencoder.html) mencoder