comparison DOCS/xml/en/ports.xml @ 10561:7c42b1f2e92f

sync
author diego
date Mon, 11 Aug 2003 01:14:20 +0000
parents 242cdc63aae1
children 148f029ff426
comparison
equal deleted inserted replaced
10560:11826d9f90c7 10561:7c42b1f2e92f
254 The <option>-vo x11</option> output will be even slower than on Linux, 254 The <option>-vo x11</option> output will be even slower than on Linux,
255 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL. 255 since QNX has only X <emphasis>emulation</emphasis> which is VERY slow. Use SDL.
256 </para> 256 </para>
257 </sect1> 257 </sect1>
258 258
259 <sect1 id="cygwin"> 259 <sect1 id="windows">
260 <title>Windows</title>
261
262 <para>Yes, MPlayer runs on Windows under
263 <ulink url="http://www.cygwin.com/">Cygwin</ulink> and
264 <ulink url="http://www.mingw.org/">MinGW</ulink>.
265 It does not have a GUI yet, but the command line version is almost completely
266 functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome.
267 You should check out the
268 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink>
269 mailing list for help and latest information.</para>
270
271 <para>Best results are achieved with the native DirectX video output driver
272 (<option>-vo directx</option>) and the native Windows waveout audio driver
273 (<option>-ao win32</option>) as OpenGL does not work and SDL is known to
274 distort sound and image or crash on some systems. You can make the movie
275 window stay on top with <option>-vo directx:ontop</option>. If the image is
276 distorted, try turning off hardware acceleration with
277 <option>-vo directx:noaccel</option>. Download
278 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink>
279 to compile the DirectX video output driver.</para>
280
281 <para>QuickTime and Real DLLs also work. Compile with <option>--enable-qtx</option>
282 and <option>--enable-real</option> and put the codecs into the
283 default Windows DLL location, <filename class="directory">C:\WINNT\system32</filename> or
284 <filename class="directory">C:\Windows\system</filename> depending on your Windows version.</para>
285
286 <para>There are precompiled binary versions made by Sascha Sommer available for
287 download from
288 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/">our homepage</ulink>.
289 Joey Parrish has been making
290 <ulink url="http://joey.nicewarrior.org/cygmp/">unofficial Windows packages</ulink>
291 complete with installer.</para>
292
293 <sect2 id="cygwin">
260 <title>Cygwin</title> 294 <title>Cygwin</title>
261 <para> 295
262 The Cygwin port is still in its infancy. Currently there is no support for 296 <para>Cygwin versions prior to 1.5.0 do not include <filename>inttypes.h</filename>. You
263 OpenGL. SDL is known to distort sound and image or crash on 297 will have to copy or symlink <filename>etc/cygwin_inttypes.h</filename> from the
264 some systems. <ulink url="../../tech/patches.txt">Patches</ulink> 298 MPlayer source directory to <filename>/usr/include/inttypes.h</filename> in order to
265 are always welcome. Best results are achieved with the native DirectX video 299 make MPlayer compile.</para>
266 output driver (<option>-vo directx</option>) and the native Windows waveout 300
267 audio driver (<option>-ao win32</option>). You should also check out the 301 <para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or
268 <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink> 302 <filename class="directory">/usr/local/include/</filename>.</para>
269 mailing list for help and latest information. 303
270 </para> 304 <para>Instructions and files for making SDL run under Cygwin can be found on the
271 305 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
272 <para> 306
273 Cygwin versions prior to 1.3.23 do not include <filename>inttypes.h</filename>. 307 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
274 You will have to copy or symlink <filename>etc/cygwin_inttypes.h</filename> 308 that Windows exposes on VCDs. It works like this (adjust for the drive letter
275 from the MPlayer source directory to <filename>/usr/include/inttypes.h</filename> 309 of your CD-ROM):</para>
276 in order to make MPlayer compile. 310
277 </para>
278
279 <para>
280 To get native DirectX video, download
281 <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink>,
282 extract them to <filename>/usr/include/</filename> or <filename>/usr/local/include/</filename>
283 and recompile. You will then be able to use the directx video out driver. You
284 can make the movie window stay on top with <option>-vo directx:ontop</option>. If
285 the image is distorted, try turning off hardware acceleration with
286 <option>-vo directx:noaccel</option>.
287 </para>
288
289 <para>
290 Instructions and files for making SDL run under Cygwin can be found on the
291 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.
292 </para>
293
294 <para>
295 You can play VCDs by playing the .DAT or .MPG files that Windows exposes on
296 VCDs. It works like this (adjust for the drive letter of your CD-ROM):
297 <screen>mplayer d:/mpegav/avseq01.dat</screen> 311 <screen>mplayer d:/mpegav/avseq01.dat</screen>
312
298 <screen>mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG</screen> 313 <screen>mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG</screen>
299 </para> 314
300 315 <para>DVDs also work, just set the DVD device correctly to whatever your CD-ROM
301 <para> 316 device is:</para>
302 DVDs also work, just set the DVD device correctly to whatever your CD-ROM 317
303 device is:
304 <screen>mplayer dvd://&lt;title&gt; -dvd-device '\\.\d:'</screen> 318 <screen>mplayer dvd://&lt;title&gt; -dvd-device '\\.\d:'</screen>
305 </para> 319
306 320 <para>The Cygwin console is rather slow. Redirecting output or using the
307 <para> 321 <option>-quiet</option> option has been reported to improve performance.</para>
308 QuickTime and Real DLLs also work. Compile with <option>--enable-qtx</option> 322
309 and <option>--enable-real</option> and put the codecs into 323 </sect2>
310 the default Windows DLL location, <filename class="directory">C:\WINNT\system32</filename> 324
311 or <filename class="directory">C:\Windows\system</filename> depending on your 325
312 Windows version. 326 <sect2 id="mingw">
313 </para> 327 <title>MinGW</title>
314 328
315 <para> 329 <para>Installing a version of MinGW that could compile MPlayer used to be quite
316 The Cygwin console is rather slow. Redirecting output or using the 330 tricky, but only consists of three simple steps now and should work out of
317 <option>-quiet</option> option has been reported to improve performance. 331 the box soon.</para>
318 </para> 332
319 333 <itemizedlist>
334 <listitem><para>Install MinGW 3.0.0 or later.</para></listitem>
335 <listitem><para>Install MSYS 1.0.9 or later and tell the MSYS postinstall that
336 MinGW is installed.</para></listitem>
337 <listitem><para>Replace <filename>/mingw/include/sys/types.h</filename> with this
338 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para></listitem>
339 </itemizedlist>
340
341 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
342
343 <para>VCDs and DVDs work almost like Cygwin (adjust for the drive letter of your
344 CD-ROM):</para>
345
346 <screen>mplayer d:/mpegav/avseq01.dat</screen>
347
348 <screen>mplayer /d/MPEG2/AVSEQ01.MPG</screen>
349
350 <screen>mplayer dvd://&lt;title&gt; -dvd-device /d/</screen>
351
352 </sect2>
353
354
320 </sect1> 355 </sect1>
321 356
322 </chapter> 357 </chapter>