comparison README @ 18659:db8821b163e5

CVS --> Subversion
author diego
date Fri, 09 Jun 2006 13:32:57 +0000
parents 9a5a62f480e6
children 4b3fab30e832
comparison
equal deleted inserted replaced
18658:dd0662509fcc 18659:db8821b163e5
43 43
44 ______________________ 44 ______________________
45 STEP0: Getting MPlayer 45 STEP0: Getting MPlayer
46 ~~~~~~~~~~~~~~~~~~~~~~ 46 ~~~~~~~~~~~~~~~~~~~~~~
47 47
48 Official releases, prereleases and CVS snapshots, as well as fonts for the 48 Official releases and Subversion snapshots, as well as fonts for the OSD, codec
49 OSD, codec packages and a number of different skins for the GUI are available 49 packages and a number of different skins for the GUI are available from the
50 from the download section of our homepage at 50 download section of our homepage at
51 51
52 http://www.mplayerhq.hu/dload.html 52 http://www.mplayerhq.hu/dload.html
53 53
54 A set of fonts is necessary for the OSD and subtitles unless you are using 54 A set of fonts is necessary for the OSD and subtitles unless you are using
55 TrueType fonts, the GUI needs at least one skin and codec packages add support 55 TrueType fonts, the GUI needs at least one skin and codec packages add support
56 for some more video and audio formats. MPlayer does not come with any of these 56 for some more video and audio formats. MPlayer does not come with any of these
57 by default, you have to download and install them separately. 57 by default, you have to download and install them separately.
58 58
59 You can also get MPlayer via anonymous CVS. Issue the following commands to get 59 You can also get MPlayer via Subversion. Issue the following commands to get
60 the latest sources: 60 the latest sources:
61 61
62 cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login 62 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
63 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main 63
64 64 A directory named 'mplayer' will be created. It will include all necessary
65 When asked for a password, just hit enter. A directory named 'main' will be 65 FFmpeg libraries, you don't need to get them separately as was the case in
66 created. You can later update your sources by saying 66 the past. You can later update your sources by saying
67 67
68 cvs -z3 update -dPA 68 svn update
69 69
70 from within that directory. 70 from within that directory.
71 71
72 72
73 _________________________________________________________
74 STEP1: Installing FFmpeg libavcodec/libavutil/libavformat
75 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
77 If you are using an official (pre)release or a CVS snapshot, skip this step,
78 since official releases include libavcodec. CVS sources do not include
79 libavcodec. To verify if you do have libavcodec or not, check if a subdirectory
80 named 'libavcodec' exists in the MPlayer source tree.
81
82 The FFmpeg project provides libavcodec, a very portable codec collection (among
83 the supported formats is MPEG-4/DivX) with excellent quality and speed, that is
84 the preferred MPEG-4/DivX codec of MPlayer. You have to get libavcodec directly
85 from the FFmpeg CVS server.
86
87 To get the FFmpeg sources, use the following commands in a suitable directory
88 outside the MPlayer source directory:
89
90 cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
91 cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
92
93 When asked for a password, you can just hit enter. A directory named 'ffmpeg'
94 with subdirectories named 'libavcodec' and 'libavutil' inside will be created.
95 Copy (symbolic linking does NOT suffice) these subdirectories into the MPlayer
96 source tree.
97
98 In order to force automatic updates of libavcodec when you update MPlayer, add
99 the following lines to main/CVS/Entries:
100
101 D/libavcodec////
102 D/libavutil////
103
104 FFmpeg also contains libavformat, a library to decode container formats that
105 can optionally be used to extend MPlayer's container format support. If you
106 wish to use it, also copy the libavformat subdirectory into the MPlayer
107 source tree and add another line to main/CVS/Entries.
108
109
110 _______________________________ 73 _______________________________
111 STEP2: Installing Binary Codecs 74 STEP1: Installing Binary Codecs
112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 76
114 MPlayer and libavcodec have builtin support for the most common audio and video 77 MPlayer has builtin support for the most common audio and video
115 formats, but some formats require external codecs. Examples include Real, Indeo 78 formats, but some formats require external codecs. Examples include Real, Indeo
116 and QuickTime audio formats. Support for Windows Media formats except WMV9 79 and QuickTime audio formats. Support for Windows Media formats except WMV9
117 exists but still has some bugs, your mileage may vary. This step is not 80 exists but still has some bugs, your mileage may vary. This step is not
118 mandatory, but recommended for getting MPlayer to play a broader range of 81 mandatory, but recommended for getting MPlayer to play a broader range of
119 formats. Please note that most codecs only work on Intel x86 compatible PCs. 82 formats. Please note that most codecs only work on Intel x86 compatible PCs.
124 something else by using the '--with-codecsdir=DIR' option when you run 87 something else by using the '--with-codecsdir=DIR' option when you run
125 './configure'. 88 './configure'.
126 89
127 90
128 __________________________ 91 __________________________
129 STEP3: Configuring MPlayer 92 STEP2: Configuring MPlayer
130 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 ~~~~~~~~~~~~~~~~~~~~~~~~~~
131 94
132 MPlayer can be adapted to all kinds of needs and hardware environments. Run 95 MPlayer can be adapted to all kinds of needs and hardware environments. Run
133 96
134 ./configure 97 ./configure
151 configure.log for errors and reasons for the failure. Repeat this step until 114 configure.log for errors and reasons for the failure. Repeat this step until
152 you are satisfied with the enabled feature set. 115 you are satisfied with the enabled feature set.
153 116
154 117
155 ________________________ 118 ________________________
156 STEP4: Compiling MPlayer 119 STEP3: Compiling MPlayer
157 ~~~~~~~~~~~~~~~~~~~~~~~~ 120 ~~~~~~~~~~~~~~~~~~~~~~~~
158 121
159 Now you can start the compilation by typing 122 Now you can start the compilation by typing
160 123
161 make 124 make
192 To clean up the source tree run the following command: 155 To clean up the source tree run the following command:
193 156
194 fakeroot debian/rules clean 157 fakeroot debian/rules clean
195 158
196 ____________________________________________ 159 ____________________________________________
197 STEP5: Installing the onscreen display fonts 160 STEP4: Installing the onscreen display fonts
198 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 162
200 Unpack the archive and choose one of the available font sizes. Then copy the 163 Unpack the archive and choose one of the available font sizes. Then copy the
201 font files of the corresponding size into /usr/local/share/mplayer/font/ or 164 font files of the corresponding size into /usr/local/share/mplayer/font/ or
202 ~/.mplayer/font/ (or whatever you set with './configure --datadir=DIR'). 165 ~/.mplayer/font/ (or whatever you set with './configure --datadir=DIR').
205 make a symbolic link from either /usr/local/share/mplayer/subfont.ttf or 168 make a symbolic link from either /usr/local/share/mplayer/subfont.ttf or
206 ~/.mplayer/subfont.ttf to your TrueType font. 169 ~/.mplayer/subfont.ttf to your TrueType font.
207 170
208 171
209 ____________________________ 172 ____________________________
210 STEP6: Installing a GUI skin 173 STEP5: Installing a GUI skin
211 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 175
213 Unpack the archive and put the contents in /usr/local/share/mplayer/skins/ or 176 Unpack the archive and put the contents in /usr/local/share/mplayer/skins/ or
214 ~/.mplayer/skins/. MPlayer will use the skin in the subdirectory named default 177 ~/.mplayer/skins/. MPlayer will use the skin in the subdirectory named default
215 of /usr/local/share/mplayer/skins/ or ~/.mplayer/skins/ unless told otherwise 178 of /usr/local/share/mplayer/skins/ or ~/.mplayer/skins/ unless told otherwise
216 via the '-skin' switch. You should therefore rename your skin subdirectory or 179 via the '-skin' switch. You should therefore rename your skin subdirectory or
217 make a suitable symbolic link. 180 make a suitable symbolic link.
218 181
219 182
220 __________________ 183 __________________
221 STEP7: Let's play! 184 STEP6: Let's play!
222 ~~~~~~~~~~~~~~~~~~ 185 ~~~~~~~~~~~~~~~~~~
223 186
224 That's it for the moment. To start playing movies, open a command line and try 187 That's it for the moment. To start playing movies, open a command line and try
225 188
226 mplayer <moviefile> 189 mplayer <moviefile>