Mercurial > mplayer.hg
annotate DOCS/xml/ru/ports.xml @ 22138:9fadbbd19a04
r22129: Link to the mencoder-users list for mencoder stuff
r22140: vp6vfw.dll appears to no longer crash under Linux.
r22141: Move all "Encoding with the XXX codec family" sections together.
author | voroshil |
---|---|
date | Mon, 05 Feb 2007 18:38:25 +0000 |
parents | 68248f4e3027 |
children | 8e1736796451 |
rev | line source |
---|---|
20514 | 1 <?xml version="1.0" encoding="utf-8"?> |
21634
733b35a5feaa
r21624: RedHat RPMs are long gone. Greysector repository is going away, and I've
voroshil
parents:
21598
diff
changeset
|
2 <!-- synced with r21624 --> |
20514 | 3 <chapter id="ports" xreflabel="Портинг"> |
4 <title>Портинг</title> | |
10967 | 5 |
6 <sect1 id="linux"> | |
7 <title>Linux</title> | |
8 <para> | |
20514 | 9 Основная платформа разработки — это Linux на x86, хотя |
10 <application>MPlayer</application> работает под многими другими портами Linux. | |
21525 | 11 Бинарные пакеты <application>MPlayer</application>'а доступны из нескольких источников. |
12 Тем не менее, | |
20514 | 13 <emphasis role="bold">ни один из этих пакетов не поддерживается</emphasis>. |
14 Сообщайте о проблемах их авторам, а не нам. | |
10967 | 15 </para> |
16 | |
21525 | 17 <!-- ********** --> |
18 | |
10967 | 19 <sect2 id="debian"> |
20514 | 20 <title>Debian пакеты</title> |
10967 | 21 <para> |
20514 | 22 Чтобы создать Debian пакет, выполните следующие команды в каталоге с исходным |
23 кодом <application>MPlayer</application>'а: | |
10967 | 24 <screen>fakeroot debian/rules binary</screen> |
19719 | 25 |
20514 | 26 Если вы хотите передать дополнительные опции configure, установите |
27 соответствующее значение переменной окружения <envar>DEB_BUILD_OPTIONS</envar>. | |
21700 | 28 В частности, если хотите поддержку GUI и OSD, укажите: |
19719 | 29 |
30 <screen>DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary</screen> | |
31 | |
20514 | 32 Вы также можете передать некоторые переменные в Makefile. Например, если |
33 желаете компилировать gcc 3.4 даже если это не основной компилятор: | |
19719 | 34 |
35 <screen>CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary</screen> | |
36 | |
20514 | 37 Для очистки дерева исходных текстов воспользуйтесь командой: |
19719 | 38 |
39 <screen>fakeroot debian/rules clean</screen> | |
40 | |
20514 | 41 В качестве root'а Вы затем можете установить <filename>.deb |
42 </filename> пакет: | |
43 <screen>dpkg -i ../mplayer_<replaceable>версия</replaceable>.deb</screen> | |
10967 | 44 </para> |
45 | |
46 <para> | |
20514 | 47 Какое-то время Christian Marillat собирал неофициальные Debian пакеты с |
19831
a9d072fde78f
r19829: Improve TrueType font installation section
voroshil
parents:
19807
diff
changeset
|
48 <application>MPlayer</application>, <application>MEncoder</application> |
20514 | 49 и бинарными кодеками, так что вы можете их скачать (выполнить apt-get) |
50 с его <ulink url="http://www.debian-multimedia.org/">сайта</ulink>. | |
10967 | 51 </para> |
52 </sect2> | |
53 | |
21525 | 54 <!-- ********** --> |
55 | |
10967 | 56 <sect2 id="rpm"> |
20514 | 57 <title>RPM пакеты</title> |
10967 | 58 <para> |
21634
733b35a5feaa
r21624: RedHat RPMs are long gone. Greysector repository is going away, and I've
voroshil
parents:
21598
diff
changeset
|
59 Dominik Mierzejewski поддерживает официальные Fedora Core RPM пакеты |
733b35a5feaa
r21624: RedHat RPMs are long gone. Greysector repository is going away, and I've
voroshil
parents:
21598
diff
changeset
|
60 <application>MPlayer</application>'а. Они доступны в |
733b35a5feaa
r21624: RedHat RPMs are long gone. Greysector repository is going away, and I've
voroshil
parents:
21598
diff
changeset
|
61 <ulink url="http://rpm.livan.org/">репозитории Livna</ulink>. |
10967 | 62 </para> |
63 | |
64 <para> | |
20514 | 65 Mandrake/Mandriva RPM пакеты доступны с <ulink url="http://plf.zarb.org/">P.L.F.</ulink>. |
66 SuSE включала искалеченную версию <application>MPlayer</application>'а в дистрибутив. | |
67 Из последних релизов они убрали эти пакеты. Вы можете взять | |
68 работающие RPM с | |
10967 | 69 <ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>. |
70 </para> | |
71 </sect2> | |
72 | |
21525 | 73 <!-- ********** --> |
74 | |
10967 | 75 <sect2 id="arm"> |
76 <title>ARM</title> | |
77 <para> | |
20514 | 78 <application>MPlayer</application> работает на Linux PDA с ARM процессором, |
79 например Sharp Zaurus, Compaq Ipaq. Простейший способ получить <application> | |
80 MPlayer</application> — это скачать его с | |
81 пакетных репозиториев | |
82 <ulink url="http://www.openzaurus.org">OpenZaurus</ulink>. Если Вы хотите | |
83 скомпилировать его самостоятельно, обратите внимание на каталоги | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
84 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink> |
20514 | 85 и |
10967 | 86 <ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink> |
20514 | 87 в корне сборки дистрибутива OpenZaurus. Там всегда найдутся |
88 свежий Makefile и патчи, используемые для сборки SVN <application>MPlayer</application>'а вместе с | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
89 <systemitem class="library">libavcodec</systemitem>. |
20514 | 90 Если Вам нужен GUI, используйте встроенный в xmms |
10967 | 91 </para> |
92 </sect2> | |
93 </sect1> | |
94 | |
21525 | 95 |
96 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
97 | |
98 | |
10967 | 99 <sect1 id="bsd"> |
100 <title>*BSD</title> | |
101 <para> | |
20514 | 102 <application>MPlayer</application> работает на всех известных семействах BSD. |
103 Существуют портированные[ports]/пакеты сорцов[pkgsrcs]/fink/ | |
21525 | 104 и т.п. версии <application>MPlayer</application>, которые, наверное, проще использовать, |
105 чем просто исходный код. | |
10967 | 106 </para> |
107 | |
108 <para> | |
21525 | 109 Чтобы собрать <application>MPlayer</application>, Вам понадобится GNU make (gmake — |
110 родной BSD make не будет работать) и свежая версия binutils. | |
10967 | 111 </para> |
112 | |
113 <para> | |
21525 | 114 Если <application>MPlayer</application> ругается, что он не может найти |
115 <filename>/dev/cdrom</filename> или | |
20514 | 116 <filename>/dev/dvd</filename>, создайте соответствующую ссылку: |
117 <screen>ln -s /dev/<replaceable>Ваше_cdrom_устройство</replaceable> /dev/cdrom</screen> | |
10967 | 118 </para> |
119 | |
120 <para> | |
21525 | 121 Чтобы использовать Win32 DLL'и с <application>MPlayer</application>'ом, Вам необходимо |
122 перекомпилировать | |
21598
fa4f5b0fd510
r21612: replace " with ", better readability
voroshil
parents:
21525
diff
changeset
|
123 ядро с "<envar>option USER_LDT</envar>" (если только у Вас не FreeBSD-CURRENT, |
20514 | 124 где это включено по умолчанию). |
10967 | 125 </para> |
126 | |
21525 | 127 <!-- ********** --> |
10967 | 128 |
129 <sect2 id="freebsd"> | |
130 <title>FreeBSD</title> | |
131 <para> | |
20514 | 132 Если Ваш CPU поддерживает SSE, перекомпилируйте ядро с |
21598
fa4f5b0fd510
r21612: replace " with ", better readability
voroshil
parents:
21525
diff
changeset
|
133 "<envar>options CPU_ENABLE_SSE</envar>" (необходимо FreeBSD-STABLE |
20514 | 134 или патчи к ядру). |
10967 | 135 </para> |
136 </sect2> | |
137 | |
21525 | 138 <!-- ********** --> |
139 | |
10967 | 140 <sect2 id="openbsd"> |
141 <title>OpenBSD</title> | |
142 <para> | |
20514 | 143 В связи с ограничениями в различных версиях gas (конфликт настройки адресов и MMX), |
144 Вы должны будете компилировать в два шага: сначала убедитесь, что не родной as | |
145 — первый в Вашем <envar>$PATH</envar> и выполните <command>gmake -k | |
146 </command>, затем убедитесь, что будет использоваться родная версия и запустите | |
10967 | 147 <command>gmake</command>. |
148 </para> | |
19719 | 149 <para> |
20514 | 150 Начиная с OpenBSD 3.4 подобный хак больше не нужен. |
19719 | 151 </para> |
10967 | 152 </sect2> |
11633 | 153 |
21525 | 154 <!-- ********** --> |
155 | |
11633 | 156 <sect2 id="darwin"> |
157 <title>Darwin</title> | |
158 <para> | |
20514 | 159 См. секцию <link linkend="macos">Mac OS</link>. |
11633 | 160 </para> |
161 </sect2> | |
10967 | 162 </sect1> |
163 | |
21525 | 164 |
165 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
166 | |
167 | |
19719 | 168 <sect1 id="unix"> |
20514 | 169 <title>Коммерческие Unix</title> |
19719 | 170 |
171 <para> | |
20514 | 172 <application>MPlayer</application> был портирован на некоторые коммерческие варианты Unix. |
173 Поскольку окружения разработки этих систем отличаются от свободных Unix'ов, | |
174 вам придется самостоятельно произвести некоторые действия, чтобы сборка заработала. | |
19719 | 175 </para> |
176 | |
177 <sect2 id="solaris"> | |
178 <title>Solaris</title> | |
21525 | 179 |
10967 | 180 <para> |
20514 | 181 <application>MPlayer</application> должен работать под Solaris 2.6 и более |
182 новыми версиями. Для звука используйте звуковой драйвер SUN с | |
183 опцией <option>-ao sun</option>. | |
10967 | 184 </para> |
185 | |
186 <para> | |
20514 | 187 На <emphasis role="bold">UltraSPARC</emphasis>'ах, <application>MPlayer</application> |
21525 | 188 использует преимущество их расширения <emphasis role="bold">VIS</emphasis> |
189 (эквивалент MMX), но (в настоящий момент) только в | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
190 <systemitem class="library">libmpeg2</systemitem>, |
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
191 <systemitem class="library">libvo</systemitem> |
20514 | 192 and <systemitem class="library">libavcodec</systemitem>, но не в |
193 <systemitem class="library">mp3lib</systemitem>. Вы сможете просматривать VOB'ы | |
194 на 400MHz CPU. Вам потребуется установленная | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
195 <ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>. |
10967 | 196 </para> |
197 | |
20514 | 198 <para><emphasis role="bold">Предостережение:</emphasis></para> |
19719 | 199 <itemizedlist> |
21525 | 200 <listitem><para> |
201 <emphasis role="bold">mediaLib</emphasis> в данный | |
202 момент отключена по умолчанию в | |
203 <application>MPlayer</application> из-за поломанности. | |
204 Пользователи SPARC, компилировавшие MPlayer с mediaLib | |
205 сообщали об изобилии зелёного оттенка в видео, кодируемом и | |
206 декодируемом libavcodec. | |
207 Если хотите, можете включить ее: | |
208 <screen>$ ./configure --enable-mlib</screen> | |
209 Вы делаете это на свой страх и риск, пользователи x86 не жолжны | |
210 <emphasis role="bold">никогда</emphasis> использовать mediaLib, поскольку | |
211 это очень сильно скажется на производительности MPlayer. | |
19719 | 212 </para></listitem> |
213 </itemizedlist> | |
214 | |
10967 | 215 <para> |
20514 | 216 Чтобы собрать программу, Вам потребуется GNU <application>make</application> |
217 (<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), родной | |
218 Solaris make не будет работать. Типичная ошибка которую Вы будете | |
219 получать при использовании Solaris make, вместо GNU make: | |
10967 | 220 <screen> |
21525 | 221 % /usr/ccs/bin/make |
222 make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen | |
10967 | 223 </screen> |
224 </para> | |
225 | |
226 <para> | |
20514 | 227 На Solaris SPARC, Вам потребуется GNU C/C++ Compiler; при этом не имеет |
228 значения, был ли GNU C/C++ компилятор сконфигурирован с или без GNU ассемблера. | |
10967 | 229 </para> |
230 | |
231 <para> | |
20514 | 232 На Solaris x86, Вам потребуются GNU ассемблер и GNU C/C++ компилятор, |
233 сконфигурированный, чтобы использовать GNU ассемблер! На x86 платформах | |
234 код <application>MPlayer</application>'а использует много MMX, SSE и 3DNOW! | |
235 инструкций, которые Sun'овский ассемблер <filename>/usr/ccs/bin/as</filename> | |
236 не может скомпилировать. | |
10967 | 237 </para> |
238 | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
239 <para> |
20514 | 240 Скрипт <filename>configure</filename> пытается обнаружить, какой ассемблер |
21598
fa4f5b0fd510
r21612: replace " with ", better readability
voroshil
parents:
21525
diff
changeset
|
241 используется Вашей командой "gcc" (в том случае, если автоопределение |
20514 | 242 не сработает, используйте опцию |
21525 | 243 <option>--as=<replaceable>/там/где/у/Вас/установлен/gnu-as</replaceable></option>, |
244 чтобы сообщить скрипту <filename>configure</filename>, где можно обнаружить | |
245 GNU "as" на Вашей системе). | |
10967 | 246 </para> |
247 | |
20514 | 248 <para>Решение общих проблем:</para> |
19719 | 249 <itemizedlist> |
250 <listitem><para> | |
21525 | 251 Сообщения об ошибках <filename>configure</filename> на Solaris x86 системах при |
252 использовании GCC без GNU ассемблера: | |
253 <screen> | |
254 % configure | |
255 ... | |
256 Checking assembler (/usr/ccs/bin/as) ... , failed | |
257 Please upgrade(downgrade) binutils to 2.10.1...<!-- | |
258 --></screen> | |
259 (Решение: Установите и используйте gcc, сконфигурированный с | |
260 <option>--with-as=gas</option>) | |
10967 | 261 </para> |
262 | |
263 <para> | |
20514 | 264 Типичная ошибка при сборке GNU C компилятором, который не использует GNU as: |
10967 | 265 <screen> |
21525 | 266 % gmake |
267 ... | |
268 gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math | |
269 -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c | |
270 Assembler: mplayer.c | |
271 "(stdin)", line 3567 : Illegal mnemonic | |
272 "(stdin)", line 3567 : Syntax error | |
273 ... more "Illegal mnemonic" and "Syntax error" errors ... | |
10967 | 274 </screen> |
275 </para> | |
19719 | 276 </listitem> |
10967 | 277 |
21525 | 278 <listitem><para> |
279 <application>MPlayer</application> может сообщить о нарушении сегментации при | |
280 кодировании и декодировании видео, использующего win32codecs: | |
281 <screen> | |
19719 | 282 ... |
283 Trying to force audio codec driver family acm... | |
284 Opening audio decoder: [acm] Win32/ACM decoders | |
285 sysi86(SI86DSCR): Invalid argument | |
286 Couldn't install fs segment, expect segfault | |
287 | |
288 | |
289 MPlayer interrupted by signal 11 in module: init_audio_codec | |
21525 | 290 ...<!-- |
291 --></screen> | |
292 Это из-за изменений в sysi86() в Solaris 10 и пре-Solaris | |
293 Nevada b31 релизах. Исправлено в Solaris Nevada b32; тем не менее | |
294 Sun еще следует портировать исправление обратно на Solaris 10. Проект MPlayer | |
295 осведомил Sun об этой проблеме и патч в данный момент готовится для | |
21700 | 296 Solaris 10. Больше информации об этой ошибке ищите |
21525 | 297 на: |
298 <ulink url="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6308413"/>. | |
299 </para></listitem> | |
19719 | 300 |
301 <listitem><para> | |
20514 | 302 В связи с ошибками в Solaris 8, Вы не сможете проигрывать DVD диски, размером |
303 больше 4 Гб: | |
10967 | 304 </para> |
305 | |
306 <itemizedlist> | |
307 <listitem><para> | |
21525 | 308 Под Solaris 8 x86 драйвер sd(7D) содержит ошибку, проявляющуюся при доступе |
309 к дискам, размером > 4 Гб на устройствах с логическим размером блока != | |
310 DEV_BSIZE (например CD-ROM и DVD диски). | |
311 Из-за целочисленного 32-х битного переполнения, происходит доступ к дисковому адресу | |
312 по модулю 4 Гб | |
313 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). | |
314 Проблема отсутствует в SPARC версиях Solaris 8. | |
10967 | 315 </para></listitem> |
316 | |
317 <listitem><para> | |
21525 | 318 Похожая ошибка существует в коде файловой системы hsfs(7FS) (ISO9660), |
319 hsfs может не поддерживать разделы/диски больше 4 Гб, доступ к данным | |
320 происходит по модулю 4 Гб | |
321 (<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). | |
322 Проблемы с hsfs могут быть исправлены установкой патча 109764-04 (sparc) / | |
323 109765-04 (x86). | |
10967 | 324 </para></listitem> |
325 </itemizedlist> | |
19719 | 326 </listitem> |
327 </itemizedlist> | |
328 </sect2> | |
10967 | 329 |
21525 | 330 <!-- ********** --> |
331 | |
19719 | 332 <sect2 id="irix"> |
333 <title>IRIX</title> | |
21525 | 334 |
10967 | 335 <para> |
20514 | 336 Вы либо можете попробовать установить программу GNU install, и (если Вы |
337 не поместили её в Ваш глобальный путь), укажите на её местонахождение: | |
21525 | 338 <screen> |
339 ./configure --with-install=<replaceable>/путь/к/и/имя/установки</replaceable> | |
340 </screen> | |
10967 | 341 </para> |
342 | |
343 <para> | |
20514 | 344 Либо Вы можете использовать стандартную программу install, поставляемую вместе |
345 с IRIX 6.5, но в этом случае Вы должны будете вручную немножко подправить | |
10967 | 346 <filename>Makefile</filename>. |
20514 | 347 Поменяйте следующие две строки: |
10967 | 348 <programlisting> |
21525 | 349 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 |
10967 | 350 |
21525 | 351 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf |
10967 | 352 </programlisting> |
20514 | 353 на: |
10967 | 354 <programlisting> |
21525 | 355 $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ |
10967 | 356 |
21525 | 357 $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ |
10967 | 358 </programlisting> |
20514 | 359 И затем выполните (из корневого каталога MPlayer'а): |
10967 | 360 <screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> |
20514 | 361 И затем просто соберите и установите MPlayer. |
10967 | 362 </para> |
19719 | 363 </sect2> |
364 | |
21525 | 365 <!-- ********** --> |
366 | |
19719 | 367 <sect2 id="hp-ux"> |
368 <title>HP-UX</title> | |
21525 | 369 |
19719 | 370 <para> |
20514 | 371 Joe Page на своей домашней странице держит подробное |
19719 | 372 <ulink url="http://users.rcn.com/joepage/mplayer_on_hpux11.htm">HOWTO</ulink> |
20514 | 373 по <application>MPlayer</application> на HP-UX, написанное Martin Gansser. |
374 С этими инструкциями сборка должна работать "прямо из коробки". | |
375 Следующая информация взята оттуда. | |
19719 | 376 </para> |
377 | |
378 <para> | |
20514 | 379 Вам потребуется GCC 3.4.0 или полее поздней версии, GNU make версии 3.80 |
380 или новее и SDL 1.2.7 или более новый. HP cc не может создать работоспособную | |
381 программу, предыдущие версии GCC глючат. Для функционирования OpenGL | |
382 необходимо установить Mesa, после чего должны заработать драйвера вывода видео | |
383 gl и gl2, хотя, в зависимости от быстродействия CPU, скорость может быть ужасной. | |
384 GNU esound является хорошей заменой довольно бедной звуковой системе HP-UX. | |
19719 | 385 </para> |
386 | |
387 <para> | |
20514 | 388 Произведите сканирование шины SCSI |
21525 | 389 на предмет наличия DVD устройства: |
19719 | 390 |
391 <screen> | |
392 # ioscan -fn | |
393 | |
394 Class I H/W Path Driver S/W State H/W Type Description | |
395 ... | |
396 ext_bus 1 8/16/5 c720 CLAIMED INTERFACE Built-in SCSI | |
397 target 3 8/16/5.2 tgt CLAIMED DEVICE | |
398 disk 4 8/16/5.<emphasis role="bold">2</emphasis>.<emphasis role="bold">0</emphasis> sdisk CLAIMED DEVICE <emphasis role="bold">PIONEER DVD-ROM DVD-305</emphasis> | |
399 /dev/dsk/c1t2d0 <emphasis role="bold">/dev/rdsk/c1t2d0</emphasis> | |
400 target 4 8/16/5.7 tgt CLAIMED DEVICE | |
401 ctl <emphasis role="bold">1</emphasis> 8/16/5.7.0 sctl CLAIMED DEVICE Initiator | |
402 /dev/rscsi/c1t7d0 /dev/rscsi/c1t7l0 /dev/scsi/c1t7l0 | |
403 ... | |
404 </screen> | |
10967 | 405 |
20514 | 406 Вывод показывает, что по адресу 2 шины SCSI находится Pioneer DVD-ROM. |
407 Экземпляр карты для аппаратного пути 8/16 равен 1. | |
19719 | 408 </para> |
409 | |
410 <para> | |
20514 | 411 Создайте ссылку от сырого устройства к DVD устройству. |
19719 | 412 |
413 <screen> | |
21525 | 414 ln -s /dev/rdsk/c<replaceable><SCSI bus instance></replaceable>t<replaceable><SCSI target ID></replaceable>d<replaceable><LUN></replaceable> /dev/<replaceable><device></replaceable> |
19719 | 415 </screen> |
20514 | 416 Пример: |
21525 | 417 <screen>ln -s /dev/rdsk/c1t2d0 /dev/dvd</screen> |
19719 | 418 </para> |
419 | |
10967 | 420 <para> |
20514 | 421 Далее следуют решения некоторых общих проблем: |
19719 | 422 |
423 <itemizedlist> | |
424 <listitem> | |
21525 | 425 <para> |
426 Крах при запуске с таким сообщением об ошибке: | |
427 <screen> | |
428 /usr/lib/dld.sl: Unresolved symbol: finite (code) from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libGL.sl<!-- | |
429 --></screen> | |
430 </para> | |
431 <para> | |
432 Это значит, что функция <systemitem>.finite().</systemitem> недоступна в стандартной | |
433 математической библиотеке HP-UX. | |
434 Вместо этого используйте <systemitem>.isfinite().</systemitem>. | |
435 Решение: Используйте последнюю версию Mesa из репозитория. | |
436 </para> | |
19719 | 437 </listitem> |
438 | |
439 <listitem> | |
21525 | 440 <para> |
441 Крах при воспроизведении со следующей ошибкой: | |
442 <screen> | |
443 /usr/lib/dld.sl: Unresolved symbol: sem_init (code) from /usr/local/lib/libSDL-1.2.sl.0<!-- | |
444 --></screen> | |
445 </para> | |
446 <para> | |
447 Решение: Используйте опцию extralibdir программы configure | |
448 <option>--with-extralibdir="/usr/lib -lrt"</option> | |
449 </para> | |
19719 | 450 </listitem> |
451 | |
452 <listitem> | |
21525 | 453 <para> |
454 MPlayer вылетает с нарушением сегментации и сообщением вроде этого: | |
455 <screen> | |
19719 | 456 Pid 10166 received a SIGSEGV for stack growth failure. |
457 Possible causes: insufficient memory or swap space, or stack size exceeded maxssiz. | |
21525 | 458 Segmentation fault<!-- |
459 --></screen> | |
460 </para> | |
461 <para> | |
462 Решение: | |
463 Ядро HP-UX по-умолчанию для каждого процесса имеет размер стека равный 8MB(?). | |
464 (11.0 и новые патчи для 10.20 позволяют вам увеличить <systemitem>maxssiz</systemitem> | |
465 вплоть до 350MB для 32-х битных программ). Вы должны расширить | |
466 <systemitem>maxssiz</systemitem> | |
467 и перекомпилировать ядро (и перезагрузиться). Чтобы сделать это, можно использовать SAM. | |
468 (Находясь в нем, проверьте параметр <systemitem>maxdsiz</systemitem> на предмет | |
469 максимального количества данных, которые могут использоваться программами. | |
470 64 Мб по умолчанию может хватить или не хватить в зависимости от Ваших приложений.) | |
471 </para> | |
19719 | 472 </listitem> |
473 </itemizedlist> | |
21525 | 474 </para> |
475 </sect2> | |
19719 | 476 |
21525 | 477 <!-- ********** --> |
19719 | 478 |
479 <sect2 id="aix"> | |
480 <title>AIX</title> | |
481 <para> | |
20514 | 482 <application>MPlayer</application> успешно собирается на AIX 5.1, |
483 5.2, и 5.3, используя GCC 3.3 или новее. Сборка | |
484 <application>MPlayer</application> не проверена на AIX 4.3.3 и более ранних. | |
485 Крайне рекомендуется собирать | |
486 <application>MPlayer</application> используя GCC 3.4 или старше, и, как минимум, | |
487 GCC 4.0, если собираете на POWER5. | |
19719 | 488 </para> |
489 | |
490 <para> | |
21700 | 491 Убедитесь, что используете GNU make |
20514 | 492 (<filename>/opt/freeware/bin/gmake</filename>) для сборки |
493 <application>MPlayer</application>, поскольку столкнетесь с проблемами при | |
494 использовании <filename>/usr/ccs/bin/make</filename>. | |
10967 | 495 </para> |
19719 | 496 |
497 <para> | |
498 | |
20514 | 499 По-прежнему ведется работа над кодом определения CPU. |
500 Проверены следующие архитектуры: | |
19719 | 501 </para> |
502 | |
503 <itemizedlist> | |
21525 | 504 <listitem><para>604e</para></listitem> |
505 <listitem><para>POWER3</para></listitem> | |
506 <listitem><para>POWER4</para></listitem> | |
19719 | 507 </itemizedlist> |
508 | |
509 <para> | |
20514 | 510 На следующих архитектурах не проверялось, но должно работать: |
21525 | 511 <itemizedlist> |
512 <listitem><para>POWER</para></listitem> | |
513 <listitem><para>POWER2</para></listitem> | |
514 <listitem><para>POWER5</para></listitem> | |
515 </itemizedlist> | |
19719 | 516 </para> |
517 | |
518 <para> | |
20514 | 519 Вывод звука через Ultimedia Services не поддерживается, т.к. |
520 Ultimedia была убрана из AIX 5.1; таким образом, остается единственный | |
521 вариант: использовать драйвер AIX Open Sound system (OSS) от | |
21525 | 522 4Front Technologies с |
523 <ulink url="http://www.opensound.com/aix.html">http://www.opensound.com/aix.html</ulink>. | |
524 Для некоммерческого использования 4Front Technologies | |
20514 | 525 распространяет драйвер OSS под AIX 5.1 бесплатно; несмотря на это, |
526 на текущий день нет драйверов вывода звука для AIX 5.2 или 5.3. | |
527 drivers for AIX 5.2 or 5.3. Это означает, что сейчас | |
528 <emphasis role="bold">AIX 5.2 и 5.3 несовместимы с выводом звука MPlayer.</emphasis> | |
19719 | 529 </para> |
530 | |
20514 | 531 <para>Решения для общих проблем:</para> |
19719 | 532 |
533 <itemizedlist> | |
534 <listitem> | |
535 <para> | |
21525 | 536 Если вы столкнулись с такой ошибкой <filename>configure</filename>: |
537 <screen> | |
19719 | 538 $ ./configure |
539 ... | |
540 Checking for iconv program ... no | |
541 No working iconv program found, use | |
542 --charset=US-ASCII to continue anyway. | |
21525 | 543 Messages in the GTK-2 interface will be broken then.<!-- |
544 --></screen> | |
545 Это из-за того, что AIX использует нестандартные имена кодировок; | |
546 поэтому перекодировка сообщений в данный момент не работает. | |
547 Решение - использовать: | |
548 <screen>$ ./configure --charset=noconv</screen> | |
549 </para> | |
19719 | 550 </listitem> |
551 </itemizedlist> | |
552 </sect2> | |
10967 | 553 </sect1> |
554 | |
21525 | 555 |
556 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
557 | |
558 | |
10967 | 559 <sect1 id="windows"> |
560 <title>Windows</title> | |
561 | |
21525 | 562 <para> |
563 Да, <application>MPlayer</application> работает под Windows под | |
564 <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> и | |
565 <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. | |
566 Пока ещё нет официального GUI, но версия командной строки полностью функциональна. | |
567 Обратитесь к списку рассылки | |
568 <ulink url="http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">MPlayer-cygwin</ulink> | |
21700 | 569 за помощью и дополнительной информацией. |
21525 | 570 Официальные бинарники под Windows могут быть найдены на |
571 <ulink url="http://www.mplayerhq.hu/design7/dload.html">странице закачки</ulink>. | |
572 Пакеты установки и простые GUI фронтенды доступны из внешних | |
573 источников, мы собрали их в разделе Windows | |
574 <ulink url="http://www.mplayerhq.hu/design7/projects.html#windows">страницы нашего проекта</ulink>. | |
19719 | 575 </para> |
576 | |
21525 | 577 <para> |
578 При нежелании использовать командную строку поможет простой трюк: | |
579 поместите на рабочий стол ссылку, со следующим содержимым в секции execute: | |
580 <screen><replaceable>c:\путь\к\</replaceable>mplayer.exe %1</screen> | |
581 Это позволит <application>MPlayer</application> воспроизводить любой фильм, | |
582 который вы перетащите на созданный ярлык. Добавьте <option>-fs</option> | |
583 для полноэкранного режима. | |
19719 | 584 </para> |
10967 | 585 |
21525 | 586 <para> |
587 Лучшие результаты получаются при использовании родного DirectX видео | |
588 вывода (<option>-vo directx</option>). Альтернативой является использование OpenGL или | |
589 SDL, но производительность OpenGL сильно зависит от машины, а SDL на некоторых | |
590 системах искажает видео или вылетает. | |
591 Если изображение искажено, попробуйте отключить аппаратное ускорение, указав | |
592 <option>-vo directx:noaccel</option>. Скачайте | |
593 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/dx7headers.tgz">файлы заголовков | |
594 DirectX 7</ulink>, чтобы скомпилировать видео драйвер DirectX. Кроме того, | |
595 вам потребуется установленный DirectX 7, чтобы работал DirectX видеодрайвер. | |
19719 | 596 </para> |
10967 | 597 |
21525 | 598 <para> |
599 <link linkend="vidix">VIDIX</link> теперь доступен и под Windows, как | |
600 <option>-vo winvidix</option>, хотя это ещё экспериментально и требует небольшой | |
601 ручной установки. Скачайте | |
602 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/dhahelper.sys">dhahelper.sys</ulink> или | |
603 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32/dhahelperwin/withmtrr/dhahelper.sys">dhahelper.sys (с поддержкой MTRR)</ulink> | |
604 и скопируйте его в каталог | |
605 <filename class="directory">libdha/dhahelperwin</filename> в Вашем дереве | |
606 исходного кода <application>MPlayer</application>'а. | |
607 Откройте консоль и перейдите в этот каталог. Теперь наберите | |
608 <screen>gcc -o dhasetup.exe dhasetup.c</screen> | |
609 и запустите | |
610 <screen>dhasetup.exe install</screen> | |
611 под Администратором. Теперь Вам нужно перезагрузить машину. | |
612 Когда всё будет закончено, скопируйте файлы | |
613 <systemitem class="library">.so</systemitem> из каталога | |
614 <filename class="directory">vidix/drivers</filename> в каталог | |
615 <filename class="directory">mplayer/vidix</filename> относительно вашего | |
616 <filename>mplayer.exe</filename>. | |
617 </para> | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
618 |
21525 | 619 <para> |
620 Для получения наилучших результатов, <application>MPlayer</application> | |
621 должен использовать пространство цветов, аппаратно поддерживаемое Вашей | |
622 видеокартой. К сожалению, многие графические драйверы под Windows ошибочно | |
623 сообщают, что некоторые пространства цветов поддерживаются аппаратно. | |
624 Чтобы найти какие именно, попробуйте | |
625 <screen> | |
626 mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable> | |
627 </screen>, | |
628 где <replaceable>colorspace</replaceable> может быть любым пространством | |
629 цветов из вывода опции <option>-vf format=fmt=help</option>. Если Вы найдёте | |
630 пространство цветов, которое Ваша карта особенно плохо поддерживает, | |
631 опция <option>-vf noformat=<replaceable>colorspace</replaceable></option> | |
632 помешает его использованию. Добавьте это в ваш конфигурационный файл, чтобы | |
633 это пространство цветов больше никогда не использовалось. | |
634 </para> | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
635 |
20514 | 636 <para>Существуют специальные пакеты кодеков для Windows, доступные на нашей |
637 <ulink url="http://www.mplayerhq.hu/design7/dload.html">странице закачки</ulink>, | |
638 позволяющие воспроизводить форматы, для которых пока нет родной поддержки. | |
639 Поместите их куда-нибудь в пути или укажите | |
640 <filename>configure</filename> опцию | |
20546 | 641 <option>--codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> |
642 (или <option>--codecsdir=<replaceable>/path/to/your/codecs</replaceable></option>, но | |
20514 | 643 только под <application>Cygwin</application>). |
644 У нас были сообщения о том, | |
645 что Real DLL должны быть доступны пользователю, запускающему | |
646 <application>MPlayer</application>, для записи, но только на | |
647 некоторых системах (NT4). Если у Вас проблемы с ними, попробуйте сделать их | |
648 доступными на запись. | |
19719 | 649 </para> |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
650 |
21525 | 651 <para> |
652 Вы можете воспроизводить VCD, проигрывая <filename>.DAT</filename> | |
653 или <filename>.MPG</filename> файлы, которые Windows показывает на VCD. | |
654 Вот как это работает (указывайте букву диска Вашего CD-ROM): | |
12834
c457b1e671a7
Major translation update. Sync, some rewording, etc.
lumag
parents:
11633
diff
changeset
|
655 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> |
21525 | 656 DVDs также работают, укажите <option>-dvd-device</option> с буквой Вашего DVD-ROM: |
657 <screen> | |
658 mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>: | |
659 </screen> | |
660 Консоль <application>Cygwin</application>/<application>MinGW</application> | |
661 весьма медленная. Перенаправление вывода или | |
662 использование опции <option>-quiet</option> улучшает производительность на | |
663 некоторых системах. Прямой рендеринг (<option>-dr</option>) | |
664 также может помочь. Если воспроизведение | |
665 прерывисто, попробуйте <option>-autosync 100</option>. Если какие-то из этих | |
666 опций Вам помогут, стоит поместить их в конфигурационный файл. | |
667 </para> | |
10967 | 668 |
19719 | 669 <note> |
670 | |
21525 | 671 <para> |
672 Под Windows автоматическое определение CPU отключает поддержку SSE, | |
673 по причине повторяющихся, трудно отслеживаемых крахов, связанных с SSE. | |
674 Если вы желаете иметь поддержку SSE под Windows, придется отключить | |
675 автоопределение CPU. | |
19719 | 676 </para> |
677 | |
20514 | 678 <para>Если у Вас Pentium 4 и Вы заметили крахи при использовании кодеков RealPlayer, |
679 попробуйте отключить hyperthreading. | |
19719 | 680 </para> |
21525 | 681 </note> |
19719 | 682 |
21525 | 683 <!-- ********** --> |
10967 | 684 |
685 <sect2 id="cygwin"> | |
11633 | 686 <title><application>Cygwin</application></title> |
10967 | 687 |
21525 | 688 <para> |
689 Для компиляции <application>MPlayer</application> требуется запустить | |
690 <application>Cygwin</application> версии 1.5.0 или старше. | |
691 </para> | |
10967 | 692 |
21525 | 693 <para> |
694 Файлы заголовков DirectX надо распаковать в | |
695 <filename class="directory">/usr/include/</filename> или | |
696 <filename class="directory">/usr/local/include/</filename>. | |
697 </para> | |
10967 | 698 |
21525 | 699 <para> |
700 Вы можете найти инструкции и файлы для запуска SDL под | |
701 <application>Cygwin</application> на | |
702 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">сайте libsdl</ulink>. | |
703 </para> | |
10967 | 704 </sect2> |
705 | |
21525 | 706 <!-- ********** --> |
10967 | 707 |
708 <sect2 id="mingw"> | |
11633 | 709 <title><application>MinGW</application></title> |
10967 | 710 |
21525 | 711 <para> |
712 Прежде, установка версии <application>MinGW</application>, | |
713 способной скомпилировать <application>MPlayer</application>, была | |
714 сложновата, но сейчас все работает с самого начала. Просто установите | |
715 <application>MinGW</application> 3.1.0 или более новый и MSYS 1.0.9 или старше и | |
716 укажите постустановщику MSYS, что <application>MinGW</application> | |
717 установлен. | |
718 </para> | |
10967 | 719 |
21525 | 720 <para> |
721 Распакуйте файлы заголовков DirectX в | |
722 <filename class="directory">/mingw/include/</filename>. | |
723 </para> | |
10967 | 724 |
21525 | 725 <para> |
726 Для поддержки сжатых заголовкоав MOV необходима | |
727 <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, которую | |
728 <application>MinGW</application> по умолчанию не предоставляет. | |
729 Сконфигурируйте её, указав <option>--prefix=/mingw</option> и установите | |
730 её до компиляции <application>MPlayer</application>'а. | |
731 </para> | |
10967 | 732 |
21525 | 733 <para> |
734 Полные инструкции по сборке <application>MPlayer</application> и необходимых | |
735 библиотек могут быть найдены на странице | |
736 <ulink url="http://mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt">MPlayer MinGW HOWTO</ulink>. | |
737 </para> | |
10967 | 738 </sect2> |
21525 | 739 </sect1> |
10967 | 740 |
741 | |
21525 | 742 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
743 | |
744 | |
11633 | 745 <sect1 id="macos"> |
746 <title>Mac OS</title> | |
19719 | 747 |
11633 | 748 <para> |
20514 | 749 <application>MPlayer</application> не работает на Mac OS версий меньше 10, |
750 но компилируется "из коробки" на Mac OS X 10.2 и старше. Предпочитаемым компилятором | |
751 является версия Apple GCC 3.x или более позднего. Вы можете получить начальное окружение | |
752 для компиляции, установив Apple'овский | |
19719 | 753 <ulink url="http://developer.apple.com/tools/download/">Xcode</ulink>. |
20514 | 754 Если у вас Mac OS X 10.3.9 или выше и QuickTime 7, можете использовать |
755 драйвер видео вывода <option>macosx</option>. | |
19719 | 756 </para> |
757 | |
758 <para> | |
20514 | 759 К сожалению, основное окружение не позволяет получить преимущество от всех |
760 приятных возможностей <application>MPlayer</application>. В частности, | |
761 чтобы иметь включенную поддержку OSD, потребуются установленные в системе | |
762 библиотеки <systemitem class="library">fontconfig</systemitem> | |
763 и <systemitem class="library">freetype</systemitem>. | |
764 В отличие от остальных Unix'ов, таких как Linux и клоны BSD, OS X | |
765 не имеет поставляющейся с ОС систему управления пакетами. | |
19719 | 766 </para> |
767 | |
768 <para> | |
20514 | 769 Есть как минимум два на выбор: |
770 <ulink url="http://fink.sourceforge.net/">Fink</ulink> и | |
20437 | 771 <ulink url="http://www.macports.org/">MacPorts</ulink>. |
20514 | 772 Они оба предоставляют одинаковый сервис (т.е. огромное количество пакетов |
773 для установки, разрешение зависимостей, возможность простой | |
774 установки/обновления/удаления пакетов и т.д.). | |
775 Fink предлагает как предкомпилированные бинарные пакеты, так и сборку | |
776 всего из исходников, в то время как MacPorts предлагает только собирать из | |
777 исходных текстов. | |
778 Автор данного руководства выбрал MacPorts исходя из того простого соображения, | |
779 что его базовая установка легче. | |
780 Последующие примеры будут основаны на MacPorts. | |
11633 | 781 </para> |
782 | |
783 <para> | |
21700 | 784 В частности для компиляции <application>MPlayer</application> с поддержкой OSD: |
19719 | 785 <screen>sudo port install pkgconfig</screen> |
20514 | 786 Это установит <application>pkg-config</application>, который является системой |
787 управления флагами компиляции/сборки библиотек. | |
788 Скрипт <systemitem>configure</systemitem> программы <application>MPlayer</application> | |
789 использует его для правильного обнаружения библиотек. | |
790 Тем же способом можно установить <application>fontconfig</application>: | |
19719 | 791 <screen>sudo port install fontconfig</screen> |
20514 | 792 Затем можно продолжить, запустив <application>MPlayer</application>'овский |
793 <systemitem>configure</systemitem> скрипт (задайте переменные окружения | |
794 <systemitem>PKG_CONFIG_PATH</systemitem> и <systemitem>PATH</systemitem> так, | |
795 чтобы <systemitem>configure</systemitem> мог найти библиотеки, установленные | |
796 при помощи MacPorts): | |
21525 | 797 <screen> |
798 PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ PATH=$PATH:/opt/local/bin/ ./configure | |
799 </screen> | |
19719 | 800 </para> |
801 | |
21525 | 802 <!-- ********** --> |
803 | |
19719 | 804 <sect2 id="osx_gui"> |
805 <title>MPlayer OS X GUI</title> | |
806 <para> | |
20514 | 807 Вы можете получить родной GUI для <application>MPlayer</application> вместе с |
808 предкомпилированными бинарниками <application>MPlayer</application> для Mac OS X | |
809 из проекта | |
810 <ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink>, но предупреждаем: | |
811 этот проект давно не развивается. | |
19719 | 812 </para> |
813 | |
814 <para> | |
20514 | 815 К счастью, <application>MPlayerOSX</application> был подхвачен членом команды |
816 <application>MPlayer</application>. Предварительные релизы доступны с нашей | |
817 <ulink url="http://mplayerhq.hu/dload.html">страницы закачки</ulink> | |
818 и скоро ожидается официальный релиз. | |
19719 | 819 </para> |
820 | |
821 <para> | |
20514 | 822 Чтобы самостоятельно собрать <application>MPlayerOSX</application> из |
823 исходный текстов, вам потребуется | |
19719 | 824 <systemitem>mplayerosx</systemitem>, |
20514 | 825 <systemitem>main</systemitem> и копию |
826 <systemitem>main</systemitem> SVN модуля, называющегося | |
19719 | 827 <systemitem>main_noaltivec</systemitem>. |
20514 | 828 <systemitem>mplayerosx</systemitem> - это GUI frontend, |
829 <systemitem>main</systemitem> - это MPlayer, а | |
830 <systemitem>main_noaltivec</systemitem> - это MPlayer собранный без поддержки AltiVec. | |
19719 | 831 </para> |
832 | |
833 <para> | |
20514 | 834 Для извлечения модулей из SVN: |
19719 | 835 |
836 <screen> | |
837 svn checkout svn://svn.mplayerhq.hu/mplayerosx/trunk/ mplayerosx | |
838 svn checkout svn://svn.mplayerhq.hu/mplayer/trunk/ main | |
839 </screen> | |
11633 | 840 </para> |
841 | |
842 <para> | |
20514 | 843 Чтобы собрать <application>MPlayerOSX</application> потребуется настроить что-то вроде этого: |
19719 | 844 <screen> |
845 MPlayer_source_directory | |
846 | | |
20514 | 847 |--->main (MPlayer Subversion исходники) |
19719 | 848 | |
20514 | 849 |--->main_noaltivec (MPlayer Subversion исходники, сконфигурированные с --disable-altivec) |
19719 | 850 | |
21525 | 851 \--->mplayerosx (MPlayer OS X Subversion исходники) |
19719 | 852 </screen> |
20514 | 853 Сначала надо собрать main и main_noaltivec. |
11633 | 854 </para> |
19719 | 855 |
856 <para> | |
20514 | 857 Затем установить глобальную переменную: |
11633 | 858 |
19719 | 859 <screen>export MACOSX_DEPLOYMENT_TARGET=10.3</screen> |
860 </para> | |
861 | |
862 <para> | |
20514 | 863 Затем сконфигурировать: |
19719 | 864 </para> |
865 | |
11633 | 866 <para> |
21700 | 867 Если конфигурируете для G4 или более позднего CPU с поддержкой AltiVec, |
20514 | 868 делайте так: |
19719 | 869 <screen> |
870 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 | |
871 </screen> | |
20514 | 872 Если конфигурируете для машины c G3 без AltiVec, используйте: |
19719 | 873 <screen> |
21525 | 874 ./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11 \ |
875 --disable-altivec | |
19719 | 876 </screen> |
20514 | 877 Вам может потребоваться отредактировать <filename>config.mak</filename> и изменить |
878 <systemitem>-mcpu</systemitem> и <systemitem>-mtune</systemitem> | |
879 с <systemitem>74XX</systemitem> на <systemitem>G3</systemitem>. | |
11633 | 880 </para> |
881 | |
882 <para> | |
20514 | 883 Продолжайте с |
21525 | 884 <screen>make</screen> |
20514 | 885 после чего идите в каталог mplayerosx и там наберите: |
21525 | 886 <screen>make dist</screen> |
20514 | 887 Это создаст сжатый архив <systemitem>.dmg</systemitem> с котовым к использованию |
888 бинарником. | |
11633 | 889 </para> |
19719 | 890 |
891 <para> | |
20514 | 892 Также можно использовать проект <application>Xcode</application> 2.1; |
893 более старый <application>Xcode</application> 1.x больше не работает. | |
19719 | 894 </para> |
895 </sect2> | |
11633 | 896 </sect1> |
897 | |
21525 | 898 |
899 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> | |
900 | |
901 | |
19719 | 902 <sect1 id="exotic_platforms"> |
903 <title>Exotic Platforms</title> | |
904 | |
905 <para> | |
21525 | 906 <application>MPlayer</application> работает на некоторых экзотических платформах, но |
907 большинство платформно-специфичных изменений для этих систем не были внесены обратно | |
908 в основное дерево исходных кодов. За инструкциями по сборке придется обратиться к | |
20514 | 909 документации, специфичной для системы. |
19719 | 910 </para> |
911 | |
21525 | 912 <!-- ********** --> |
913 | |
19719 | 914 <sect2 id="qnx"> |
915 <title>QNX</title> | |
916 <para> | |
20514 | 917 Вам нужно скачать и установить SDL для QNX. Затем запустите |
918 <application>MPlayer</application> с опциями <option>-vo sdl:photon</option> | |
919 и <option>-ao sdl:nto</option>, и все будет работать быстро. | |
19719 | 920 </para> |
921 | |
922 <para> | |
20514 | 923 Вывод <option>-vo x11</option> будет ещё медленнее, чем под Linux, поскольку под |
924 QNX X'ы <emphasis>эмулируются</emphasis>, что ОЧЕНЬ медленно. | |
19719 | 925 </para> |
926 </sect2> | |
927 | |
21525 | 928 <!-- ********** --> |
929 | |
19719 | 930 <sect2 id="amiga"> |
11633 | 931 <title>Amiga/MorphOS (GeekGadgets)</title> |
932 <para> | |
20514 | 933 Люди с <ulink url="http://www.amigasoft.net">www.amigasoft.net</ulink> |
934 сделали пакеты текущих <application>MPlayer</application> и | |
19719 | 935 <application>MEncoder</application>. |
936 </para> | |
937 <para> | |
20514 | 938 Nicholas Det at Genesi сделал большой и значительный порт <application>MPlayer |
939 </application>'а под MorphOS. К сожалению, он основан на серии 0.90. | |
11633 | 940 </para> |
941 | |
942 <para> | |
20514 | 943 Получите их с <ulink url="http://www.morphzone.org/">MorphZone</ulink>: |
11633 | 944 <itemizedlist> |
945 <listitem><para> | |
21525 | 946 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> |
947 <application>MPlayer</application> 0.91 бинарник</ulink> | |
11633 | 948 </para></listitem> |
949 <listitem><para> | |
21525 | 950 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> |
951 <application>MPlayer</application> 0.91 исходный код</ulink> | |
11633 | 952 </para></listitem> |
953 <listitem><para> | |
21525 | 954 <ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=92"> |
955 <application>MEncoder</application> 1.0pre3 бинарник</ulink> | |
11633 | 956 </para></listitem> |
957 </itemizedlist> | |
958 </para> | |
19719 | 959 </sect2> |
11633 | 960 </sect1> |
10967 | 961 </chapter> |
19719 | 962 |
963 |