# HG changeset patch # User diego # Date 1060564460 0 # Node ID 7c42b1f2e92f58839eb50698ca1f18bc57f89384 # Parent 11826d9f90c7a790dc1b14835a08db47b230b0c2 sync diff -r 11826d9f90c7 -r 7c42b1f2e92f DOCS/xml/en/ports.xml --- a/DOCS/xml/en/ports.xml Mon Aug 11 00:02:46 2003 +0000 +++ b/DOCS/xml/en/ports.xml Mon Aug 11 01:14:20 2003 +0000 @@ -256,67 +256,102 @@ - -Cygwin - -The Cygwin port is still in its infancy. Currently there is no support for -OpenGL. SDL is known to distort sound and image or crash on -some systems. Patches -are always welcome. Best results are achieved with the native DirectX video -output driver () and the native Windows waveout -audio driver (). You should also check out the -mplayer-cygwin -mailing list for help and latest information. - + +Windows + +Yes, MPlayer runs on Windows under + Cygwin and + MinGW. + It does not have a GUI yet, but the command line version is almost completely + functional. Patches are always welcome. + You should check out the + mplayer-cygwin + mailing list for help and latest information. + +Best results are achieved with the native DirectX video output driver + () and the native Windows waveout audio driver + () as OpenGL does not work and SDL is known to + distort sound and image or crash on some systems. You can make the movie + window stay on top with . If the image is + distorted, try turning off hardware acceleration with + . Download + DirectX 7 header files + to compile the DirectX video output driver. - -Cygwin versions prior to 1.3.23 do not include inttypes.h. -You will have to copy or symlink etc/cygwin_inttypes.h -from the MPlayer source directory to /usr/include/inttypes.h -in order to make MPlayer compile. - +QuickTime and Real DLLs also work. Compile with + and and put the codecs into the + default Windows DLL location, C:\WINNT\system32 or + C:\Windows\system depending on your Windows version. + +There are precompiled binary versions made by Sascha Sommer available for + download from + our homepage. + Joey Parrish has been making + unofficial Windows packages + complete with installer. - -To get native DirectX video, download -DirectX 7 header files, -extract them to /usr/include/ or /usr/local/include/ -and recompile. You will then be able to use the directx video out driver. You -can make the movie window stay on top with . If -the image is distorted, try turning off hardware acceleration with -. - + +Cygwin + +Cygwin versions prior to 1.5.0 do not include inttypes.h. You + will have to copy or symlink etc/cygwin_inttypes.h from the + MPlayer source directory to /usr/include/inttypes.h in order to + make MPlayer compile. + +DirectX header files need to be extracted to /usr/include/ or + /usr/local/include/. + +Instructions and files for making SDL run under Cygwin can be found on the + libsdl site. - -Instructions and files for making SDL run under Cygwin can be found on the -libsdl site. - +You can play VCDs by playing the .DAT or .MPG files + that Windows exposes on VCDs. It works like this (adjust for the drive letter + of your CD-ROM): + +mplayer d:/mpegav/avseq01.dat - -You can play VCDs by playing the .DAT or .MPG files that Windows exposes on -VCDs. It works like this (adjust for the drive letter of your CD-ROM): -mplayer d:/mpegav/avseq01.dat mplayer /cygdrive/d/MPEG2/AVSEQ01.MPG - - -DVDs also work, just set the DVD device correctly to whatever your CD-ROM -device is: +DVDs also work, just set the DVD device correctly to whatever your CD-ROM + device is: + mplayer dvd://<title> -dvd-device '\\.\d:' - + +The Cygwin console is rather slow. Redirecting output or using the + option has been reported to improve performance. + + + + + +MinGW + +Installing a version of MinGW that could compile MPlayer used to be quite + tricky, but only consists of three simple steps now and should work out of + the box soon. - -QuickTime and Real DLLs also work. Compile with -and and put the codecs into -the default Windows DLL location, C:\WINNT\system32 -or C:\Windows\system depending on your -Windows version. - + + Install MinGW 3.0.0 or later. + Install MSYS 1.0.9 or later and tell the MSYS postinstall that + MinGW is installed. + Replace /mingw/include/sys/types.h with this + types.h. + + +Extract DirectX header files to /mingw/include/. - -The Cygwin console is rather slow. Redirecting output or using the - option has been reported to improve performance. - - +VCDs and DVDs work almost like Cygwin (adjust for the drive letter of your + CD-ROM): + +mplayer d:/mpegav/avseq01.dat + +mplayer /d/MPEG2/AVSEQ01.MPG + +mplayer dvd://<title> -dvd-device /d/ + + + +