annotate README @ 19836:9470f7630ee4

when cmd == MP_CMD_DVDNAV_SELECT set reset=1 only if dvdnav_button_activate() succeeds, to avoid unneeded resets in main()
author nicodvb
date Fri, 15 Sep 2006 17:18:47 +0000
parents 738ee921c764
children 7110631d6601
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12851
28347c761182 name change, codec download location
diego
parents: 12652
diff changeset
1 Welcome to MPlayer, The Movie Player. MPlayer can play most standard video
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
2 formats out of the box and almost all others with the help of external codecs.
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
3 MPlayer currently works best from the command line, but visual feedback for
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
4 many functions is available from its onscreen status display (OSD), which is
9618
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
5 also used for displaying subtitles. MPlayer also has a GUI with skin support and
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
6 several unofficial alternative graphical frontends are available.
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
7
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
8 MEncoder is a command line video encoder for advanced users that can be built
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
9 from the MPlayer source tree. An unofficial graphical frontend exists but is
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
10 not included.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
11
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
12 This document is for getting you started in a few minutes. It cannot answer all
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
13 of your questions. If you have problems, please read the documentation in
11183
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
14 DOCS/HTML/en/index.html, which should help you solve most of your problems.
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
15 Also read the man page to learn how to use MPlayer.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
16
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
17
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
18 Requirements:
10228
3aba8a7ab91f Better wording as suggested by Rich.
diego
parents: 10222
diff changeset
19 - You need a working development environment that can compile programs.
3aba8a7ab91f Better wording as suggested by Rich.
diego
parents: 10222
diff changeset
20 On popular Linux distributions, this means having the glibc development
3aba8a7ab91f Better wording as suggested by Rich.
diego
parents: 10222
diff changeset
21 package(s) installed.
15834
1d2234930e70 mentioning xorg
alex
parents: 15176
diff changeset
22 - To compile MPlayer with X11 support, you need to have the X Window System
15872
diego
parents: 15834
diff changeset
23 development packages (like for XFree86 or X.Org) installed.
7674
7078f0139bed cosmetics
arpi
parents: 7320
diff changeset
24 - For the GUI you need the libpng and GTK 1.2 development packages.
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
25
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
26
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
27 Before you start...
13914
efc819eee6e3 devices.html is no more, links updated.
diego
parents: 13905
diff changeset
28 Unless you know what are you doing, consult DOCS/HTML/en/video.html to see
efc819eee6e3 devices.html is no more, links updated.
diego
parents: 13905
diff changeset
29 which driver to use with your video card to get the best quality and
11183
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
30 performance. Most cards require special drivers not included with XFree86 to
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
31 drive their 2-D video acceleration features like YUV and scaling.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
32
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
33 A quick and incomplete list of recommendations:
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
34 - ATI cards: Get the GATOS drivers for X11/Xv or use VIDIX.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
35 - Matrox G200/G4x0/G550: Compile and use mga_vid for Linux, on BSD use VIDIX.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
36 - 3dfx Voodoo3/Banshee: Get XFree86 4.2.0+ for Xv or use the tdfxfb driver.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
37 - nVidia cards: Get the X11 driver from www.nvidia.com for Xv support.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
38 - NeoMagic cards: Get an Xv capable driver from our homepage as described in
13914
efc819eee6e3 devices.html is no more, links updated.
diego
parents: 13905
diff changeset
39 DOCS/HTML/en/video.html.
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
40
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
41 Without accelerated video even an 800MHz P3 may be too slow to play DVDs.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
42
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
43
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
44 ______________________
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
45 STEP0: Getting MPlayer
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
46 ~~~~~~~~~~~~~~~~~~~~~~
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
47
19813
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
48 Official releases and Subversion snapshots, as well as binary codec packages
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
49 and a number of different skins for the GUI are available from the download
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
50 section of our homepage at
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
51
17706
83c1acef76d5 New website structure, the /homepage subdirectory is gone.
diego
parents: 16170
diff changeset
52 http://www.mplayerhq.hu/dload.html
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
53
19813
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
54 The GUI needs at least one skin and codec packages add support for some more
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
55 video and audio formats. MPlayer does not come with any of these by default,
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
56 you have to download and install them separately.
9618
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
57
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
58 You can also get MPlayer via Subversion. Issue the following commands to get
9618
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
59 the latest sources:
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
60
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
61 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
62
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
63 A directory named 'mplayer' will be created. It will include all necessary
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
64 FFmpeg libraries, you don't need to get them separately as was the case in
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
65 the past. You can later update your sources by saying
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
66
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
67 svn update
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
68
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
69 from within that directory.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
70
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
71
10156
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
72 _______________________________
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
73 STEP1: Installing Binary Codecs
10156
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
74 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
75
19672
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
76 MPlayer has builtin support for the most common audio and video formats, but
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
77 for some external binary codecs are required. Examples include newer RealVideo
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
78 variants and a couple of uncommon formats. This step is not mandatory, but
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
79 recommended for getting MPlayer to play a broader range of formats. Please
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
80 note that binary codecs only work on the platform they were compiled for.
4b3fab30e832 Update binary codecs section.
diego
parents: 18659
diff changeset
81 We provide packages for x86 and PowerPC.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
82
9618
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
83 Unpack the codecs archives and put the contents in a directory where MPlayer
10156
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
84 will find them. The default directory is /usr/local/lib/codecs/ (it used to be
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
85 /usr/local/lib/win32 in the past, this also works) but you can change that to
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
86 something else by using the '--with-codecsdir=DIR' option when you run
eafe9a587896 Default codec location is now /usr/local/lib/codecs/, the location is now
diego
parents: 10154
diff changeset
87 './configure'.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
88
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
89
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
90 __________________________
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
91 STEP2: Configuring MPlayer
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
92 ~~~~~~~~~~~~~~~~~~~~~~~~~~
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
93
9618
32cf06859120 Updated information, rewordings, codec installation generalized.
diego
parents: 7674
diff changeset
94 MPlayer can be adapted to all kinds of needs and hardware environments. Run
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
95
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
96 ./configure
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
97
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
98 to configure MPlayer with the default options. The codecs you installed above
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
99 should be autodetected. GUI support has to be enabled separately, run
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
100
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
101 ./configure --enable-gui
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
102
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
103 if you want to use the GUI.
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
104
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
105 If something does not work as expected, try
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
106
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
107 ./configure --help
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
108
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
109 to see the available options and select what you need.
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
110
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
111 The configure script prints a summary of enabled and disabled options. If you
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
112 have something installed that configure fails to detect, check the file
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
113 configure.log for errors and reasons for the failure. Repeat this step until
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
114 you are satisfied with the enabled feature set.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
115
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
116
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
117 ________________________
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
118 STEP3: Compiling MPlayer
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
119 ~~~~~~~~~~~~~~~~~~~~~~~~
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
120
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
121 Now you can start the compilation by typing
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
122
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
123 make
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
124
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
125 You can install MPlayer with
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
126
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
127 make install
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
128
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
129 provided that you have write permission in the installation directory.
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
130
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
131 If all went well, you can run MPlayer by typing 'mplayer'. A help screen with a
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
132 summary of the most common options and keyboard shortcuts should be displayed.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
133
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
134 If you get 'unable to load shared library' or similar errors, run
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
135 'ldd ./mplayer' to check which libraries fail and go back to STEP 3 to fix it.
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
136 Sometimes running 'ldconfig' is enough to fix the problem.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
137
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
138 NOTE: If you run Debian you can configure, compile and build a proper Debian
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
139 .deb package with only one command:
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
140
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
141 fakeroot debian/rules binary
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
142
13874
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
143 If you want to pass custom options to configure, you can set up the
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
144 DEB_BUILD_OPTIONS environment variable. For instance, if you want GUI
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
145 and OSD menu support you would use:
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
146
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
147 DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
148
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
149 You can also pass some variables to the Makefile. For example, if you want
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
150 to compile with gcc 3.4 even if it's not the default compiler:
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
151
13905
gpoirier
parents: 13874
diff changeset
152 CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary
13874
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
153
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
154 To clean up the source tree run the following command:
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
155
09298a8ba1eb Explain how to use custom options while building Debian packages, based on a
diego
parents: 13304
diff changeset
156 fakeroot debian/rules clean
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
157
19813
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
158 ______________________________________
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
159 STEP4: Choose an onscreen display font
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
160 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
161
19813
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
162 You can use any TrueType font installed on your system. Look at the manual page
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
163 to see how to pass the -font option to MPlayer on the command line and/or how to
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
164 fix this in your configuration file. Alternatively you can create a symbolic
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
165 link from either /usr/local/share/mplayer/subfont.ttf or ~/.mplayer/subfont.ttf
738ee921c764 Don't explain how to install bitmap fonts, use TrueType fonts instead.
diego
parents: 19672
diff changeset
166 to your TrueType font.
14921
1f82d63df1cd add a short note about how to use ttf fonts
attila
parents: 14583
diff changeset
167
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
168
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
169 ____________________________
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
170 STEP5: Installing a GUI skin
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
171 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
172
17974
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
173 Unpack the archive and put the contents in /usr/local/share/mplayer/skins/ or
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
174 ~/.mplayer/skins/. MPlayer will use the skin in the subdirectory named default
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
175 of /usr/local/share/mplayer/skins/ or ~/.mplayer/skins/ unless told otherwise
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
176 via the '-skin' switch. You should therefore rename your skin subdirectory or
9a5a62f480e6 Rename the default GUI skins directory from 'Skin' to 'skins', keeping
diego
parents: 17706
diff changeset
177 make a suitable symbolic link.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
178
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
179
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
180 __________________
18659
db8821b163e5 CVS --> Subversion
diego
parents: 17974
diff changeset
181 STEP6: Let's play!
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
182 ~~~~~~~~~~~~~~~~~~
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
183
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
184 That's it for the moment. To start playing movies, open a command line and try
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
185
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
186 mplayer <moviefile>
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
187
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
188 or for the GUI
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
189
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
190 gmplayer <moviefile>
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
191
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
192 gmplayer is a symbolic link to mplayer created by 'make install'.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
193 Without <moviefile>, MPlayer will come up and you will be able to use the GUI
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
194 filepicker.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
195
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
196 To play a VCD track or a DVD title, try:
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
197
10431
1fafac4b6abe better consistency
diego
parents: 10405
diff changeset
198 mplayer vcd://2 -cdrom-device /dev/hdc
10405
a5785a0b9ee1 -dvd -> dvd:// and -vcd -> vcd://
jonas
parents: 10228
diff changeset
199 mplayer dvd://1 -alang en -slang hu -dvd-device /dev/hdd
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
200
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
201 See 'mplayer -help' and 'man mplayer' for further options.
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
202
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
203 'mplayer -vo help' will show you the available video output drivers. Experiment
6813
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
204 with the '-vo' switch to see which one gives you the best performance.
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
205 If you get jerky playback or no sound, experiment with the '-ao' switch (see
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
206 '-ao help') to choose between different audio drivers. Note that jerky playback
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
207 is caused by buggy audio drivers or a slow processor and video card. With a
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
208 good audio and video driver combination, one can play DVDs and 720x576 DivX
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
209 files smoothly on a Celeron 366. Slower systems may need the '-framedrop'
cdfa9de87202 Reorganized the README. More general information up front, more concise
diego
parents: 6244
diff changeset
210 option.
6243
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
211
20389bf27dd4 quick install guide, based on draft and patches by Diego Biurrun <diego@biurrun.de>
arpi
parents: 3372
diff changeset
212 Questions you may have are probably answered in the rest of the documentation.
11183
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
213 The places to start reading are the man page, DOCS/HTML/en/index.html and
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
214 DOCS/HTML/en/faq.html. If you find a bug, please report it, but first read
604a27a2b966 DOCS/en/ ---> DOCS/HTML/en/
diego
parents: 11076
diff changeset
215 DOCS/HTML/en/bugreports.html.