Mercurial > mplayer.hg
changeset 12551:f35194bbd01a
ports translated
author | alex |
---|---|
date | Thu, 10 Jun 2004 14:39:54 +0000 (2004-06-10) |
parents | 733c9d9882d1 |
children | e58d894d570b |
files | DOCS/xml/hu/documentation.xml DOCS/xml/hu/ports.xml |
diffstat | 2 files changed, 469 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/hu/documentation.xml Thu Jun 10 11:16:44 2004 +0000 +++ b/DOCS/xml/hu/documentation.xml Thu Jun 10 14:39:54 2004 +0000 @@ -51,7 +51,7 @@ </preface> <chapter id="intro"> -<title>Bevezetes</title> +<title>Bevezet�s</title> <para> Az <application>MPlayer</application> egy Linuxon m�k�d� videolej�tsz� (fut
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DOCS/xml/hu/ports.xml Thu Jun 10 14:39:54 2004 +0000 @@ -0,0 +1,468 @@ +<?xml version="1.0" encoding="iso-8859-2"?> +<!-- synced with 1.42 --> +<chapter id="ports" xreflabel="Ports"> +<title>Portok</title> + +<sect1 id="linux"> +<title>Linux</title> +<para> +Az els�dleges fejleszt�si platform a Linux x86-on, ennek ellen�re az +<application>MPlayer</application> sz�mos m�s Linux �ltal t�mogatott architekt�r�n +fut. +Bin�ris csomagok sz�mos forr�sb�l el�rhet�ek, de ezek k�z�l <emphasis role="bold"> +egyik sem t�mogatott a fejleszt�k �ltal</emphasis>, ez�rt, ha b�rmi gond ad�dik vel�k, +akkor a bin�ris csomagot k�sz�t�vel kell felvenni a kapcsolatot, nem pedig vel�nk. +</para> + +<sect2 id="debian"> +<title>Debian csomagol�s</title> +<para> +Egyszer�en k�sz�thet�k Debian csomagok a forr�sb�l. A k�vetkez� parancsok +kell lefuttatni: <screen>fakeroot debian/rules binary</screen> +Rendszergazdak�nt a szok�sos m�dszerrel telep�thet� a <filename>.deb</filename> csomag: +<screen>dpkg -i ../mplayer_<replaceable>verzi�sz�m</replaceable>.deb</screen> +</para> + +<para> +Christian Marillat m�r �vek �ta csin�l nem-hivatalos Debian +<application>MPlayer</application> �s <application>MEncoder</application> +csomagokat, melyek ak�r az apt-get seg�ts�g�vel is telep�thet�k +<ulink url="http://marillat.free.fr/">innen</ulink>. +</para> +</sect2> + +<sect2 id="rpm"> +<title>RedHat csomagol�s</title> +<para> +Dominik Mierzejweski a "hivatalos" <application>MPlayer</application> csomagok +karbantart�ja. A +<ulink url="http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/">honapj�r�l</ulink>. +el�rhet�ek a csomagok. +</para> + +<para> +Mandrake RPM csomagok a <ulink url="http://plf.zarb.org/">P.L.F.</ulink> oldal�n +tal�lhat�ak, de ezek nem hivtalosak. +A SuSE r�gen egy csonk�tott verzi�j�t tartalmazta az <application>MPlayer</application>-nek, +de az ut�bbi kiad�sokb�l m�r kiszedt�k. SuSEval m�k�d� csomagok a +<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink> +oldalon tal�lhat�ak. +</para> +</sect2> + +<sect2 id="arm"> +<title>ARM</title> +<para> +Az <application>MPlayer</application> m�k�dik ARM CPU-val rendelkez� PDA-kon is, +mint p�ld�ul a Sharp Zaurus, vagy a Compaq Ipaq. Megszerz�s�nek legegyszer�bb +m�dja az <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> webhely�r�l +t�rt�n� let�lt�s. Ha saj�t er�db�l akarod leford�tani, �rdemes k�r�ln�zni az +<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink> +�s a +<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/libavcodec?nav=index.html|src/.|src/packages">libavcodec</ulink> +Openzaurus buildroot k�nyvt�rakban, ezek ugyanis mindig tartalmazz�l a leg�jabb +Makefile-okat �s patcheket az <application>MPlayer</application> CVS verzi�j�nak +leford�t�s�hoz. +GUI frontend is rendelkez�sre �ll xmms-embedded n�ven. +</para> +</sect2> +</sect1> + +<sect1 id="bsd"> +<title>*BSD</title> +<para> +Az <application>MPlayer</application> fut FreeBSD, OpenBSD, NetBSD, BSD/OS �s +Darwin rendszereken. L�teznek ports/pkgsrc/fink �s m�s verzi�k az +<application>MPlayer</application>-b�l, amelyek nagy val�sz�n�s�ggel +egyszer�bben ford�that�ak le. +</para> + +<para> +A ford�t�shoz sz�ks�ged lesz GNU make-ra (gmake, mivel a nat�v BSD make m�s +szintaxist haszn�l) �s a binutils valamelyik frissebb verzi�j�ra. +</para> + +<para> +Ha az <application>MPlayer</application> nem tal�lja a <filename>/dev/cdrom</filename>-ot +vagy a <filename>/dev/dvd</filename>-t, csin�lj egy symlinket: +<screen>ln -s /dev/<replaceable>cdrom_egys�g</replaceable> /dev/cdrom</screen> +</para> + +<para> +A Win32 DLL-ek haszn�lat�hoz ford�tsd �jra a kernelt +"<envar>option USER_LDT</envar>"-vel, kiv�ve, ha FreeBSD-CURRENT-et +haszn�lsz, ahol ez az alap�llapot. +</para> + + +<sect2 id="freebsd"> +<title>FreeBSD</title> +<para> +Ha a processzorod t�mogatja az SSE-t, akkor e utas�t�sk�szlet kihaszn�l�s�hoz +a kernelt az "<envar>options CPU_ENABLE_SSE</envar>" be�ll�t�ssal +kell ford�tani (ehhez FreeBSD-STABLE vagy kernelpatchekre van sz�ks�g). +</para> +</sect2> + +<sect2 id="openbsd"> +<title>OpenBSD</title> +<para> +A gas k�l�nb�z� verzi�inak hi�nyoss�gai miatt (relok�ci� vs MMX), k�t +l�p�sben kell ford�tani: el�sz�r legyen a nem-nat�v verzi� a <envar>$PATH</envar>-ban +�s add ki a <command>gmake -k</command> parancsot, majd a nat�v verzi�val +<command>gmake</command>. +</para> +</sect2> + +<sect2 id="darwin"> +<title>Darwin</title> +<para> +L�sd a <link linkend="macos">Mac OS</link> r�szt. +</para> +</sect2> +</sect1> + +<sect1 id="solaris"> +<title>Sun Solaris</title> +<para> +Az <application>MPlayer</application> Solaris 2.6 vagy �jabb rendszereken m�k�dik. +</para> + +<para> +Az <application>MPlayer</application> kihaszn�lja az +<emphasis role="bold">UltraSPARC</emphasis> g�pek <emphasis role="bold">VIS</emphasis> +utas�t�sk�szlet�t (az MMX-hez hasonl�), b�r jelenleg csak a +<systemitem class="library">libmpeg2</systemitem>-ben, +<systemitem class="library">libvo</systemitem>-ben �s +a <systemitem class="library">libavcodec</systemitem>-ben, de az +<systemitem class="library">mp3lib</systemitem>-ben nem. +Egy 400Mhz-es CPU el�g, hogy �lvezhet�en lej�tsz egy VOB filet. +Sz�ks�ged lesz egy felinstall�lt +<ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>-re +is. +</para> + +<para> +A ford�t�shoz GNU <application>make</application>-re lesz sz�ks�ged +(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), nat�v +Solaris make nem jo. Egy tipikus hiba, ha m�gis azzal prob�lkozol: +<screen> + % /usr/ccs/bin/make + make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen +</screen> +</para> + +<para> +Solaris SPARC-on GNU C/C++ ford�t� is kell; az nem sz�m�t, ha assemblerrel +vagy n�lk�le van. +</para> + +<para> +Solaris x86-on kell a GNU assembler �s a GNU C/C++ ford�t� is, aminek t�mogatnia +kell a GNU assemblert! Az <application>MPlayer</application> igencsak +t�maszkodik az MMX, SSE �s 3DNOW! utas�t�sokra, amiket a Sun standard +assemblere (<filename>/usr/ccs/bin/as</filename>) nem t�mogat. +</para> + +<para> +A <filename>configure</filename> script megpr�b�lja megkerseni, hogy a +"gcc" parancsod melyik assemblert ind�tja (ha nem siker�l neki, +haszn�ld a "<option>--as=<replaceable>/ahova/install�ltad/gnu-as</replaceable></option>" +parancsot). +</para> + +<para> +Hiba�zenet GNU assembler n�lk�li GCC haszn�lata eset�n: +<screen> + % configure + ... + Checking assembler (/usr/ccs/bin/as) ... , failed + Please upgrade(downgrade) binutils to 2.10.1... +</screen> +(Megold�s: "<option>--with-as=gas</option>"-al ford�tott GCC haszn�lata) +</para> + +<para> +Tipikus hiba, ha a GNU C ford�t� nem GNU assemblert (GNU as) haszn�l: +<screen> + % gmake + ... + gcc -c -Iloader -Ilibvo -O4 -march=i686 -mcpu=i686 -pipe -ffast-math + -fomit-frame-pointer -I/usr/local/include -o mplayer.o mplayer.c + Assembler: mplayer.c + "(stdin)", line 3567 : Illegal mnemonic + "(stdin)", line 3567 : Syntax error + ... more "Illegal mnemonic" and "Syntax error" errors ... +</screen> +</para> + +<para> +2 hiba miatt nem tudsz megb�zhat�an DVD-t lej�tszani Solaris 8 x86-on, +ha annak kapacit�sa nagyobb mint 4 GB: +</para> + +<itemizedlist> +<listitem><para> +The sd(7D) driver on Solaris 8 x86 has a bug when accessing a disk block >4GB +on a device using a logical blocksize != DEV_BSIZE (i.e. CD-ROM and DVD media). +Due to a 32Bit int overflow, a disk address modulo 4GB is accessed +(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22516"/>). +Ez a probl�ma a SPARC g�peket nem �rinti. +</para></listitem> + +<listitem><para> +A similar bug is present in the hsfs(7FS) filesystem code (aka ISO9660), +hsfs may not not support partitions/disks larger than 4GB, all data is +accessed modulo 4GB +(<ulink url="http://groups.yahoo.com/group/solarisonintel/message/22592"/>). +Ez a hiba a 109764-04 (sparc) illetve 109765-04 (x86) jelz�s� patch-ek install�l�sa +ut�n megsz�nik. +</para></listitem> +</itemizedlist> +</sect1> + +<sect1 id="irix"> +<title>Silicon Graphics Irix</title> +<para> +A GNU install programot kell felinstall�lnod, �s (ha nem tetted bel a glob�lis +path-ba) add meg a hely�t: +<screen>./configure --with-install=<replaceable>install_el�r�si_�tja</replaceable></screen> +</para> + +<para> +Lehet az alap IRIX 6.5-�s install-t is haszn�lni, de ebben az esetben +a <filename>Makefile</filename> egy kis k�zi �t�r�sra szorul. A k�vetkez� +k�t sort kell �t�rni: +<programlisting> + $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 + + $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf +</programlisting> +erre: +<programlisting> + $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ + + $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ +</programlisting> +Add ki a k�vetkez� parancsokat (az <application>MPlayer</application> forr�s k�nyvt�r�ban): +<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen> +ezut�n s�m�n ford�tsd le az MPlayer-t. +</para> +</sect1> + +<sect1 id="qnx"> +<title>QNX</title> +<para> +M�k�dik. Sz�ks�ged lesz SDL-re is. Ha az SDL-t felraktad, akkor az +<application>MPlayer</application>-t a <option>-vo sdl:photon</option> +�s az <option>-ao sdl:nto</option> opci�kkal haszn�ld, �gy haszn�lhat� sebess�get +kell produk�lnia. +</para> + +<para> +A <option>-vo x11</option> meghajt� nagyon lass� lesz, mert a QNX csak X +<emphasis>emul�ci�t</emphasis> tartalmaz, amely rettenetesen lassu. +</para> +</sect1> + +<sect1 id="windows"> +<title>Windows</title> + +<para>Yes, <application>MPlayer</application> runs on Windows under + <ulink url="http://www.cygwin.com/"><application>Cygwin</application></ulink> and + <ulink url="http://www.mingw.org/"><application>MinGW</application></ulink>. + It does not have a GUI yet, but the command line version is almost completely + functional. <ulink url="../../tech/patches.txt">Patches</ulink> are always welcome. + You should check out the + <ulink url="http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin/">mplayer-cygwin</ulink> + mailing list for help and latest information.</para> + +<para>Best results are achieved with the native DirectX video output driver + (<option>-vo directx</option>) and the native Windows waveout audio driver + (<option>-ao win32</option>). Alternatives are OpenGL and SDL, but OpenGL + performance varies greatly between systems and SDL is known to + distort sound and video or crash on some systems. If the image is + distorted, try turning off hardware acceleration with + <option>-vo directx:noaccel</option>. Download + <ulink url="http://www.videolan.org/vlc/dx7headers.tgz">DirectX 7 header files</ulink> + to compile the DirectX video output driver.</para> + +<para><link linkend="vidix">VIDIX</link> now works under Windows as + <option>-vo winvidix</option>, although it is still experimental + and needs a bit of manual setup. Download + <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/dhahelper.sys">dhahelper.sys</ulink> + and copy it to the + <filename class="directory">libdha/dhahelperwin</filename> directory in your + <application>MPlayer</application> source tree. + Open a console and change to that directory. Then type + + <screen>gcc -o dhasetup.exe dhasetup.c</screen> + + and execute + + <screen>dhasetup.exe install</screen> + + as Administrator. After that you will have to reboot. When you are + done, copy the <systemitem class="library">.so</systemitem> files from + <filename class="directory">vidix/drivers</filename> to the + <filename class="directory">mplayer/vidix</filename> directory + relative to your <filename>mplayer.exe</filename>.</para> + +<para>For best results <application>MPlayer</application> should use a + colorspace that your video card supports in hardware. Unfortunately many + Windows graphics drivers wrongly report some colorspaces as supported in + hardware. To find out which, try + + <screen>mplayer -benchmark -nosound -frames 100 -vf format=<replaceable>colorspace</replaceable> <replaceable>movie</replaceable></screen> + + where <replaceable>colorspace</replaceable> can be any colorspace + printed by the <option>-vf format=fmt=help</option> option. If you + find a colorspace your card handles particularly bad + <option>-vf noformat=<replaceable>colorspace</replaceable></option> + will keep it from being used. Add this to your config file to permanently + keep it from being used.</para> + +<para>You can use Win32 codecs and Real Win32 codecs (not Real Linux codecs) + if you want to. Put the codecs somewhere in your path or pass + <option>--with-codecsdir=<replaceable>c:/path/to/your/codecs</replaceable></option> (alternatively + <option>--with-codecsdir=<replaceable>/path/to/your/codecs</replaceable></option> only on + <application>Cygwin</application>) to <filename>configure</filename>. We + have had some reports that Real DLLs need to be writable by the user running + <application>MPlayer</application>, but only on some systems. Try making + them writable if you have problems. QuickTime DLLs also work, but you will + have to put them in your Windows system directory + (<filename class="directory"><replaceable>C:\Windows\system\</replaceable></filename> + or similar). As a last resort, try putting them in the same directory as + <application>MPlayer</application>.</para> + +<para>You can play VCDs by playing the <filename>.DAT</filename> or <filename>.MPG</filename> files + that Windows exposes on VCDs. It works like this (adjust for the drive letter + of your CD-ROM):</para> + +<screen>mplayer <replaceable>d:/mpegav/avseq01.dat</replaceable></screen> + +<para>DVDs also work, adjust <option>-dvd-device</option> for the drive letter + of your DVD-ROM:</para> + +<screen>mplayer dvd://<replaceable><title></replaceable> -dvd-device <replaceable>d</replaceable>:</screen> + +<para>The <application>Cygwin</application>/<application>MinGW</application> + console is rather slow. Redirecting output or using the + <option>-quiet</option> option has been reported to improve performance on + some systems. Direct rendering (<option>-dr</option>) may also help. + You can prevent OSD flicker through double buffering with the + <option>-double</option> option. If playback is jerky, try + <option>-autosync 100</option>. If some of these options help you, you + may want to put them in your config file.</para> + +<para>Sascha Sommer releases official Windows binaries from time to time, + Joey Parrish makes unofficial Windows packages complete with installer. + Look for these in the Windows section of + <ulink url="http://www.mplayerhq.hu/homepage/projects.html#windows">our projects page</ulink>.</para> + +<sect2 id="cygwin"> +<title><application>Cygwin</application></title> + +<para><application>Cygwin</application> versions prior to 1.5.0 do + not include <filename>inttypes.h</filename>. Put this + <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/inttypes.h">inttypes.h</ulink> + in <filename class="directory">/usr/include/</filename> in order to + make <application>MPlayer</application> compile.</para> + +<para>DirectX header files need to be extracted to <filename class="directory">/usr/include/</filename> or + <filename class="directory">/usr/local/include/</filename>.</para> + +<para>Instructions and files for making SDL run under + <application>Cygwin</application> can be found on the + <ulink url="http://www.libsdl.org/extras/win32/cygwin/">libsdl site</ulink>.</para> + +</sect2> + + +<sect2 id="mingw"> +<title><application>MinGW</application></title> + +<para>Installing a version of <application>MinGW</application> that could + compile <application>MPlayer</application> used to be quite tricky, but it + works out of the box now. Just install <application>MinGW</application> + 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that + <application>MinGW</application> is installed.</para> + +<para>If you use a version of <application>MinGW</application> before 3.1.0, + you need to replace <filename>/mingw/include/sys/types.h</filename> with this + <ulink url="http://www.mplayerhq.hu/MPlayer/releases/win32-beta/contrib/types.h"><filename>types.h</filename></ulink>.</para> + +<para>Extract DirectX header files to <filename class="directory">/mingw/include/</filename>.</para> + +<para>MOV compressed header support requires + <ulink url="http://www.gzip.org/zlib/">zlib</ulink>, which + <application>MinGW</application> does not provide by default. + Configure it with <option>--prefix=/mingw</option> and install + it before compiling <application>MPlayer</application>.</para> + +</sect2> + + +</sect1> + +<sect1 id="macos"> +<title>Mac OS</title> +<para> +Csak a Mac OS X 10.2-es verzi� �s ut�dai t�mogatottak a hivatalos +<application>MPlayer</application> forr�sban. Jav�t�sokat sz�vesen fogadunk! +</para> + +<para> +Az Apple saj�t GCC 3.x-es ford�t�ja aj�nlott, legf�k�pp, ha +<systemitem class="library">libavcodec</systemitem>-et is haszn�lunk, mert +azt az Apple m�dos�tott GCC 2.95.x verzi�ja nem k�pes leford�tani. +</para> + +<para> +Mindezek mellett m�g egy GUI is el�rhet� az <application>MPlayer</application>-hez, +melyet egy el�re leford�tott lej�tsz� bin�rissal egy�tt t�lthet�nk le az +<ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> csapat oldal�r�l. +</para> +</sect1> + +<sect1 id="hpux"> +<title>HP UX</title> +<para> +Martin Gansser �rt �s karbantart egy +<ulink url="http://cloud.prohosting.com/patos/docs/mplayer_on_hpux11.htm">HOWTO</ulink>-t +az <application>MPlayer</application> HP-UX alatti haszn�lat�r�l. +</para> + +<para> +Mindenesetre a hivatalos <application>MPlayer</application> forr�s is k�pes +lefordulni HP-UX alatt. +</para> +</sect1> + +<sect1 id="amiga"> +<title>Amiga/MorphOS (GeekGadgets)</title> +<para> +Nicholas Det (Genesi) sikeresen �t�ltette az <application>MPlayer</application>-t +MorphOS al�. Sajn�latos m�don csak a 0.90-es sz�ria van k�sz. +</para> + +<para> +Let�lthet� a <ulink url="http://www.morphzone.org/">MorphZone</ulink>-r�l: +<itemizedlist> +<listitem><para> +<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=90"> +<application>MPlayer</application> 0.91 bin�ris</ulink> +</para></listitem> +<listitem><para> +<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91"> +<application>MPlayer</application> 0.91 forr�s</ulink> +</para></listitem> +<listitem><para> +<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912"> +<application>MEncoder</application> 0.91 bin�ris</ulink> +</para></listitem> +</itemizedlist> +</para> +</sect1> + +</chapter>