1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
|
<?xml version="1.0" encoding="koi8-r"?>
<!-- synced with 1.16 -->
<chapter id="ports" xreflabel="ðÏÒÔÉÎÇ">
<title>ðÏÒÔÉÎÇ</title>
<sect1 id="linux">
<title>Linux</title>
<para>
ïÓÎÏ×ÎÁÑ ÐÌÁÔÆÏÒÍÁ ÒÁÚÒÁÂÏÔËÉ — ÜÔÏ Linux ÎÁ x86, ÈÏÔÑ
<application>MPlayer</application> ÒÁÂÏÔÁÅÔ ÐÏÄ ÍÎÏÇÉÍÉ ÄÒÕÇÉÍÉ ÐÏÒÔÁÍÉ Linux.
âÉÎÁÒÎÙÅ ÐÁËÅÔÙ MPlayer'Á ÄÏÓÔÕÐÎÙ ÉÚ ÎÅÓËÏÌØËÉÈ ÉÓÔÏÞÎÉËÏ×. ôÅÍ ÎÅ ÍÅÎÅÅ,
<emphasis role="bold">ÎÉ ÏÄÉÎ ÉÚ ÜÔÉÈ ÐÁËÅÔÏ× ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ</emphasis>.
óÏÏÂÝÁÊÔÅ Ï ÐÒÏÂÌÅÍÁÈ ÉÈ Á×ÔÏÒÁÍ, Á ÎÅ ÎÁÍ.
</para>
<sect2 id="debian">
<title>õÐÁËÏ×ËÁ ÐÏÄ Debian</title>
<para>
þÔÏÂÙ ÓÏÚÄÁÔØ Debian ÐÁËÅÔ, ×ÙÐÏÌÎÉÔÅ ÓÌÅÄÕÀÝÉÅ ËÏÍÁÎÄÙ × ËÁÔÁÌÏÇÅ Ó ÉÓÈÏÄÎÙÍ
ËÏÄÏÍ MPlayer'Á:
<screen>fakeroot debian/rules binary</screen>
úÁÔÅÍ, ÓÔÁ× root'ÏÍ ÷Ù, ËÁË ÏÂÙÞÎÏ, ÷Ù ÍÏÖÅÔÅ ÕÓÔÁÎÏ×ÉÔØ <filename>.deb
</filename> ÐÁËÅÔ:
<screen>dpkg -i ../mplayer_<replaceable>version</replaceable>.deb</screen>
</para>
<para>
ëÁËÏÅ-ÔÏ ×ÒÅÍÑ Christian Marillat ÓÏÂÉÒÁÌ ÎÅÏÆÉÃÉÁÌØÎÙÅ Debian ÐÁËÅÔÙ Ó
MPlayer'ÏÍ, MEncoder'ÏÍ É ÛÒÉÆÔÁÍÉ, ÔÁË ÞÔÏ ×Ù ÍÏÖÅÔÅ ÉÈ ÓËÁÞÁÔØ (apt-get'ÎÕÔØ)
ÉÈ Ó ÅÇÏ <ulink url="http://marillat.free.fr/">ÓÁÊÔÁ</ulink>.
</para>
</sect2>
<sect2 id="rpm">
<title>RPM ÐÁËÅÔÙ</title>
<para>
Dominik Mierzejewski ÓÏÂÉÒÁÅÔ É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÏÆÉÃÉÁÌØÎÙÅ Red Hat RPM ÐÁËÅÔÙ
<application>MPlayer</application>'Á. ïÎÉ ÄÏÓÔÕÐÎÙ Ó ÅÇÏ
<ulink url="http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/">ÓÁÊÔÁ</ulink>.
</para>
<para>
Mandrake RPM ÐÁËÅÔÙ ÄÏÓÔÕÐÎÙ Ó <ulink url="http://plf.zarb.org/">P.L.F.</ulink>.
SuSE ×ËÌÀÞÁÅÔ ÉÓËÁÌÅÞÅÎÎÕÀ ×ÅÒÓÉÀ MPlayer'Á × ÄÉÓÔÒÉÂÕÔÉ×. ÷Ù ÍÏÖÅÔÅ ×ÚÑÔØ
ÒÁÂÏÔÁÀÝÉÅ RPM'ÎÉËÉ Ó
<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>.
</para>
</sect2>
<sect2 id="arm">
<title>ARM</title>
<para>
MPlayer ÒÁÂÏÔÁÅÔ ÎÁ Linux PDAs Ó ARM ÐÒÏÃÅÓÓÏÒÏÍ, ÎÁÐÒÉÍÅÒ Sharp Zaurus, Compaq
Ipaq. ðÒÏÓÔÅÊÛÉÊ ÓÐÏÓÏÂ ÐÏÌÕÞÉÔØ MPlayer — ÜÔÏ ÓËÁÞÁÔØ ÅÇÏ Ó
ÐÁËÅÔÎÙÈ ÐÁÓÔÂÉÝ[feeds]
<ulink url="http://www.openzaurus.org">OpenZaurus</ulink>. åÓÌÉ ÷Ù ÈÏÔÉÔÅ
ÓËÏÍÐÉÌÉÒÏ×ÁÔØ ÅÇÏ ÓÁÍÏÓÔÏÑÔÅÌØÎÏ, ÏÂÒÁÔÉÔÅ ×ÎÉÍÁÎÉÅ ÎÁ ËÁÔÁÌÏÇÉ
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">MPlayer</ulink>
É
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink>
× ËÏÒÎÅ ÓÂÏÒËÉ[buildroot] ÄÉÓÔÒÉÂÕÔÉ×Á OpenZaurus. ôÁÍ ×ÓÅÇÄÁ ÎÁÊÄÕÔÓÑ
Ó×ÅÖÉÊ Makefile É ÐÁÔÞÉ, ÉÓÐÏÌØÚÕÅÍÙÅ ÄÌÑ ÓÂÏÒËÉ CVS MPlayer'Á ×ÍÅÓÔÅ Ó
libavcodec. åÓÌÉ ÷ÁÍ ÎÕÖÅÎ GUI, ÉÓÐÏÌØÚÕÊÔÅ xmms-embedded.
</para>
</sect2>
</sect1>
<sect1 id="bsd">
<title>*BSD</title>
<para>
<application>MPlayer</application> ÒÁÂÏÔÁÅÔ ÐÏÄ FreeBSD, OpenBSD, NetBSD,
BSD/OS É Darwin. óÕÝÅÓÔ×ÕÀÔ ÐÏÒÔÉÒÏ×ÁÎÎÙÅ[ports]/ÐÁËÅÔÙ ÓÏÒÃÏ×[pkgsrcs]/fink/
É Ô. Ð. ×ÅÒÓÉÉ MPlayer'Á, ËÏÔÏÒÙÅ ÎÁ×ÅÒÎÏÅ ÐÒÏÝÅ ÉÓÐÏÌØÚÏ×ÁÔØ, ÞÅÍ ÐÒÏÓÔÏ
ÉÓÈÏÄÎÙÊ ËÏÄ.
</para>
<para>
þÔÏÂÙ ÓÏÂÒÁÔØ MPlayer, ÷ÁÍ ÐÏÎÁÄÏÂÉÔÓÑ GNU make (gmake — ÒÏÄÎÏÊ BSD make
ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ) É Ó×ÅÖÁÑ ×ÅÒÓÉÑ binutils.
</para>
<para>
åÓÌÉ MPlayer ÒÕÇÁÅÔÓÑ, ÞÔÏ ÏÎ ÎÅ ÍÏÖÅÔ ÎÁÊÔÉ <filename>/dev/cdrom</filename> ÉÌÉ
<filename>/dev/dvd</filename>, ÓÏÚÄÁÊÔÅ ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÕÀ ÓÓÙÌËÕ:
<screen>ln -s /dev/<replaceable>÷ÁÛÅ_cdrom_ÕÓÔÒÏÊÓÔ×Ï</replaceable> /dev/cdrom</screen>
</para>
<para>
þÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ Win32 DLL'É Ó MPlayer'ÏÍ, ÷ÁÍ ÎÅÏÂÈÏÄÉÍÏ ÐÅÒÅËÏÍÐÉÌÉÒÏ×ÁÔØ
ÑÄÒÏ Ó "<envar>option USER_LDT</envar>" (ÅÓÌÉ ÔÏÌØËÏ Õ ÷ÁÓ ÎÅ FreeBSD-CURRENT,
ÇÄÅ ÜÔÏ ×ËÌÀÞÅÎÏ ÐÏ ÕÍÏÌÞÁÎÉÀ).
</para>
<sect2 id="freebsd">
<title>FreeBSD</title>
<para>
åÓÌÉ ÷ÁÛ CPU ÐÏÄÄÅÒÖÉ×ÁÅÔ SSE, ÐÅÒÅËÏÍÐÉÌÉÒÕÊÔÅ ÑÄÒÏ Ó
"<envar>options CPU_ENABLE_SSE</envar>" (ÎÅÏÂÈÏÄÉÍÏ FreeBSD-STABLE
ÉÌÉ ÐÁÔÞÉ Ë ÑÄÒÕ).
</para>
</sect2>
<sect2 id="openbsd">
<title>OpenBSD</title>
<para>
÷ Ó×ÑÚÉ Ó ÏÇÒÁÎÉÞÅÎÉÑÍÉ × ÒÁÚÌÉÞÎÙÈ ×ÅÒÓÉÑÈ gas'Á (ÐÅÒÅÎÏÓÙ[relocation] É MMX),
÷Ù ÄÏÌÖÎÙ ÂÕÄÅÔÅ ËÏÍÐÉÌÉÒÏ×ÁÔØ × Ä×Á ÛÁÇÁ: ÓÎÁÞÁÌÁ ÕÂÅÄÉÔÅÓØ, ÞÔÏ ÎÅ ÒÏÄÎÏÊ as
— ÐÅÒ×ÙÊ × ÷ÁÛÅÍ <envar>$PATH</envar> É ×ÙÐÏÌÎÉÔÅ <command>gmake -k
</command>, ÚÁÔÅÍ ÕÂÅÄÉÔÅÓØ, ÞÔÏ ÂÕÄÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÒÏÄÎÁÑ ×ÅÒÓÉÑ É ÚÁÐÕÓÔÉÔÅ
<command>gmake</command>.
</para>
</sect2>
</sect1>
<sect1 id="solaris">
<title>Solaris</title>
<para>
<application>MPlayer</application> ÄÏÌÖÅÎ ÒÁÂÏÔÁÔØ ÐÏÄ Solaris 2.6 É ÂÏÌÅÅ
ÎÏ×ÙÍÉ ×ÅÒÓÉÑÍÉ.
</para>
<para>
îÁ <emphasis role="bold">UltraSPARC</emphasis>'ÁÈ, MPlayer ×ÙÇÏÄÎÏ ÉÓÐÏÌØÚÕÅÔ ÉÈ
ÒÁÓÛÉÒÅÎÉÅ <emphasis role="bold">VIS</emphasis> (ÜË×É×ÁÌÅÎÔ MMX), ÎÏ (× ÎÁÓÔÏÑÝÉÊ
ÍÏÍÅÎÔ) ÔÏÌØËÏ × <emphasis>libmpeg2</emphasis>, <emphasis>libvo</emphasis> É
<emphasis>libavcodec</emphasis>, ÎÏ ÎÅ × mp3lib. ÷Ù ÓÍÏÖÅÔÅ ÐÒÏÓÍÁÔÒÉ×ÁÔØ VOB'Ù
ÎÁ 400MHz CPU. ÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ ÕÓÔÁÎÏ×ÌÅÎÎÁÑ
<ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mLib</ulink>.
</para>
<para>
þÔÏÂÙ ÓÏÂÒÁÔØ ÐÒÏÇÒÁÍÍÕ, ÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ GNU <application>make</application>
(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), ÒÏÄÎÏÊ
Solaris'Ï×ÙÊ make ÎÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ. ôÉÐÉÞÎÁÑ ÏÛÉÂËÁ ËÏÔÏÒÕÀ ÷Ù ÂÕÄÅÔÅ
ÐÏÌÕÞÁÔØ ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ Solaris'ÏÇÏ×Ï make, ×ÍÅÓÔÏ GNU'ÛÎÏÇÏ:
<screen>
% /usr/ccs/bin/make
make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen
</screen>
</para>
<para>
îÁ Solaris SPARC, ÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ GNU C/C++ Compiler; ÐÒÉ ÜÔÏÍ ÎÅ ÉÍÅÅÔ
ÚÎÁÞÅÎÉÑ, ÂÙÌ ÌÉ GNU C/C++ ËÏÍÐÉÌÑÔÏÒ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎ Ó ÉÌÉ ÂÅÚ GNU ÁÓÓÅÍÂÌÅÒÁ.
</para>
<para>
îÁ Solaris x86, ÷ÁÍ ÐÏÔÒÅÂÕÀÔÓÑ GNU ÁÓÓÅÍÂÌÅÒ É GNU C/C++ ËÏÍÐÉÌÑÔÏÒ,
ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÊ, ÞÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ GNU ÁÓÓÅÍÂÌÅÒ! îÁ x86 ÐÌÁÔÆÏÒÍÁÈ
ËÏÄ MPlayer'Á ÉÓÐÏÌØÚÕÅÔ ÍÎÏÇÏ MMX, SSE É 3DNOW! ÉÎÓÔÒÕËÃÉÊ, ËÏÔÏÒÙÅ
Sun'Ï×ÓËÉÊ ÁÓÓÅÍÂÌÅÒ <filename>/usr/ccs/bin/as</filename> ÎÅ ÍÏÖÅÔ
ÓËÏÍÐÉÌÉÒÏ×ÁÔØ.
</para>
<para>óËÒÉÐÔ <filename>configure</filename> ÐÙÔÁÅÔÓÑ ÏÂÎÁÒÕÖÉÔØ, ËÁËÏÊ ÁÓÓÅÍÂÌÅÒ
ÉÓÐÏÌØÚÕÅÔÓÑ ÷ÁÛÅÊ ËÏÍÁÎÄÏÊ "gcc" (× ÔÏÍ ÓÌÕÞÁÅ, ÅÓÌÉ Á×ÔÏÏÐÒÅÄÅÌÅÎÉÅ
ÎÅ ÓÒÁÂÏÔÁÅÔ, ÉÓÐÏÌØÚÕÊÔÅ ÏÐÃÉÀ
<option>--as=/ÔÁÍ/ÇÄÅ/Õ/÷ÁÓ/ÕÓÔÁÎÏ×ÌÅÎ/gnu-as</option>, ÞÔÏÂÙ ÓÏÏÂÝÉÔØ
ÓËÒÉÐÔÕ <filename>configure</filename>, ÇÄÅ ÍÏÖÎÏ ÏÂÎÁÒÕÖÉÔØ GNU "as" ÎÁ ÷ÁÛÅÊ
ÓÉÓÔÅÍÅ).
</para>
<para>
óÏÏÂÝÅÎÉÑ ÏÂ ÏÛÉÂËÁÈ <filename>configure</filename> ÎÁ Solaris x86 ÓÉÓÔÅÍÁÈ ÐÒÉ
ÉÓÐÏÌØÚÏ×ÁÎÉÉ GCC ÂÅÚ GNU ÁÓÓÅÍÂÌÅÒÁ:
<screen>
% configure
...
Checking assembler (/usr/ccs/bin/as) ... , failed
Please upgrade(downgrade) binutils to 2.10.1...
</screen>
(òÅÛÅÎÉÅ: õÓÔÁÎÏ×ÉÔÅ É ÉÓÐÏÌØÚÕÊÔÅ gcc, ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÎÎÙÊ Ó <option>--with-as=gas</option>)
</para>
<para>
ôÉÐÉÞÎÁÑ ÏÛÉÂËÁ ÐÒÉ ÓÂÏÒËÅ GNU C ËÏÍÐÉÌÑÔÏÒÏÍ, ËÏÔÏÒÙÊ ÎÅ ÉÓÐÏÌØÚÕÅÔ GNU as:
<screen>
% gmake
...
gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
-fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c
Assembler: mplayer.c
"(stdin)", line 3567 : Illegal mnemonic
"(stdin)", line 3567 : Syntax error
... more "Illegal mnemonic" and "Syntax error" errors ...
</screen>
</para>
<para>
÷ Ó×ÑÚÉ Ó ÏÛÉÂËÁÍÉ × Solaris 8, ÷Ù ÎÅ ÓÍÏÖÅÔÅ ÐÒÏÉÇÒÙ×ÁÔØ DVD ÄÉÓËÉ, ÒÁÚÍÅÒÏÍ
ÂÏÌØÛÅ 4 çÂ:
</para>
<itemizedlist>
<listitem><para>
ðÏÄ Solaris 8 x86 ÄÒÁÊ×ÅÒ sd(7D) ÓÏÄÅÒÖÉÔ ÏÛÉÂËÕ, ÐÒÏÑ×ÌÑÀÝÕÀÓÑ ÐÒÉ ÄÏÓÔÕÐÅ
Ë ÄÉÓËÁÍ, ÒÁÚÍÅÒÏÍ > 4 ç ÎÁ ÕÓÔÒÏÊÓÔ×ÁÈ Ó ÌÏÇÉÞÅÓËÉÍ ÒÁÚÍÅÒÏÍ ÂÌÏËÁ !=
DEV_BSIZE (ÎÁÐÒÉÍÅÒ CD-ROM É DVD ÄÉÓËÉ).
éÚ-ÚÁ ÃÅÌÏÞÉÓÌÅÎÎÏÇÏ 32ÂÉÔÎÏÇÏ ÐÅÒÅÐÏÌÎÅÎÉÑ, ÐÒÏÉÓÈÏÄÉÔ ÄÏÓÔÕÐ Ë ÄÉÓËÏ×ÏÍÕ ÁÄÒÅÓÕ
ÐÏ ÍÏÄÕÌÀ 4 çÂ
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>).
ðÒÏÂÌÅÍÁ ÏÔÓÕÔÓÔ×ÕÅÔ × SPARC ×ÅÒÓÉÑÈ Solaris 8.
</para></listitem>
<listitem><para>
ðÏÈÏÖÁÑ ÏÛÉÂËÁ ÓÕÝÅÓÔ×ÕÅÔ × ËÏÄÅ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ hsfs(7FS) (ISO9660),
hsfs ÍÏÖÅÔ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÔØ ÒÁÚÄÅÌÙ/ÄÉÓËÉ ÂÏÌØÛÅ 4 çÂ, ÄÏÓÔÕÐ Ë ÄÁÎÎÙÍ
ÐÒÏÉÓÈÏÄÉÔ ÐÏ ÍÏÄÕÌÀ 4 çÂ
(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>).
ðÒÏÂÌÅÍÙ Ó hsfs ÍÏÇÕÔ ÂÙÔØ ÉÓÐÒÁ×ÌÅÎÙ ÕÓÔÁÎÏ×ËÏÊ ÐÁÔÞÁ 109764-04 (sparc) /
109765-04 (x86).
</para></listitem>
</itemizedlist>
<para>
ðÏÄ Solaris Ó UltraSPARC CPU, ×Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÕÓËÏÒÅÎÉÅ ÚÁ ÓÞ£Ô ÉÓÐÏÌØÚÏ×ÁÎÉÑ
VIS ÉÎÓÔÒÕËÃÉÊ ÜÔÏÇÏ ÐÒÏÃÅÓÓÏÒÁ ÄÌÑ ÎÅËÏÔÏÒÙÈ ÐÏÇÌÏÝÁÀÝÉÈ ×ÒÅÍÑ ÏÐÅÒÁÃÉÊ. VIS
ÕÓËÏÒÅÎÉÅ ÍÏÖÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ × MPlayer'Å ÐÕÔ£Í ×ÙÚÏ×Á ÆÕÎËÃÉÊ × Sun'Ï×ÓËÏÊ
<ulink url="http://www.sun.com/sparc/vis/mediaLib.html">mediaLib</ulink>.
</para>
<para>
VIS-ÕÓËÏÒÅÎÎÙÅ ÏÐÅÒÁÃÉÉ ÉÚ mediaLib ÉÓÐÏÌØÚÕÀÔÓÑ ÄÌÑ ÄÅËÏÄÉÒÏ×ÁÎÉÑ mpeg2 ×ÉÄÅÏ
É ÐÒÅÏÂÒÁÚÏ×ÁÎÉÊ Ã×ÅÔÏ×ÙÈ ÐÒÏÓÔÒÁÎÓÔ× × ÄÒÁÊ×ÅÒÁÈ ×ÉÄÅÏ ×Ù×ÏÄÁ.
</para>
</sect1>
<sect1 id="sgi">
<title>Silicon Graphics / Irix</title>
<para>
÷Ù ÌÉÂÏ ÍÏÖÅÔÅ ÐÏÐÒÏÂÏ×ÁÔØ ÕÓÔÁÎÏ×ÉÔØ ÐÒÏÇÒÁÍÍÕ GNU install, É (ÅÓÌÉ ÷Ù
ÎÅ ÐÏÍÅÓÔÉÌÉ Å£ × ÷ÁÛ ÇÌÏÂÁÌØÎÙÊ ÐÕÔØ), ÔÏ ÕËÁÖÉÔÅ ÎÁ Å£ ÍÅÓÔÏÎÁÈÏÖÄÅÎÉÅ:
<screen>./configure --install-path=PATH</screen>
</para>
<para>
éÌÉ ÷Ù ÍÏÖÅÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÓÔÁÎÄÁÒÔÎÕÀ ÐÒÏÇÒÁÍÍÕ install, ÐÏÓÔÁ×ÌÑÅÍÕÀ ×ÍÅÓÔÅ
Ó IRIX 6.5, ÎÏ × ÜÔÏÍ ÓÌÕÞÁÅ ÷Ù ÄÏÌÖÎÙ ÂÕÄÅÔÅ ×ÒÕÞÎÕÀ ÎÅÍÎÏÖËÏ ÐÏÄÐÒÁ×ÉÔØ
<filename>Makefile</filename>.
ðÏÍÅÎÑÊÔÅ ÓÌÅÄÕÀÝÉÅ Ä×Å ÓÔÒÏËÉ:
<programlisting>
$(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1
$(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf
</programlisting>
ÎÁ:
<programlisting>
$(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/
$(INSTALL) -m 644 codecs.conf $(CONFDIR)/
</programlisting>
é ÚÁÔÅÍ ×ÙÐÏÌÎÉÔÅ (ÉÚ ËÏÒÎÅ×ÏÇÏ ËÁÔÁÌÏÇÁ MPlayer'Á):
<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
é ÚÁÔÅÍ ÐÒÏÓÔÏ ÓÏÂÅÒÉÔÅ É ÕÓÔÁÎÏ×ÉÔÅ MPlayer.
</para>
</sect1>
<sect1 id="qnx">
<title>QNX</title>
<para>
òÁÂÏÔÁÅÔ. ÷ÁÍ ÎÕÖÎÏ ÓËÁÞÁÔØ É ÕÓÔÁÎÏ×ÉÔØ SDL ÄÌÑ QNX. úÁÔÅÍ ÚÁÐÕÓÔÉÔÅ
<application>MPlayer</application> Ó ÏÐÃÉÑÍÉ <option>-vo sdl:photon</option>
É <option>-ao sdl:nto</option>, É ×ÓÅ ÂÕÄÅÔ ÒÁÂÏÔÁÔØ ÂÙÓÔÒÏ.
</para>
<para>
÷Ù×ÏÄ <option>-vo x11</option> ÂÕÄÅÔ ÅÝ£ ÍÅÄÌÅÎÎÅÅ, ÞÅÍ ÐÏÄ Linux, ÐÏÓËÏÌØËÕ ÐÏÄ
QNX X'Ù <emphasis>ÜÍÕÌÉÒÕÀÔÓÑ</emphasis>, ÞÔÏ ïþåîø ÍÅÄÌÅÎÎÏ. éÓÐÏÌØÚÕÊÔÅ SDL.
</para>
</sect1>
<sect1 id="windows">
<title>Windows</title>
<para>äÁ, MPlayer ÒÁÂÏÔÁÅÔ ÐÏÄ Windows ÐÏÄ
<ulink url="http://www.cygwin.com/">Cygwin</ulink> É
<ulink url="http://www.mingw.org/">MinGW</ulink>.
ðÏËÁ ÅÝ£ ÎÅÔ GUI, ÎÏ ×ÅÒÓÉÑ ËÏÍÁÎÄÎÏÊ ÓÔÒÏËÉ ÐÏÞÔÉ ÆÕÎËÃÉÏÎÁÌØÎÁ. íÙ ×ÓÅÇÄÁ
ÂÕÄÅÍ ÂÌÁÇÏÄÁÒÎÙ ÚÁ <ulink url="../../tech/patches.txt">ÐÁÔÞÉ</ulink>.
÷Ù ÍÏÖÅÔÅ ÐÏÌÕÞÉÔØ ÐÏÍÏÝØ É ÐÏÓÌÅÄÎÀÀ ÉÎÆÏÒÍÁÃÉÀ ÎÁ ÒÁÓÓÙÌËÅ
<ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>.</para>
<para>ìÕÞÛÉÅ ÒÅÚÕÌØÔÁÔÙ ÐÏÌÕÞÁÀÔÓÑ ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÒÏÄÎÏÇÏ DirectX ×ÉÄÅÏ
×Ù×ÏÄÁ (<option>-vo directx</option>) É ÒÏÄÎÏÇÏ Windows waveout ÁÕÄÉÏ ÄÒÁÊ×ÅÒÁ
(<option>-ao win32</option>), ÐÏÓËÏÌØËÕ OpenGL ÎÅ ÒÁÂÏÔÁÅÔ, Á ÎÁ ÎÅËÏÔÏÒÙÈ
ÓÉÓÔÅÍÁÈ SDL ÉÓËÁÖÁÅÔ Ú×ÕË É ×ÉÄÅÏ ÉÌÉ ÌÏÍÁÅÔ ÓÉÓÔÅÍÕ. ÷Ù ÍÏÖÅÔÅ ÚÁÓÔÁ×ÉÔØ
ÏÓÔÁ×ÁÔØÓÑ ÏËÎÏ Ó ÆÉÌØÍÏÍ ÎÁ×ÅÒÈÕ, ÕËÁÚÁ× <option>-vo directx:ontop</option>.
åÓÌÉ ÉÚÏÂÒÁÖÅÎÉÅ ÉÓËÁÖÅÎÏ, ÐÏÐÒÏÂÕÊÔÅ ÏÔËÌÀÞÉÔØ ÁÐÐÁÒÁÔÎÏÅ ÕÓËÏÒÅÎÉÅ, ÕËÁÚÁ×
<option>-vo directx:noaccel</option>. óËÁÞÁÊÔÅ
<ulink url="http://www.videolan.org/vlc/dx7headers.tgz">ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ×
DirectX 7</ulink>, ÞÔÏÂÙ ÓËÏÍÐÉÌÉÒÏ×ÁÔØ ×ÉÄÅÏ ÄÒÁÊ×ÅÒ DirectX.</para>
<para>Win32 ËÏÄÅËÉ, QuickTime DLL'É É Real Win32 ËÏÄÅËÉ (ÎÅ Real Linux ËÏÄÅËÉ)
ÔÁËÖÅ ÒÁÂÏÔÁÀÔ. ðÏÍÅÓÔÉÔÅ ÉÈ ËÕÄÁ-ÎÉÂÕÄØ × ÐÕÔÉ ÉÌÉ ÕËÁÖÉÔÅ <filename>
configure</filename> ÏÐÃÉÀ <option>--with-codecsdir=c:/path/to/your/codecs
</option> (ÉÌÉ <option>--with-codecsdir=/path/to/your/codecs</option>, ÎÏ
ÔÏÌØËÏ ÐÏÄ Cygwin). õ ÎÁÓ ÂÙÌÉ ÓÏÏÂÝÅÎÉÑ Ï ÔÏÍ, ÞÔÏ Real DLL'É ÄÏÌÖÎÙ ÂÙÔØ
ÄÏÓÔÕÐÎÙ ÐÏÌØÚÏ×ÁÔÅÌÀ, ÚÁÐÕÓËÁÀÝÅÍÕ MPlayer, ÄÌÑ ÚÁÐÉÓÉ, ÎÏ ÔÏÌØËÏ ÎÁ
ÎÅËÏÔÏÒÙÈ ÓÉÓÔÅÍÁÈ. åÓÌÉ Õ ÷ÁÓ ÐÒÏÂÌÅÍÙ Ó ÎÉÍÉ, ÐÏÐÒÏÂÕÊÔÅ ÓÄÅÌÁÔØ ÉÈ
ÚÁÐÉÓÙ×ÁÅÍÙÍÉ.</para>
<para>ëÏÎÓÏÌØ Cygwin/MinGW ÓÌÅÇËÁ ÍÅÄÌÅÎÎÁÑ. ðÅÒÅÎÁÐÒÁ×ÌÅÎÉÅ ×Ù×ÏÄÁ ÉÌÉ
ÉÓÐÏÌØÚÏ×ÁÎÉÅ ÏÐÃÉÉ <option>-quiet</option> ÕÌÕÞÛÁÅÔ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔØ ÎÁ
ÎÅËÏÔÏÒÙÈ ÓÉÓÔÅÍÁÈ. ðÒÑÍÏÅ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ[Direct rendering] (<option>-dr
</option>) ÔÁËÖÅ ÍÏÖÅÔ ÐÏÍÏÞØ. ÷Ù ÍÏÖÅÔÅ ÉÚÂÅÖÁÔØ ÍÅÒÃÁÎÉÑ OSD, ×ËÌÀÞÉ×
ÏÐÃÉÅÊ <option>-double</option> Ä×ÏÊÎÕÀ ÂÕÆÅÒÉÚÁÃÉÀ. åÓÌÉ ×ÏÓÐÒÏÉÚ×ÅÄÅÎÉÅ
ÐÒÅÒÙ×ÉÓÔÏ, ÐÏÐÒÏÂÕÊÔÅ <option>-autosync 100</option>. åÓÌÉ ËÁËÉÅ-ÔÏ ÉÚ ÜÔÉÈ
ÏÐÃÉÊ ÷ÁÍ ÐÏÍÏÇÕÔ, ÓÔÏÉÔ ÐÏÍÅÓÔÉÔØ ÉÈ × ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÊ ÆÁÊÌ.</para>
<para>ðÒÅËÏÍÐÉÌÉÒÏ×ÁÎÎÙÅ ÂÉÎÁÒÎÙÅ ×ÅÒÓÉÉ, ÓÏÂÒÁÎÎÙÅ óÁÛÅÊ úÏÍÍÅÒÏÍ
[Sascha Sommer], ÄÏÓÔÕÐÎÙ ÄÌÑ ÓËÁÞÉ×ÁÎÉÑ Ó
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/">ÎÁÛÅÊ
ÓÔÒÁÎÉÃÙ</ulink>.
äÖÏÊ ðÜÒÒÉÛ[Joey Parrish] ÓÏÂÉÒÁÌ
<ulink url="http://joey.nicewarrior.org/cygmp/">ÎÅÏÆÉÃÉÁÌØÎÙÅ Windows ÐÁËÅÔÙ
</ulink> ×ÍÅÓÔÅ Ó ÕÓÔÁÎÏ×ÏÞÎÉËÏÍ.</para>
<sect2 id="cygwin">
<title>Cygwin</title>
<para>Cygwin ×ÅÒÓÉÊ ÄÏ 1.5.0 ÎÅ ×ËÌÀÞÁÌ <filename>inttypes.h</filename>. ÷Ù
ÄÏÌÖÎÙ ÓËÏÐÉÒÏ×ÁÔØ ÉÌÉ ÓÏÚÄÁÔØ ÓÉÍ×ÏÌÉÞÅÓËÕÀ ÓÓÙÌËÕ ÎÁ
<filename>etc/cygwin_inttypes.h</filename> ÉÚ ËÁÔÁÌÏÇÁ Ó ÉÓÈÏÄÎÙÍ ËÏÄÏÍ
MPlayer'Á × <filename>/usr/include/inttypes.h</filename>, ÞÔÏÂÙ MPlayer
ÍÏÇ ÓËÏÍÐÉÌÉÒÏ×ÁÔØÓÑ.</para>
<para>æÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× DirectX ÎÁÄÏ ÒÁÓÐÁËÏ×ÁÔØ × <filename class="directory">
/usr/include/</filename> ÉÌÉ <filename class="directory">/usr/local/include/
</filename>.</para>
<para>÷Ù ÍÏÖÅÔÅ ÎÁÊÔÉ ÉÎÓÔÒÕËÃÉÉ É ÆÁÊÌÙ ÄÌÑ ÚÁÐÕÓËÁ SDL ÐÏÄ Cygwin ÎÁ
<ulink url="http://www.libsdl.org/extras/win32/cygwin/">ÓÁÊÔÅ libsdl</ulink>.</para>
<para>÷Ù ÍÏÖÅÔÅ ÐÒÏÉÇÒÙ×ÁÔØ VCD, ÐÒÏÉÇÒÙ×ÁÑ <filename>.DAT</filename> ÉÌÉ
<filename>.MPG</filename>ÆÁÊÌÙ, ËÏÔÏÒÙÅ Windows ÐÏËÁÚÙ×ÁÅÔ ÎÁ VCD'ÛÎÉËÁÈ.
÷ÏÔ ËÁË ÜÔÏ ÒÁÂÏÔÁÅÔ (ÐÏÄÓÔÁ×ØÔÅ ÂÕË×Õ ÷ÁÛÅÇÏ CD-ROM'Á):</para>
<screen>mplayer d:/mpegav/avseq01.dat</screen>
<screen>mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG</screen>
<para>DVD'ÛÎÉËÉ ÔÏÖÅ ÒÁÂÏÔÁÀÔ, ÕËÁÖÉÔÅ ÂÕË×Õ ÷ÁÛÅÇÏ DVD-ROM'Á ÏÐÃÉÅÊ
<option>-dvd-device</option>:</para>
<screen>mplayer dvd://<title> -dvd-device '\\.\d:'</screen>
</sect2>
<sect2 id="mingw">
<title>MinGW</title>
<para>ðÒÅÖÄÅ, ÕÓÔÁÎÏ×ËÁ ×ÅÒÓÉÉ MinGW, ÓÐÏÓÏÂÎÏÊ ÓËÏÍÐÉÌÉÒÏ×ÁÔØ MPlayer, ÂÙÌÁ
ÓÌÅÇËÁ ÓÌÏÖÎÏÊ, ÎÏ ÓÅÊÞÁÓ ×ÓÅ ÒÁÂÏÔÁÅÔ Ó ÓÁÍÏÇÏ ÎÁÞÁÌÁ. ðÒÏÓÔÏ ÕÓÔÁÎÏ×ÉÔÅ
MinGW 3.1.0 ÉÌÉ ÂÏÌÅÅ ÎÏ×ÙÊ É ÕËÁÖÉÔÅ MSYS ÐÏÓÔÕÓÔÁÎÏ×ÝÉËÕ, ÞÔÏ MinGW
ÕÓÔÁÎÏ×ÌÅÎ.</para>
<para>åÓÌÉ ÷Ù ÉÓÐÏÌØÚÕÅÔÅ ÂÏÌÅÅ ÒÁÎÎÀÀ, ÞÅÍ 3.1.0 ×ÅÒÓÉÀ MinGW, ÷ÁÍ ÎÕÖÎÏ
ÚÁÍÅÎÉÔØ <filename>/mingw/include/sys/types.h</filename> ÜÔÉÍ ÆÁÊÌÏÍ:
<ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para>
<para>òÁÓÐÁËÕÊÔÅ ÆÁÊÌÙ ÚÁÇÏÌÏ×ËÏ× DirectX × <filename class="directory">/mingw/include/</filename>.</para>
<para>VCD'ÛÎÉËÉ É DVD'ÛÎÉËÉ ÒÁÂÏÔÁÀÔ ÐÏÞÔÉ ËÁË × Cygwin (ÐÏÄÓÔÁ×ØÔÅ ÂÕË×Õ ÷ÁÛÅÇÏ
CD-ROM'Á/DVD-ROM'Á):</para>
<screen>mplayer d:/mpegav/avseq01.dat</screen>
<screen>mplayer /d/MPEG2/AVSEQ01.MPG</screen>
<screen>mplayer dvd://<title> -dvd-device /d/</screen>
</sect2>
</sect1>
</chapter>
|