Menu

Tree [549eee] master /
 History

HTTPS access


File Date Author Commit
 DOCS 2015-01-02 ib ib [cdbed1] Update year.
 TOOLS 2015-01-07 ib ib [29de82] Fix the tool for checking translated messages h...
 debian 2012-10-23 william0wang william0wang [8ff140] Merge branch 'official'
 drivers 2012-02-23 william0wang william0wang [4f7bee] Merge branch 'official'
 etc 2014-12-30 cehoyos cehoyos [bf97c3] Support 48-bit BGR as used in r10k.
 gui 2014-12-19 al al [b41af7] gui/win32: Fix wrong usage of format string
 help 2014-10-19 jrash jrash [ad4005] Synced with help_mp-en.h rev. 37272
 input 2014-09-04 reimar reimar [cc80f5] Ensure isprint only gets input it can handle.
 libaf 2014-12-06 reimar reimar [3f4dc1] af_hrtf: Fix out-of-range read.
 libao2 2014-05-06 reimar reimar [f25f03] alsa: Better volume control handling, especiall...
 libass 2013-09-24 reimar reimar [5d8a9d] Update libass to latest git version.
 libdvdnav 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 libdvdread4 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 libiniparser 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 libmenu 2014-04-06 reimar reimar [e4f881] vf_menu: try to make code more straight-forward.
 libmpcodecs 2015-01-13 william0wang william0wang [605d92] Fixed screenshot
 libmpdemux 2014-12-30 reimar reimar [1a6d06] demux_avi: Force libavformat if -novideo was used.
 libmpeg2 2010-08-06 diego diego [cf9c0e] Restore hunk previously removed in r31354.
 libvo 2015-01-12 cigaes cigaes [da79c8] vo_vdpau: fix border-pos interaction with EOSD.
 loader 2014-09-27 reimar reimar [1fd214] dmo: print messages to stderr instead of stdout.
 osdep 2015-01-02 ib ib [cdbed1] Update year.
 rpm 2012-01-16 william0wang william0wang [1b8fb1] Merge branch 'official'
 skin 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 stream 2014-12-10 al al [e74c02] stream_vstream: Do not use already formatted st...
 sub 2014-11-29 reimar reimar [131210] subassconvert: Fix color and italic support for...
 tests 2012-01-10 william0wang william0wang [d128fe] Merge branch 'official'
 vidix 2014-05-17 al al [91b866] vidix: Replace printf with mp_msg
 .gitignore 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 AUTHORS 2012-10-09 william0wang william0wang [9a20b7] Merge branch 'official'
 Changelog 2014-09-08 ib ib [bef5be] Remove GTK+ and GLib versions 1 relatedness fro...
 Copyright 2013-03-25 william0wang william0wang [392b30] Merge branch 'official'
 LICENSE 2010-05-03 diego diego [a2e3a0] the great MPlayer tab removal: part II
 Makefile 2014-11-02 reimar reimar [553aa7] Remove remaining parts of internal libdvdnav, l...
 README 2010-08-07 siretart siretart [014089] restore functionality to be able to pass custom...
 access_mpcontext.h 2014-08-17 ib ib [defb2b] Ensure up-to-dateness of global_sub information...
 asxparser.c 2014-01-19 reimar reimar [86decc] asxparser: Declare variables in the blocks that...
 asxparser.h 2010-05-03 diego diego [a2e3a0] the great MPlayer tab removal: part II
 autocfg-debug.sh 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 autocfg-shared.sh 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 autocfg-static.sh 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 automerge.sh 2015-01-13 william0wang william0wang [549eee] Do not merge console branch
 automk-debug.sh 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 automk-shared.sh 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 automk-static.sh 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 automk.sh 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 av_helpers.c 2014-02-16 reimar reimar [10d585] av_helpers: avoid deprecated API.
 av_helpers.h 2013-08-25 reimar reimar [c6cbd2] Extract audio encoding code into a separate hel...
 av_opts.c 2013-01-25 william0wang william0wang [8845a7] Merge branch 'official'
 av_opts.h 2009-01-25 diego diego [08b193] Add missing multiple inclusion guards.
 binary.ver 2013-06-15 reimar reimar [cd9329] Fix issues with glibc on 32 bit.
 bstr.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 bstr.h 2010-07-18 greg greg [12e846] subtitles: convert SRT/MicroDVD markup into ASS...
 cfg-common.h 2014-08-31 reimar reimar [4dc80a] Support -ni option for all formats.
 cfg-mencoder.h 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 cfg-mplayer-def.h 2010-02-20 diego diego [ff2046] Add standard license header.
 cfg-mplayer.h 2013-05-25 reimar reimar [6a5811] Add options to determine where borders will be ...
 codec-cfg.c 2014-12-30 cehoyos cehoyos [bf97c3] Support 48-bit BGR as used in r10k.
 codec-cfg.h 2014-09-27 reimar reimar [07ba22] codec-cfg.h: Fix GUID type to be identical betw...
 command.c 2014-08-28 ib ib [7c0926] Check existence of a demuxer when updating glob...
 command.h 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 configure 2015-01-13 william0wang william0wang [caf0e4] Fixed libdvdcss
 cpudetect.c 2013-06-05 reimar reimar [2f13cd] Update #if for previous commit, fixes compilati...
 cpudetect.h 2012-10-09 william0wang william0wang [9a20b7] Merge branch 'official'
 cpuinfo.c 2011-08-11 diego diego [2aa06a] build: drop BeOS support
 edl.c 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 edl.h 2010-09-03 reynaldo reynaldo [d2e7fe] Add -edl-start-pts option to Adjust positions i...
 fmt-conversion.c 2014-12-30 cehoyos cehoyos [bf97c3] Support 48-bit BGR as used in r10k.
 fmt-conversion.h 2013-01-25 william0wang william0wang [8845a7] Merge branch 'official'
 m_config.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 m_config.h 2010-09-27 diego diego [787a2c] Mark some function parameters that are not modi...
 m_option.c 2014-12-30 cehoyos cehoyos [bf97c3] Support 48-bit BGR as used in r10k.
 m_option.h 2014-02-16 reimar reimar [81ebb6] m_option, vf_scale: Add some missing const.
 m_property.c 2011-01-03 cboesch cboesch [891875] Factorize ROUND() redefinitions macro.
 m_property.h 2011-11-07 william0wang william0wang [1591b3] Merge branch 'official'
 m_struct.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 m_struct.h 2014-09-17 reimar reimar [10403b] Add stdint.h include for intptr_t.
 mangle.h 2009-11-10 reimar reimar [25f332] Use configure code to define PIC instead of dup...
 mediainfo.c 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 mencoder.c 2014-05-20 reimar reimar [1ba09d] mencoder: warn if audio format changes.
 mencoder.h 2010-09-11 diego diego [acb529] Move all MEncoder-related extern variable decla...
 message.c 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 message.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 metadata.h 2010-02-20 diego diego [bb0d5c] cosmetics: Remove pointless empty lines at EOF.
 mixer.c 2014-05-06 reimar reimar [3c7f5e] mixer: do not unmute to volume 0, instead unmut...
 mixer.h 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 mp_core.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 mp_fifo.c 2013-09-22 reimar reimar [ee3a92] Fix a few memleaks.
 mp_fifo.h 2013-09-22 reimar reimar [ee3a92] Fix a few memleaks.
 mp_global.h 2011-06-12 reimar reimar [081724] Change code to allow STREAM_CTRL_GET_CURRENT_TI...
 mp_msg.c 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 mp_msg.h 2011-05-08 reimar reimar [9a3ac1] Change mp_dbg so that syntax is checked also wh...
 mp_osd.h 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 mp_strings.c 2011-06-20 reimar reimar [050c68] Avoid va_copy, it is not generally available
 mp_strings.h 2011-03-06 cboesch cboesch [d26267] Cosmetics: add empty line between system and lo...
 mpbswap.h 2011-08-11 diego diego [2aa06a] build: drop BeOS support
 mpcommon.c 2014-02-02 ib ib [0d84d6] Add support for default of multiple video tracks.
 mpcommon.h 2014-02-02 ib ib [0d84d6] Add support for default of multiple video tracks.
 mplayer.c 2014-10-25 al al [5ad1c3] Pass application/vnd.ms-opentype attachments to...
 mplayer.h 2013-03-30 reimar reimar [c96a1f] Add -heartbeat-interval option.
 mplayer_lang.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 parser-cfg.c 2012-11-08 william0wang william0wang [8a0238] Merge branch 'official'
 parser-cfg.h 2011-10-31 william0wang william0wang [4feac4] Merge branch 'official'
 parser-mecmd.c 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 parser-mecmd.h 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 parser-mpcmd.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 parser-mpcmd.h 2010-01-30 diego diego [b66c59] Add license header to all top-level files missi...
 path.c 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 path.h 2011-02-01 cboesch cboesch [12f69c] Add mp_dir_join function.
 playlist.c 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 playlist.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 playtree.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 playtree.h 2011-11-07 william0wang william0wang [1591b3] Merge branch 'official'
 playtreeparser.c 2014-01-25 reimar reimar [823f29] playtreeparser: Remove pointless assignment.
 playtreeparser.h 2010-05-27 diego diego [b44711] Drop pointless _st suffix from 'struct stream'.
 pnm_loader.c 2011-08-11 diego diego [68b8a7] doxygen: drop filename from @file directive
 pnm_loader.h 2010-10-18 cigaes cigaes [af6c63] Move the read_pnm function into a separate file.
 resource.h 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 subopt-helper.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 subopt-helper.h 2011-08-11 diego diego [68b8a7] doxygen: drop filename from @file directive
 udp_sync.c 2013-03-19 william0wang william0wang [66b551] Merge branch 'official'
 udp_sync.h 2010-09-11 diego diego [4e9f5f] Add #include for required header mp_core.h; fix...
 unrar.c 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 unrar.h 2013-04-16 william0wang william0wang [413ff7] Merge branch 'official' into console
 version.sh 2015-01-02 ib ib [cdbed1] Update year.
 win7shellapi.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 winstuff.c 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 winstuff.h 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 wwremote 2013-04-03 william0wang william0wang [f15412] Merge branch 'official'
 xvid_vbr.c 2014-04-06 reimar reimar [eca4b9] xvid_vbr: Sanity-check parsed variable before u...
 xvid_vbr.h 2009-05-13 diego diego [b68aef] whitespace cosmetics: Remove all trailing white...

Read Me

Welcome to MPlayer, The Movie Player. MPlayer can play most standard video
formats out of the box and almost all others with the help of external codecs.
MPlayer currently works best from the command line, but visual feedback for
many functions is available from its onscreen status display (OSD), which is
also used for displaying subtitles. MPlayer also has a GUI with skin support and
several unofficial alternative graphical frontends are available.

MEncoder is a command line video encoder for advanced users that can be built
from the MPlayer source tree. Unofficial graphical frontends exist but are
not included.

This document is for getting you started in a few minutes. It cannot answer all
of your questions. If you have problems, please read the documentation in
DOCS/HTML/en/index.html, which should help you solve most of your problems.
Also read the man page to learn how to use MPlayer.


Requirements:
- POSIX system: You need a POSIX-compatible shell and POSIX-compatible system
  tools like grep, sed, awk, etc. in your path.
- You need a working development environment that can compile programs.
  On popular Linux distributions, this means having the glibc development
  package(s) installed.
- To compile MPlayer with X11 support, you need to have the X Window System
  development packages (like for XFree86 or X.Org) installed.
- For the GUI you need the GTK development packages.


Before you start...
Make sure that your version of X has Xvideo support, without it even very
fast machines may not be able to properly play high resolution videos in
fullscreen mode. Consult DOCS/HTML/en/video.html for details. There you may
also find out about special card-specific video output drivers that can yield
optimal performance.


______________________
STEP0: Getting MPlayer
~~~~~~~~~~~~~~~~~~~~~~

Official releases and Subversion snapshots, as well as binary codec packages
and a number of different skins for the GUI are available from the download
section of our homepage at

  http://www.mplayerhq.hu/dload.html

MPlayer has builtin support for the most common audio and video formats. For a
few formats no native decoder exists and external binary codecs are required
to handle them. Examples are newer RealVideo variants and a variety of rare
formats. However, binary codecs are NOT required in this day and age, they are
strictly optional.

Please note that binary codecs only work on the processor architecture they
were compiled for. Choose the correct package for your processor. No other
package is necessary.

The GUI needs at least one skin and codec packages add support for some more
video and audio formats. MPlayer does not come with any of these by default,
you have to download and install them separately.

You can also get MPlayer via Subversion. Issue the following commands to get
the latest sources:

  svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

A directory named 'mplayer' will be created. It will include all necessary
FFmpeg libraries, you don't need to get them separately as was the case in
the past. You can later update your sources by saying

  svn update

from within that directory.


_______________________________
STEP1: Installing Binary Codecs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unpack the codecs archives and put the contents in a directory where MPlayer
will find them. The default directory is /usr/local/lib/codecs/ (it used to be
/usr/local/lib/win32 in the past, this also works) but you can change that to
something else by passing the '--codecsdir' option to './configure'.


__________________________
STEP2: Configuring MPlayer
~~~~~~~~~~~~~~~~~~~~~~~~~~

MPlayer can be adapted to all kinds of needs and hardware environments. Run

  ./configure

to configure MPlayer with the default options. GUI support has to be enabled
separately, run

  ./configure --enable-gui

if you want to use the GUI.

If something does not work as expected, try

  ./configure --help

to see the available options and select what you need.

The configure script prints a summary of enabled and disabled options. If you
have something installed that configure fails to detect, check the file
config.log for errors and reasons for the failure. Repeat this step until
you are satisfied with the enabled feature set.


________________________
STEP3: Compiling MPlayer
~~~~~~~~~~~~~~~~~~~~~~~~

Now you can start the compilation by typing

  make

You can install MPlayer with

  make install

provided that you have write permission in the installation directory.

If all went well, you can run MPlayer by typing 'mplayer'. A help screen with a
summary of the most common options and keyboard shortcuts should be displayed.

If you get 'unable to load shared library' or similar errors, run
'ldd ./mplayer' to check which libraries fail and go back to STEP 3 to fix it.
Sometimes running 'ldconfig' is enough to fix the problem.

NOTE: If you run Debian you can configure, compile and build a proper Debian
.deb package with only one command:

  debian/daily-build.sh -b

You can also pass some variables to the Makefile. For example, if you
want to compile with gcc 3.4 even if it's not the default compiler, or
pass extra configure options you would use:

  CC=gcc-3.4 DEB_EXTRA_CONFIGURE_FLAGS="--disable-libdvdcss-internal" debian/daily-build.sh -b


To clean up the source tree run the following command:

  fakeroot debian/rules clean
  rm debian/changelog

______________________________________
STEP4: Choose an onscreen display font
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can use any TrueType font installed on your system. Just pass '-font
/path/to/font.ttf' on the command line or add 'font=/path/to/font.ttf' to
your configuration file. The manual page has more details. Alternatively
you can create a symbolic link from either ~/.mplayer/subfont.ttf or
/usr/local/share/mplayer/subfont.ttf to your TrueType font.


____________________________
STEP5: Installing a GUI skin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unpack the archive and put the contents in /usr/local/share/mplayer/skins/ or
~/.mplayer/skins/. MPlayer will use the skin in the subdirectory named default
of /usr/local/share/mplayer/skins/ or ~/.mplayer/skins/ unless told otherwise
via the '-skin' switch. You should therefore rename your skin subdirectory or
make a suitable symbolic link.


__________________
STEP6: Let's play!
~~~~~~~~~~~~~~~~~~

That's it for the moment. To start playing movies, open a command line and try

  mplayer <moviefile>

or for the GUI

  gmplayer <moviefile>

gmplayer is a symbolic link to mplayer created by 'make install'.
Without <moviefile>, gmplayer will start with the GUI filepicker.

To play a VCD track or a DVD title, try:

  mplayer vcd://2 -cdrom-device /dev/hdc
  mplayer dvd://1 -alang en -slang hu -dvd-device /dev/hdd

See 'mplayer -help' and 'man mplayer' for further options.

'mplayer -vo help' will show you the available video output drivers. Experiment
with the '-vo' switch to see which one gives you the best performance.
If you get jerky playback or no sound, experiment with the '-ao' switch (see
'-ao help') to choose between different audio drivers. Note that jerky playback
is caused by buggy audio drivers or a slow processor and video card. With a
good audio and video driver combination, one can play DVDs and 720x576 MPEG-4
files smoothly on a Celeron 366. Slower systems may need the '-framedrop'
option.

Questions you may have are probably answered in the rest of the documentation.
The places to start reading are the man page, DOCS/HTML/en/index.html and
DOCS/HTML/en/faq.html. If you find a bug, please report it, but first read
DOCS/HTML/en/bugreports.html.