comparison DOCS/xml/en/ports.xml @ 12439:33916977a36e

Cygwin and MinGW now behave similarly with regard to VCD/DVD playback.
author diego
date Fri, 07 May 2004 13:13:11 +0000
parents 80266d26d80c
children 8f4574d094a5
comparison
equal deleted inserted replaced
12438:a380d3539e42 12439:33916977a36e
341 have to put them in your Windows system directory 341 have to put them in your Windows system directory
342 (<filename class="directory"><replaceable>C:\Windows\system\</replaceable></filename> 342 (<filename class="directory"><replaceable>C:\Windows\system\</replaceable></filename>
343 or similar). As a last resort, try putting them in the same directory as 343 or similar). As a last resort, try putting them in the same directory as
344 <application>MPlayer</application>.</para> 344 <application>MPlayer</application>.</para>
345 345
346 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
347 that Windows exposes on VCDs. It works like this (adjust for the drive letter
348 of your CD-ROM):</para>
349
350 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
351
352 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
353 of your DVD-ROM:</para>
354
355 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
356
346 <para>The <application>Cygwin</application>/<application>MinGW</application> 357 <para>The <application>Cygwin</application>/<application>MinGW</application>
347 console is rather slow. Redirecting output or using the 358 console is rather slow. Redirecting output or using the
348 <option>-quiet</option> option has been reported to improve performance on 359 <option>-quiet</option> option has been reported to improve performance on
349 some systems. Direct rendering (<option>-dr</option>) may also help. 360 some systems. Direct rendering (<option>-dr</option>) may also help.
350 You can prevent OSD flicker through double buffering with the 361 You can prevent OSD flicker through double buffering with the
371 382
372 <para>Instructions and files for making SDL run under 383 <para>Instructions and files for making SDL run under
373 <application>Cygwin</application> can be found on the 384 <application>Cygwin</application> can be found on the
374 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para> 385 <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para>
375 386
376 <para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files
377 that Windows exposes on VCDs. It works like this (adjust for the drive letter
378 of your CD-ROM):</para>
379
380 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
381
382 <screen>mplayer <replaceable>/cygdrive/d/MPEG2/AVSEQ01.MPG</replaceable></screen>
383
384 <para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter
385 of your DVD-ROM:</para>
386
387 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:</screen>
388
389 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device '\\.\<replaceable>d</replaceable>:'</screen>
390
391 </sect2> 387 </sect2>
392 388
393 389
394 <sect2 id="mingw"> 390 <sect2 id="mingw">
395 <title><application>MinGW</application></title> 391 <title><application>MinGW</application></title>
403 <para>If you use a version of <application>MinGW</application> before 3.1.0, 399 <para>If you use a version of <application>MinGW</application> before 3.1.0,
404 you need to replace <filename>/mingw/include/sys/types.h</filename> with this 400 you need to replace <filename>/mingw/include/sys/types.h</filename> with this
405 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para> 401 <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para>
406 402
407 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> 403 <para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para>
408
409 <para>VCDs and DVDs work almost like <application>Cygwin</application> (adjust
410 for the drive letter of your CD-ROM/DVD-ROM):</para>
411
412 <screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen>
413
414 <screen>mplayer <replaceable>/d/MPEG2/AVSEQ01.MPG</replaceable></screen>
415
416 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device /<replaceable>d</replaceable>/</screen>
417
418 <screen>mplayer dvd://<replaceable>&lt;title&gt;</replaceable> -dvd-device <replaceable>d</replaceable>:\\</screen>
419 404
420 </sect2> 405 </sect2>
421 406
422 407
423 </sect1> 408 </sect1>