1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00
mpv/DOCS/xml/hu/ports.xml

469 lines
18 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-2"?>
<!-- synced with 1.43 -->
<chapter id="ports" xreflabel="Ports">
<title>Portok</title>
<sect1 id="linux">
<title>Linux</title>
<para>
Az els<6C>dleges fejleszt<7A>si platform a Linux x86-on, ennek ellen<65>re az
<application>MPlayer</application> sz<73>mos m<>s Linux <20>ltal t<>mogatott architekt<6B>r<EFBFBD>n
fut.
Bin<EFBFBD>ris csomagok sz<73>mos forr<72>sb<73>l el<65>rhet<65>ek, de ezek k<>z<EFBFBD>l <emphasis role="bold">
egyik sem t<>mogatott a fejleszt<7A>k <20>ltal</emphasis>, ez<65>rt, ha b<>rmi gond ad<61>dik vel<65>k,
akkor a bin<69>ris csomagot k<>sz<73>t<EFBFBD>vel kell felvenni a kapcsolatot, nem pedig vel<65>nk.
</para>
<sect2 id="debian">
<title>Debian csomagol<6F>s</title>
<para>
Egyszer<EFBFBD>en k<>sz<73>thet<65>k Debian csomagok a forr<72>sb<73>l. A k<>vetkez<65> parancsok
kell lefuttatni: <screen>fakeroot debian/rules binary</screen>
Rendszergazdak<EFBFBD>nt a szok<6F>sos m<>dszerrel telep<65>thet<65> a <filename>.deb</filename> csomag:
<screen>dpkg -i ../mplayer_<replaceable>verzi<EFBFBD>sz<EFBFBD>m</replaceable>.deb</screen>
</para>
<para>
Christian Marillat m<>r <20>vek <20>ta csin<69>l nem-hivatalos Debian
<application>MPlayer</application> <20>s <application>MEncoder</application>
csomagokat, melyek ak<61>r az apt-get seg<65>ts<74>g<EFBFBD>vel is telep<65>thet<65>k
<ulink url="http://marillat.free.fr/">innen</ulink>.
</para>
</sect2>
<sect2 id="rpm">
<title>RedHat csomagol<6F>s</title>
<para>
Dominik Mierzejweski a "hivatalos" <application>MPlayer</application> csomagok
karbantart<EFBFBD>ja. A
<ulink url="http://greysector.rangers.eu.org/mplayer.html">honapj<EFBFBD>r<EFBFBD>l</ulink>.
el<EFBFBD>rhet<EFBFBD>ek a csomagok.
</para>
<para>
Mandrake RPM csomagok a <ulink url="http://plf.zarb.org/">P.L.F.</ulink> oldal<61>n
tal<EFBFBD>lhat<EFBFBD>ak, de ezek nem hivtalosak.
A SuSE r<>gen egy csonk<6E>tott verzi<7A>j<EFBFBD>t tartalmazta az <application>MPlayer</application>-nek,
de az ut<75>bbi kiad<61>sokb<6B>l m<>r kiszedt<64>k. SuSEval m<>k<EFBFBD>d<EFBFBD> csomagok a
<ulink url="http://packman.links2linux.de/?action=128">links2linux.de</ulink>
oldalon tal<61>lhat<61>ak.
</para>
</sect2>
<sect2 id="arm">
<title>ARM</title>
<para>
Az <application>MPlayer</application> m<>k<EFBFBD>dik ARM CPU-val rendelkez<65> PDA-kon is,
mint p<>ld<6C>ul a Sharp Zaurus, vagy a Compaq Ipaq. Megszerz<72>s<EFBFBD>nek legegyszer<65>bb
m<EFBFBD>dja az <ulink url="http://www.openzaurus.org">OpenZaurus</ulink> webhely<6C>r<EFBFBD>l
t<EFBFBD>rt<EFBFBD>n<EFBFBD> let<65>lt<6C>s. Ha saj<61>t er<65>db<64>l akarod leford<72>tani, <20>rdemes k<>r<EFBFBD>ln<6C>zni az
<ulink url="http://openzaurus.bkbits.net:8080/buildroot/src/packages/mplayer?nav=index.html|src/.|src/packages">mplayer</ulink>
<EFBFBD>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<76>rakban, ezek ugyanis mindig tartalmazz<7A>l a leg<65>jabb
Makefile-okat <20>s patcheket az <application>MPlayer</application> CVS verzi<7A>j<EFBFBD>nak
leford<EFBFBD>t<EFBFBD>s<EFBFBD>hoz.
GUI frontend is rendelkez<65>sre <20>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 <20>s
Darwin rendszereken. L<>teznek ports/pkgsrc/fink <20>s m<>s verzi<7A>k az
<application>MPlayer</application>-b<>l, amelyek nagy val<61>sz<73>n<EFBFBD>s<EFBFBD>ggel
egyszer<EFBFBD>bben ford<72>that<61>ak le.
</para>
<para>
A ford<72>t<EFBFBD>shoz sz<73>ks<6B>ged lesz GNU make-ra (gmake, mivel a nat<61>v BSD make m<>s
szintaxist haszn<7A>l) <20>s a binutils valamelyik frissebb verzi<7A>j<EFBFBD>ra.
</para>
<para>
Ha az <application>MPlayer</application> nem tal<61>lja a <filename>/dev/cdrom</filename>-ot
vagy a <filename>/dev/dvd</filename>-t, csin<69>lj egy symlinket:
<screen>ln -s /dev/<replaceable>cdrom_egys<EFBFBD>g</replaceable> /dev/cdrom</screen>
</para>
<para>
A Win32 DLL-ek haszn<7A>lat<61>hoz ford<72>tsd <20>jra a kernelt
&quot;<envar>option USER_LDT</envar>&quot;-vel, kiv<69>ve, ha FreeBSD-CURRENT-et
haszn<EFBFBD>lsz, ahol ez az alap<61>llapot.
</para>
<sect2 id="freebsd">
<title>FreeBSD</title>
<para>
Ha a processzorod t<>mogatja az SSE-t, akkor e utas<61>t<EFBFBD>sk<73>szlet kihaszn<7A>l<EFBFBD>s<EFBFBD>hoz
a kernelt az &quot;<envar>options CPU_ENABLE_SSE</envar>&quot; be<62>ll<6C>t<EFBFBD>ssal
kell ford<72>tani (ehhez FreeBSD-STABLE vagy kernelpatchekre van sz<73>ks<6B>g).
</para>
</sect2>
<sect2 id="openbsd">
<title>OpenBSD</title>
<para>
A gas k<>l<EFBFBD>nb<6E>z<EFBFBD> verzi<7A>inak hi<68>nyoss<73>gai miatt (relok<6F>ci<63> vs MMX), k<>t
l<EFBFBD>p<EFBFBD>sben kell ford<72>tani: el<65>sz<73>r legyen a nem-nat<61>v verzi<7A> a <envar>$PATH</envar>-ban
<EFBFBD>s add ki a <command>gmake -k</command> parancsot, majd a nat<61>v verzi<7A>val
<command>gmake</command>.
</para>
</sect2>
<sect2 id="darwin">
<title>Darwin</title>
<para>
L<EFBFBD>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 <20>jabb rendszereken m<>k<EFBFBD>dik.
</para>
<para>
Az <application>MPlayer</application> kihaszn<7A>lja az
<emphasis role="bold">UltraSPARC</emphasis> g<>pek <emphasis role="bold">VIS</emphasis>
utas<EFBFBD>t<EFBFBD>sk<EFBFBD>szlet<EFBFBD>t (az MMX-hez hasonl<6E>), b<>r jelenleg csak a
<systemitem class="library">libmpeg2</systemitem>-ben,
<systemitem class="library">libvo</systemitem>-ben <20>s
a <systemitem class="library">libavcodec</systemitem>-ben, de az
<systemitem class="library">mp3lib</systemitem>-ben nem.
Egy 400Mhz-es CPU el<65>g, hogy <20>lvezhet<65>en lej<65>tsz egy VOB filet.
Sz<EFBFBD>ks<EFBFBD>ged lesz egy felinstall<6C>lt
<ulink url="http://www.sun.com/sparc/vis/mediaLib.html"><systemitem class="library">mLib</systemitem></ulink>-re
is.
</para>
<para>
A ford<72>t<EFBFBD>shoz GNU <application>make</application>-re lesz sz<73>ks<6B>ged
(<filename>gmake</filename>, <filename>/opt/sfw/gmake</filename>), nat<61>v
Solaris make nem jo. Egy tipikus hiba, ha m<>gis azzal prob<6F>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<72>t<EFBFBD> is kell; az nem sz<73>m<EFBFBD>t, ha assemblerrel
vagy n<>lk<6C>le van.
</para>
<para>
Solaris x86-on kell a GNU assembler <20>s a GNU C/C++ ford<72>t<EFBFBD> is, aminek t<>mogatnia
kell a GNU assemblert! Az <application>MPlayer</application> igencsak
t<EFBFBD>maszkodik az MMX, SSE <20>s 3DNOW! utas<61>t<EFBFBD>sokra, amiket a Sun standard
assemblere (<filename>/usr/ccs/bin/as</filename>) nem t<>mogat.
</para>
<para>
A <filename>configure</filename> script megpr<70>b<EFBFBD>lja megkerseni, hogy a
&quot;gcc&quot; parancsod melyik assemblert ind<6E>tja (ha nem siker<65>l neki,
haszn<EFBFBD>ld a &quot;<option>--as=<replaceable>/ahova/install<6C>ltad/gnu-as</replaceable></option>&quot;
parancsot).
</para>
<para>
Hiba<EFBFBD>zenet GNU assembler n<>lk<6C>li GCC haszn<7A>lata eset<65>n:
<screen>
% configure
...
Checking assembler (/usr/ccs/bin/as) ... , failed
Please upgrade(downgrade) binutils to 2.10.1...
</screen>
(Megold<6C>s: &quot;<option>--with-as=gas</option>&quot;-al ford<72>tott GCC haszn<7A>lata)
</para>
<para>
Tipikus hiba, ha a GNU C ford<72>t<EFBFBD> nem GNU assemblert (GNU as) haszn<7A>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<67>zhat<61>an DVD-t lej<65>tszani Solaris 8 x86-on,
ha annak kapacit<69>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<62>ma a SPARC g<>peket nem <20>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<6C>s<EFBFBD> patch-ek install<6C>l<EFBFBD>sa
ut<EFBFBD>n megsz<73>nik.
</para></listitem>
</itemizedlist>
</sect1>
<sect1 id="irix">
<title>Silicon Graphics Irix</title>
<para>
A GNU install programot kell felinstall<6C>lnod, <20>s (ha nem tetted bel a glob<6F>lis
path-ba) add meg a hely<6C>t:
<screen>./configure --with-install=<replaceable>install_el<EFBFBD>r<EFBFBD>si_<EFBFBD>tja</replaceable></screen>
</para>
<para>
Lehet az alap IRIX 6.5-<2D>s install-t is haszn<7A>lni, de ebben az esetben
a <filename>Makefile</filename> egy kis k<>zi <20>t<EFBFBD>r<EFBFBD>sra szorul. A k<>vetkez<65>
k<EFBFBD>t sort kell <20>t<EFBFBD>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<65> parancsokat (az <application>MPlayer</application> forr<72>s k<>nyvt<76>r<EFBFBD>ban):
<screen>cp DOCS/mplayer.1 . ; cp etc/codecs.conf .</screen>
ezut<EFBFBD>n s<>m<EFBFBD>n ford<72>tsd le az MPlayer-t.
</para>
</sect1>
<sect1 id="qnx">
<title>QNX</title>
<para>
M<EFBFBD>k<EFBFBD>dik. Sz<53>ks<6B>ged lesz SDL-re is. Ha az SDL-t felraktad, akkor az
<application>MPlayer</application>-t a <option>-vo sdl:photon</option>
<EFBFBD>s az <option>-ao sdl:nto</option> opci<63>kkal haszn<7A>ld, <20>gy haszn<7A>lhat<61> sebess<73>get
kell produk<75>lnia.
</para>
<para>
A <option>-vo x11</option> meghajt<6A> nagyon lass<73> lesz, mert a QNX csak X
<emphasis>emul<EFBFBD>ci<EFBFBD>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>&lt;title&gt;</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<7A> <20>s ut<75>dai t<>mogatottak a hivatalos
<application>MPlayer</application> forr<72>sban. Jav<61>t<EFBFBD>sokat sz<73>vesen fogadunk!
</para>
<para>
Az Apple saj<61>t GCC 3.x-es ford<72>t<EFBFBD>ja aj<61>nlott, legf<67>k<EFBFBD>pp, ha
<systemitem class="library">libavcodec</systemitem>-et is haszn<7A>lunk, mert
azt az Apple m<>dos<6F>tott GCC 2.95.x verzi<7A>ja nem k<>pes leford<72>tani.
</para>
<para>
Mindezek mellett m<>g egy GUI is el<65>rhet<65> az <application>MPlayer</application>-hez,
melyet egy el<65>re leford<72>tott lej<65>tsz<73> bin<69>rissal egy<67>tt t<>lthet<65>nk le az
<ulink url="http://mplayerosx.sf.net/">MPlayerOSX</ulink> csapat oldal<61>r<EFBFBD>l.
</para>
</sect1>
<sect1 id="hpux">
<title>HP UX</title>
<para>
Martin Gansser <20>rt <20>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<7A>lat<61>r<EFBFBD>l.
</para>
<para>
Mindenesetre a hivatalos <application>MPlayer</application> forr<72>s is k<>pes
lefordulni HP-UX alatt.
</para>
</sect1>
<sect1 id="amiga">
<title>Amiga/MorphOS (GeekGadgets)</title>
<para>
Nicholas Det (Genesi) sikeresen <20>t<EFBFBD>ltette az <application>MPlayer</application>-t
MorphOS al<61>. Sajn<6A>latos m<>don csak a 0.90-es sz<73>ria van k<>sz.
</para>
<para>
Let<EFBFBD>lthet<EFBFBD> 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<69>ris</ulink>
</para></listitem>
<listitem><para>
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=91">
<application>MPlayer</application> 0.91 forr<72>s</ulink>
</para></listitem>
<listitem><para>
<ulink url="http://www.morphzone.org/modules/mydownloads/singlefile.php?lid=912">
<application>MEncoder</application> 0.91 bin<69>ris</ulink>
</para></listitem>
</itemizedlist>
</para>
</sect1>
</chapter>