|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| DOCS/ | H | 29-Dec-2021 | - | 262,234 | 243,281 |
| TOOLS/ | H | 03-May-2022 | - | 11,566 | 8,266 |
| compatinc/ | H | 29-Dec-2021 | - | 12 | 11 |
| debian/ | H | 03-May-2022 | - | 1,587 | 1,077 |
| drivers/ | H | 29-Dec-2021 | - | 8,269 | 6,555 |
| etc/ | H | 03-May-2022 | - | 7,250 | 6,226 |
| gui/ | H | 29-Dec-2021 | - | 30,738 | 23,014 |
| help/ | H | 03-May-2022 | - | 30,456 | 25,638 |
| input/ | H | 29-Dec-2021 | - | 3,394 | 2,581 |
| libaf/ | H | 29-Dec-2021 | - | 13,445 | 9,566 |
| libao2/ | H | 03-May-2022 | - | 9,765 | 6,923 |
| libass/ | H | 29-Dec-2021 | - | 11,122 | 8,094 |
| libmenu/ | H | 29-Dec-2021 | - | 3,975 | 3,192 |
| libmpcodecs/ | H | 03-May-2022 | - | 56,007 | 41,551 |
| libmpdemux/ | H | 29-Dec-2021 | - | 44,714 | 34,276 |
| libmpeg2/ | H | 29-Dec-2021 | - | 13,513 | 10,469 |
| libvo/ | H | 03-May-2022 | - | 50,050 | 38,097 |
| loader/ | H | 29-Dec-2021 | - | 35,721 | 27,114 |
| osdep/ | H | 29-Dec-2021 | - | 2,547 | 1,521 |
| rpm/ | H | 29-Dec-2021 | - | 681 | 607 |
| stream/ | H | 03-May-2022 | - | 44,540 | 32,729 |
| sub/ | H | 29-Dec-2021 | - | 13,640 | 10,705 |
| tests/ | H | 03-May-2022 | - | 37,812 | 37,488 |
| vidix/ | H | 03-May-2022 | - | 41,951 | 34,850 |
| .gitignore | H A D | 20-Jan-2013 | 881 | 60 | 59 |
| AUTHORS | H A D | 07-Feb-2016 | 33 KiB | 1,130 | 871 |
| Changelog | H A D | 04-Mar-2021 | 137.5 KiB | 3,405 | 2,929 |
| Copyright | H A D | 11-Apr-2018 | 4.9 KiB | 146 | 117 |
| LICENSE | H A D | 03-May-2010 | 17.7 KiB | 341 | 281 |
| Makefile | H A D | 03-May-2022 | 52.3 KiB | 1,137 | 921 |
| README | H A D | 07-Aug-2010 | 7.5 KiB | 207 | 141 |
| access_mpcontext.h | H A D | 17-Aug-2014 | 1.3 KiB | 34 | 13 |
| asxparser.c | H A D | 23-Jan-2021 | 18.7 KiB | 691 | 565 |
| asxparser.h | H A D | 03-May-2010 | 1.8 KiB | 76 | 35 |
| av_helpers.c | H A D | 01-May-2021 | 8.4 KiB | 259 | 217 |
| av_helpers.h | H A D | 01-May-2021 | 1.2 KiB | 35 | 11 |
| av_opts.c | H A D | 01-Nov-2020 | 1.5 KiB | 61 | 30 |
| av_opts.h | H A D | 25-Jan-2009 | 1,000 | 31 | 4 |
| bstr.c | H A D | 23-Jan-2021 | 1.5 KiB | 55 | 31 |
| bstr.h | H A D | 18-Jul-2010 | 1.2 KiB | 40 | 14 |
| cfg-common.h | H A D | 01-Nov-2020 | 34.6 KiB | 645 | 546 |
| cfg-mencoder.h | H A D | 31-Oct-2017 | 11.4 KiB | 270 | 210 |
| cfg-mplayer-def.h | H A D | 20-Feb-2010 | 957 | 29 | 7 |
| cfg-mplayer.h | H A D | 24-Jul-2015 | 18.8 KiB | 371 | 267 |
| codec-cfg.c | H A D | 23-Jan-2021 | 38.4 KiB | 1,327 | 1,140 |
| codec-cfg.h | H A D | 06-Mar-2016 | 3 KiB | 98 | 63 |
| command.c | H A D | 25-Jan-2021 | 116.7 KiB | 3,522 | 3,043 |
| command.h | H A D | 30-Jan-2010 | 1 KiB | 30 | 8 |
| configure | H A D | 03-May-2022 | 282.3 KiB | 9,941 | 8,718 |
| cpudetect.c | H A D | 07-Feb-2021 | 16.2 KiB | 540 | 400 |
| cpudetect.h | H A D | 14-Sep-2012 | 1.5 KiB | 59 | 32 |
| cpuinfo.c | H A D | 16-Apr-2016 | 16.3 KiB | 424 | 365 |
| edl.c | H A D | 30-Jan-2010 | 4.5 KiB | 158 | 99 |
| edl.h | H A D | 03-Sep-2010 | 1.4 KiB | 49 | 21 |
| fmt-conversion.c | H A D | 21-Feb-2016 | 8.1 KiB | 210 | 179 |
| fmt-conversion.h | H A D | 20-Jan-2013 | 1.1 KiB | 32 | 10 |
| m_config.c | H A D | 23-Jan-2021 | 16.3 KiB | 606 | 500 |
| m_config.h | H A D | 13-Feb-2021 | 5.8 KiB | 230 | 67 |
| m_option.c | H A D | 23-Jan-2021 | 53 KiB | 2,254 | 1,867 |
| m_option.h | H A D | 16-Feb-2014 | 18.3 KiB | 551 | 188 |
| m_property.c | H A D | 23-Jan-2021 | 11.9 KiB | 399 | 347 |
| m_property.h | H A D | 13-Feb-2016 | 7.2 KiB | 228 | 59 |
| m_struct.c | H A D | 23-Jan-2021 | 3.6 KiB | 135 | 90 |
| m_struct.h | H A D | 17-Sep-2014 | 3.8 KiB | 130 | 30 |
| mangle.h | H A D | 10-Nov-2009 | 1.2 KiB | 41 | 14 |
| mencoder.c | H A D | 25-Jan-2021 | 57.4 KiB | 1,746 | 1,386 |
| mencoder.h | H A D | 11-Sep-2010 | 1 KiB | 33 | 12 |
| metadata.h | H A D | 20-Feb-2010 | 1.4 KiB | 54 | 21 |
| mixer.c | H A D | 06-May-2014 | 5.1 KiB | 187 | 151 |
| mixer.h | H A D | 30-Jan-2010 | 1.6 KiB | 51 | 25 |
| mp_core.h | H A D | 30-Oct-2012 | 4.8 KiB | 162 | 104 |
| mp_fifo.c | H A D | 22-Sep-2013 | 3.4 KiB | 112 | 76 |
| mp_fifo.h | H A D | 22-Sep-2013 | 990 | 31 | 8 |
| mp_global.h | H A D | 12-Jun-2011 | 1.1 KiB | 30 | 4 |
| mp_msg.c | H A D | 23-Jan-2021 | 7.1 KiB | 265 | 220 |
| mp_msg.h | H A D | 02-Mar-2016 | 4.7 KiB | 168 | 92 |
| mp_osd.h | H A D | 30-Jan-2010 | 1.6 KiB | 46 | 20 |
| mp_strings.c | H A D | 20-Jun-2011 | 1.2 KiB | 52 | 25 |
| mp_strings.h | H A D | 06-Mar-2011 | 905 | 27 | 4 |
| mpbswap.h | H A D | 11-Aug-2011 | 1.1 KiB | 35 | 13 |
| mpcommon.c | H A D | 07-Feb-2021 | 23.3 KiB | 704 | 573 |
| mpcommon.h | H A D | 02-Mar-2016 | 2.7 KiB | 91 | 57 |
| mplayer.c | H A D | 03-May-2022 | 140.4 KiB | 4,182 | 3,274 |
| mplayer.h | H A D | 10-Jun-2018 | 1.5 KiB | 55 | 27 |
| mpmem.h | H A D | 13-Feb-2021 | 3.5 KiB | 90 | 55 |
| mppacked.h | H A D | 07-Feb-2021 | 1.1 KiB | 34 | 12 |
| mpx86asm.h | H A D | 17-Oct-2015 | 6.1 KiB | 163 | 93 |
| parser-cfg.c | H A D | 06-Nov-2012 | 7.5 KiB | 302 | 209 |
| parser-cfg.h | H A D | 25-Oct-2011 | 1 KiB | 29 | 6 |
| parser-mecmd.c | H A D | 30-Jan-2010 | 4.1 KiB | 171 | 126 |
| parser-mecmd.h | H A D | 30-Jan-2010 | 1.6 KiB | 56 | 14 |
| parser-mpcmd.c | H A D | 23-Jan-2021 | 8.1 KiB | 291 | 228 |
| parser-mpcmd.h | H A D | 30-Jan-2010 | 979 | 28 | 6 |
| path.c | H A D | 13-Mar-2017 | 7.7 KiB | 286 | 195 |
| path.h | H A D | 13-Mar-2017 | 1.1 KiB | 34 | 10 |
| playtree.c | H A D | 23-Jan-2021 | 20.5 KiB | 956 | 732 |
| playtree.h | H A D | 03-Nov-2011 | 7.5 KiB | 300 | 115 |
| playtreeparser.c | H A D | 23-Jan-2021 | 26 KiB | 992 | 810 |
| playtreeparser.h | H A D | 27-May-2010 | 2.1 KiB | 72 | 19 |
| pnm_loader.c | H A D | 11-Aug-2011 | 2.4 KiB | 98 | 58 |
| pnm_loader.h | H A D | 18-Oct-2010 | 2 KiB | 53 | 7 |
| snapshot_version | H A D | 29-Dec-2021 | 15 | 2 | 1 |
| subopt-helper.c | H A D | 23-Jan-2021 | 9.4 KiB | 347 | 204 |
| subopt-helper.h | H A D | 11-Aug-2011 | 2 KiB | 66 | 26 |
| udp_sync.c | H A D | 23-Jan-2021 | 7.2 KiB | 250 | 162 |
| udp_sync.h | H A D | 11-Sep-2010 | 1.3 KiB | 39 | 11 |
| version.sh | H A D | 03-May-2022 | 1.1 KiB | 31 | 20 |
| xvid_vbr.c | H A D | 20-Feb-2016 | 41.3 KiB | 1,649 | 1,023 |
| xvid_vbr.h | H A D | 13-May-2009 | 6.3 KiB | 232 | 134 |
README
1Welcome to MPlayer, The Movie Player. MPlayer can play most standard video
2formats out of the box and almost all others with the help of external codecs.
3MPlayer currently works best from the command line, but visual feedback for
4many functions is available from its onscreen status display (OSD), which is
5also used for displaying subtitles. MPlayer also has a GUI with skin support and
6several unofficial alternative graphical frontends are available.
7
8MEncoder is a command line video encoder for advanced users that can be built
9from the MPlayer source tree. Unofficial graphical frontends exist but are
10not included.
11
12This document is for getting you started in a few minutes. It cannot answer all
13of your questions. If you have problems, please read the documentation in
14DOCS/HTML/en/index.html, which should help you solve most of your problems.
15Also read the man page to learn how to use MPlayer.
16
17
18Requirements:
19- POSIX system: You need a POSIX-compatible shell and POSIX-compatible system
20 tools like grep, sed, awk, etc. in your path.
21- You need a working development environment that can compile programs.
22 On popular Linux distributions, this means having the glibc development
23 package(s) installed.
24- To compile MPlayer with X11 support, you need to have the X Window System
25 development packages (like for XFree86 or X.Org) installed.
26- For the GUI you need the GTK development packages.
27
28
29Before you start...
30Make sure that your version of X has Xvideo support, without it even very
31fast machines may not be able to properly play high resolution videos in
32fullscreen mode. Consult DOCS/HTML/en/video.html for details. There you may
33also find out about special card-specific video output drivers that can yield
34optimal performance.
35
36
37______________________
38STEP0: Getting MPlayer
39~~~~~~~~~~~~~~~~~~~~~~
40
41Official releases and Subversion snapshots, as well as binary codec packages
42and a number of different skins for the GUI are available from the download
43section of our homepage at
44
45 http://www.mplayerhq.hu/dload.html
46
47MPlayer has builtin support for the most common audio and video formats. For a
48few formats no native decoder exists and external binary codecs are required
49to handle them. Examples are newer RealVideo variants and a variety of rare
50formats. However, binary codecs are NOT required in this day and age, they are
51strictly optional.
52
53Please note that binary codecs only work on the processor architecture they
54were compiled for. Choose the correct package for your processor. No other
55package is necessary.
56
57The GUI needs at least one skin and codec packages add support for some more
58video and audio formats. MPlayer does not come with any of these by default,
59you have to download and install them separately.
60
61You can also get MPlayer via Subversion. Issue the following commands to get
62the latest sources:
63
64 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
65
66A directory named 'mplayer' will be created. It will include all necessary
67FFmpeg libraries, you don't need to get them separately as was the case in
68the past. You can later update your sources by saying
69
70 svn update
71
72from within that directory.
73
74
75_______________________________
76STEP1: Installing Binary Codecs
77~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78
79Unpack the codecs archives and put the contents in a directory where MPlayer
80will find them. The default directory is /usr/local/lib/codecs/ (it used to be
81/usr/local/lib/win32 in the past, this also works) but you can change that to
82something else by passing the '--codecsdir' option to './configure'.
83
84
85__________________________
86STEP2: Configuring MPlayer
87~~~~~~~~~~~~~~~~~~~~~~~~~~
88
89MPlayer can be adapted to all kinds of needs and hardware environments. Run
90
91 ./configure
92
93to configure MPlayer with the default options. GUI support has to be enabled
94separately, run
95
96 ./configure --enable-gui
97
98if you want to use the GUI.
99
100If something does not work as expected, try
101
102 ./configure --help
103
104to see the available options and select what you need.
105
106The configure script prints a summary of enabled and disabled options. If you
107have something installed that configure fails to detect, check the file
108config.log for errors and reasons for the failure. Repeat this step until
109you are satisfied with the enabled feature set.
110
111
112________________________
113STEP3: Compiling MPlayer
114~~~~~~~~~~~~~~~~~~~~~~~~
115
116Now you can start the compilation by typing
117
118 make
119
120You can install MPlayer with
121
122 make install
123
124provided that you have write permission in the installation directory.
125
126If all went well, you can run MPlayer by typing 'mplayer'. A help screen with a
127summary of the most common options and keyboard shortcuts should be displayed.
128
129If you get 'unable to load shared library' or similar errors, run
130'ldd ./mplayer' to check which libraries fail and go back to STEP 3 to fix it.
131Sometimes running 'ldconfig' is enough to fix the problem.
132
133NOTE: If you run Debian you can configure, compile and build a proper Debian
134.deb package with only one command:
135
136 debian/daily-build.sh -b
137
138You can also pass some variables to the Makefile. For example, if you
139want to compile with gcc 3.4 even if it's not the default compiler, or
140pass extra configure options you would use:
141
142 CC=gcc-3.4 DEB_EXTRA_CONFIGURE_FLAGS="--disable-libdvdcss-internal" debian/daily-build.sh -b
143
144
145To clean up the source tree run the following command:
146
147 fakeroot debian/rules clean
148 rm debian/changelog
149
150______________________________________
151STEP4: Choose an onscreen display font
152~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153
154You can use any TrueType font installed on your system. Just pass '-font
155/path/to/font.ttf' on the command line or add 'font=/path/to/font.ttf' to
156your configuration file. The manual page has more details. Alternatively
157you can create a symbolic link from either ~/.mplayer/subfont.ttf or
158/usr/local/share/mplayer/subfont.ttf to your TrueType font.
159
160
161____________________________
162STEP5: Installing a GUI skin
163~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
165Unpack the archive and put the contents in /usr/local/share/mplayer/skins/ or
166~/.mplayer/skins/. MPlayer will use the skin in the subdirectory named default
167of /usr/local/share/mplayer/skins/ or ~/.mplayer/skins/ unless told otherwise
168via the '-skin' switch. You should therefore rename your skin subdirectory or
169make a suitable symbolic link.
170
171
172__________________
173STEP6: Let's play!
174~~~~~~~~~~~~~~~~~~
175
176That's it for the moment. To start playing movies, open a command line and try
177
178 mplayer <moviefile>
179
180or for the GUI
181
182 gmplayer <moviefile>
183
184gmplayer is a symbolic link to mplayer created by 'make install'.
185Without <moviefile>, gmplayer will start with the GUI filepicker.
186
187To play a VCD track or a DVD title, try:
188
189 mplayer vcd://2 -cdrom-device /dev/hdc
190 mplayer dvd://1 -alang en -slang hu -dvd-device /dev/hdd
191
192See 'mplayer -help' and 'man mplayer' for further options.
193
194'mplayer -vo help' will show you the available video output drivers. Experiment
195with the '-vo' switch to see which one gives you the best performance.
196If you get jerky playback or no sound, experiment with the '-ao' switch (see
197'-ao help') to choose between different audio drivers. Note that jerky playback
198is caused by buggy audio drivers or a slow processor and video card. With a
199good audio and video driver combination, one can play DVDs and 720x576 MPEG-4
200files smoothly on a Celeron 366. Slower systems may need the '-framedrop'
201option.
202
203Questions you may have are probably answered in the rest of the documentation.
204The places to start reading are the man page, DOCS/HTML/en/index.html and
205DOCS/HTML/en/faq.html. If you find a bug, please report it, but first read
206DOCS/HTML/en/bugreports.html.
207