comparison DOCS/en/documentation.html @ 10559:c958cd92337a

new Windows section with Cygwin and MinGW subsections
author diego
date Sun, 10 Aug 2003 23:13:34 +0000
parents b2616a04791a
children 56750deccbc9
comparison
equal deleted inserted replaced
10558:9d2854bdd8e3 10559:c958cd92337a
280 </UL> 280 </UL>
281 </LI> 281 </LI>
282 <LI><A HREF="#solaris">6.3 Solaris</A></LI> 282 <LI><A HREF="#solaris">6.3 Solaris</A></LI>
283 <LI><A HREF="#sgi">6.4 Silicon Graphics / Irix</A></LI> 283 <LI><A HREF="#sgi">6.4 Silicon Graphics / Irix</A></LI>
284 <LI><A HREF="#qnx">6.5 QNX</A></LI> 284 <LI><A HREF="#qnx">6.5 QNX</A></LI>
285 <LI><A HREF="#cygwin">6.6 Cygwin</A></LI> 285 <LI><A HREF="#windows">6.6 Windows</A></LI>
286 <UL>
287 <LI><A HREF="#cygwin">6.6.1 Cygwin</A></LI>
288 <LI><A HREF="#mingw">6.6.2 MinGW</A></LI>
289 </UL>
286 </UL> 290 </UL>
287 </LI> 291 </LI>
288 <LI><A HREF="encoding.html">7. Encoding with MEncoder</A> 292 <LI><A HREF="encoding.html">7. Encoding with MEncoder</A>
289 <UL> 293 <UL>
290 <LI><A HREF="encoding.html#2pass">7.1 Encoding 2 or 3-pass MPEG-4 ("DIVX")</A></LI> 294 <LI><A HREF="encoding.html#2pass">7.1 Encoding 2 or 3-pass MPEG-4 ("DIVX")</A></LI>
1811 1815
1812 <P>The <CODE>-vo x11</CODE> output will be even slower than on Linux, since 1816 <P>The <CODE>-vo x11</CODE> output will be even slower than on Linux, since
1813 QNX has only X <I>emulation</I> which is VERY slow. Use SDL.</P> 1817 QNX has only X <I>emulation</I> which is VERY slow. Use SDL.</P>
1814 1818
1815 1819
1816 <H2><A NAME="cygwin">6.6 Cygwin</A></H2> 1820 <H2><A NAME="windows">6.6 Windows</A></H2>
1817 1821
1818 <P>The Cygwin port is still in its infancy. Currently there is no support for 1822 <P>Yes, MPlayer runs on Windows under
1819 OpenGL. SDL is known to distort sound and image or crash on some systems. 1823 <A HREF="http://www.cygwin.com/">Cygwin</A> and
1820 <A HREF="../tech/patches.txt">Patches</A> are always welcome. 1824 <A HREF="http://www.mingw.org/">MinGW</A>.
1821 Best results are achieved with the native DirectX video output driver 1825 It does not have a GUI yet, but the command line version is almost completely
1822 (<CODE>-vo directx</CODE>) and the native Windows waveout audio driver 1826 functional. <A HREF="../tech/patches.txt">Patches</A> are always welcome.
1823 (<CODE>-ao win32</CODE>). You should also check out the 1827 You should check out the
1824 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</A> 1828 <A HREF="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</A>
1825 mailing list for help and latest information.</P> 1829 mailing list for help and latest information.</P>
1826 1830
1827 <P>Cygwin versions prior to 1.3.23 do not include <CODE>inttypes.h</CODE>. You 1831 <P>Best results are achieved with the native DirectX video output driver
1832 (<CODE>-vo directx</CODE>) and the native Windows waveout audio driver
1833 (<CODE>-ao win32</CODE>) as OpenGL does not work and SDL is known to
1834 distort sound and image or crash on some systems. You can make the movie
1835 window stay on top with <CODE>-vo directx:ontop</CODE>. If the image is
1836 distorted, try turning off hardware acceleration with
1837 <CODE>-vo directx:noaccel</CODE>. Download
1838 <A HREF="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</A>
1839 to compile the DirectX video output driver.</P>
1840
1841 <P>QuickTime and Real DLLs also work. Compile with <CODE>--enable-qtx</CODE>
1842 and <CODE>--enable-real</CODE> and put the codecs into the
1843 default Windows DLL location, <CODE>C:\WINNT\system32</CODE> or
1844 <CODE>C:\Windows\system</CODE> depending on your Windows version.</P>
1845
1846 <P>There are precompiled binary versions made by Sascha Sommer available for
1847 download from
1848 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/">our homepage</A>.
1849 Joey Parrish has been making
1850 <A HREF="http://joey.nicewarrior.org/cygmp/">unofficial Windows packages</A>
1851 complete with installer.</P>
1852
1853 <H3><A NAME="cygwin">6.6.1 Cygwin</A></H3>
1854
1855 <P>Cygwin versions prior to 1.5.0 do not include <CODE>inttypes.h</CODE>. You
1828 will have to copy or symlink <CODE>etc/cygwin_inttypes.h</CODE> from the 1856 will have to copy or symlink <CODE>etc/cygwin_inttypes.h</CODE> from the
1829 MPlayer source directory to <CODE>/usr/include/inttypes.h</CODE> in order to 1857 MPlayer source directory to <CODE>/usr/include/inttypes.h</CODE> in order to
1830 make MPlayer compile.</P> 1858 make MPlayer compile.</P>
1831 1859
1832 <P>To get native DirectX video, download 1860 <P>DirectX header files need to be extracted to <CODE>/usr/include/</CODE> or
1833 <A HREF="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</A>, 1861 <CODE>/usr/local/include/</CODE>.</P>
1834 extract them to <CODE>/usr/include/</CODE> or <CODE>/usr/local/include/</CODE>
1835 and recompile. You will then be able to use the directx video out driver. You
1836 can make the movie window stay on top with <CODE>-vo directx:ontop</CODE>. If
1837 the image is distorted, try turning off hardware acceleration with
1838 <CODE>-vo directx:noaccel</CODE>.</P>
1839 1862
1840 <P>Instructions and files for making SDL run under Cygwin can be found on the 1863 <P>Instructions and files for making SDL run under Cygwin can be found on the
1841 <A HREF="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</A>.</P> 1864 <A HREF="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</A>.</P>
1842 1865
1843 <P>You can play VCDs by playing the <CODE>.DAT</CODE> or <CODE>.MPG</CODE> files 1866 <P>You can play VCDs by playing the <CODE>.DAT</CODE> or <CODE>.MPG</CODE> files
1851 <P>DVDs also work, just set the DVD device correctly to whatever your CD-ROM 1874 <P>DVDs also work, just set the DVD device correctly to whatever your CD-ROM
1852 device is:</P> 1875 device is:</P>
1853 1876
1854 <P><CODE>mplayer dvd://&lt;title&gt; -dvd-device '\\.\d:'</CODE></P> 1877 <P><CODE>mplayer dvd://&lt;title&gt; -dvd-device '\\.\d:'</CODE></P>
1855 1878
1856 <P>QuickTime and Real DLLs also work. Compile with <CODE>--enable-qtx</CODE>
1857 <CODE>--enable-real</CODE> and put the codecs into the
1858 default Windows DLL location, <CODE>C:\WINNT\system32</CODE> or
1859 <CODE>C:\Windows\system</CODE> depending on your Windows version.</P>
1860
1861 <P>The Cygwin console is rather slow. Redirecting output or using the 1879 <P>The Cygwin console is rather slow. Redirecting output or using the
1862 <CODE>-quiet</CODE> option has been reported to improve performance.</P> 1880 <CODE>-quiet</CODE> option has been reported to improve performance.</P>
1881
1882 <H3><A NAME="mingw">6.6.2 MinGW</A></H3>
1883
1884 <P>Installing a version of MinGW that could compile MPlayer used to be quite
1885 tricky, but only consists of three simple steps now and should work out of
1886 the box soon.</P>
1887
1888 <OL>
1889 <LI>Install MinGW 3.0.0 or later.</LI>
1890 <LI>Install MSYS 1.0.9 or later and tell the MSYS postinstall that
1891 MinGW is installed.</LI>
1892 <LI>Replace <CODE>/mingw/include/sys/types.h</CODE> with this
1893 <A HREF="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><CODE>types.h</CODE></A>.</LI>
1894 </OL>
1895
1896 <P>Extract DirectX header files to <CODE>/mingw/include/</CODE>.</P>
1897
1898 <P>VCDs and DVDs work almost like Cygwin (adjust for the drive letter of your
1899 CD-ROM):</P>
1900
1901 <P><CODE>mplayer d:/mpegav/avseq01.dat</CODE></P>
1902
1903 <P><CODE>mplayer /d/MPEG2/AVSEQ01.MPG</CODE></P>
1904
1905 <P><CODE>mplayer dvd://&lt;title&gt; -dvd-device /d/</CODE></P>
1906
1907
1863 1908
1864 1909
1865 1910
1866 <H1><A NAME="encoding">7.</A> <A HREF="encoding.html">Encoding with MEncoder</A></H1> 1911 <H1><A NAME="encoding">7.</A> <A HREF="encoding.html">Encoding with MEncoder</A></H1>
1867 1912