Portok Linux Az elsődleges fejlesztési platform a Linux x86-on, ennek ellenére az MPlayer 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 egyik sem támogatott a fejlesztők által, 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. Debian csomagolás Egyszerűen készíthetők Debian csomagok a forrásból. A következő parancsok kell lefuttatni: fakeroot debian/rules binary Rendszergazdaként a szokásos módszerrel telepíthető a .deb csomag: dpkg -i ../mplayer_verziószám.deb Christian Marillat már évek óta csinál nem-hivatalos Debian MPlayer és MEncoder csomagokat, melyek akár az apt-get segítségével is telepíthetők innen. RedHat csomagolás Dominik Mierzejweski a "hivatalos" MPlayer csomagok karbantartója. A honapjáról. elérhetőek a csomagok. Mandrake RPM csomagok a P.L.F. oldalán találhatóak, de ezek nem hivtalosak. A SuSE régen egy csonkított verzióját tartalmazta az MPlayer-nek, de az utóbbi kiadásokból már kiszedték. SuSEval működő csomagok a links2linux.de oldalon találhatóak. ARM Az MPlayer 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 OpenZaurus webhelyéről történő letöltés. Ha saját erődből akarod lefordítani, érdemes körülnézni az mplayer és a libavcodec Openzaurus buildroot könyvtárakban, ezek ugyanis mindig tartalmazzál a legújabb Makefile-okat és patcheket az MPlayer CVS verziójának lefordításához. GUI frontend is rendelkezésre áll xmms-embedded néven. *BSD Az MPlayer fut FreeBSD, OpenBSD, NetBSD, BSD/OS és Darwin rendszereken. Léteznek ports/pkgsrc/fink és más verziók az MPlayer-ből, amelyek nagy valószínűséggel egyszerűbben fordíthatóak le. 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. Ha az MPlayer nem találja a /dev/cdrom-ot vagy a /dev/dvd-t, csinálj egy symlinket: ln -s /dev/cdrom_egység /dev/cdrom A Win32 DLL-ek használatához fordítsd újra a kernelt "option USER_LDT"-vel, kivéve, ha FreeBSD-CURRENT-et használsz, ahol ez az alapállapot. FreeBSD Ha a processzorod támogatja az SSE-t, akkor e utasításkészlet kihasználásához a kernelt az "options CPU_ENABLE_SSE" beállítással kell fordítani (ehhez FreeBSD-STABLE vagy kernelpatchekre van szükség). OpenBSD 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 $PATH-ban és add ki a gmake -k parancsot, majd a natív verzióval gmake. Darwin Lásd a Mac OS részt. Sun Solaris Az MPlayer Solaris 2.6 vagy újabb rendszereken működik. Az MPlayer kihasználja az UltraSPARC gépek VIS utasításkészletét (az MMX-hez hasonló), bár jelenleg csak a libmpeg2-ben, libvo-ben és a libavcodec-ben, de az mp3lib-ben nem. Egy 400Mhz-es CPU elég, hogy élvezhetően lejátsz egy VOB filet. Szükséged lesz egy felinstallált mLib-re is. A fordításhoz GNU make-re lesz szükséged (gmake, /opt/sfw/gmake), natív Solaris make nem jo. Egy tipikus hiba, ha mégis azzal probálkozol: % /usr/ccs/bin/make make: Fatal error in reader: Makefile, line 25: Unexpected end of line seen Solaris SPARC-on GNU C/C++ fordító is kell; az nem számít, ha assemblerrel vagy nélküle van. Solaris x86-on kell a GNU assembler és a GNU C/C++ fordító is, aminek támogatnia kell a GNU assemblert! Az MPlayer igencsak támaszkodik az MMX, SSE és 3DNOW! utasításokra, amiket a Sun standard assemblere (/usr/ccs/bin/as) nem támogat. A configure script megpróbálja megkerseni, hogy a "gcc" parancsod melyik assemblert indítja (ha nem sikerül neki, használd a "" parancsot). Hibaüzenet GNU assembler nélküli GCC használata esetén: % configure ... Checking assembler (/usr/ccs/bin/as) ... , failed Please upgrade(downgrade) binutils to 2.10.1... (Megoldás: ""-al fordított GCC használata) Tipikus hiba, ha a GNU C fordító nem GNU assemblert (GNU as) használ: % 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 ... 2 hiba miatt nem tudsz megbízhatóan DVD-t lejátszani Solaris 8 x86-on, ha annak kapacitása nagyobb mint 4 GB: 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 (). Ez a probláma a SPARC gépeket nem érinti. 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 (). Ez a hiba a 109764-04 (sparc) illetve 109765-04 (x86) jelzésű patch-ek installálása után megszűnik. Silicon Graphics Irix A GNU install programot kell felinstallálnod, és (ha nem tetted bel a globális path-ba) add meg a helyét: ./configure --with-install=install_elérési_útja Lehet az alap IRIX 6.5-ös install-t is használni, de ebben az esetben a Makefile egy kis kézi átírásra szorul. A következő két sort kell átírni: $(INSTALL) -c -m 644 DOCS/mplayer.1 $(MANDIR)/man1/mplayer.1 $(INSTALL) -c -m 644 etc/codecs.conf $(CONFDIR)/codecs.conf erre: $(INSTALL) -m 644 mplayer.1 $(MANDIR)/man1/ $(INSTALL) -m 644 codecs.conf $(CONFDIR)/ Add ki a következő parancsokat (az MPlayer forrás könyvtárában): cp DOCS/mplayer.1 . ; cp etc/codecs.conf . ezután símán fordítsd le az MPlayer-t. QNX Működik. Szükséged lesz SDL-re is. Ha az SDL-t felraktad, akkor az MPlayer-t a és az opciókkal használd, így használható sebességet kell produkálnia. A meghajtó nagyon lassú lesz, mert a QNX csak X emulációt tartalmaz, amely rettenetesen lassu. 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 (). 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 . Download DirectX 7 header files to compile the DirectX video output driver. VIDIX now works under Windows as , although it is still experimental and needs a bit of manual setup. Download dhahelper.sys and copy it to the libdha/dhahelperwin directory in your MPlayer source tree. Open a console and change to that directory. Then type gcc -o dhasetup.exe dhasetup.c and execute dhasetup.exe install as Administrator. After that you will have to reboot. When you are done, copy the .so files from vidix/drivers to the mplayer/vidix directory relative to your mplayer.exe. For best results MPlayer 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 mplayer -benchmark -nosound -frames 100 -vf format=colorspace movie where colorspace can be any colorspace printed by the option. If you find a colorspace your card handles particularly bad will keep it from being used. Add this to your config file to permanently keep it from being used. 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 (alternatively only on Cygwin) to configure. We have had some reports that Real DLLs need to be writable by the user running MPlayer, 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 (C:\Windows\system\ or similar). As a last resort, try putting them in the same directory as MPlayer. 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 DVDs also work, adjust for the drive letter of your DVD-ROM: mplayer dvd://<title> -dvd-device d: The Cygwin/MinGW console is rather slow. Redirecting output or using the option has been reported to improve performance on some systems. Direct rendering () may also help. You can prevent OSD flicker through double buffering with the option. If playback is jerky, try . If some of these options help you, you may want to put them in your config file. 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 our projects page. <application>Cygwin</application> Cygwin versions prior to 1.5.0 do not include inttypes.h. Put this inttypes.h in /usr/include/ 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. <application>MinGW</application> Installing a version of MinGW that could compile MPlayer used to be quite tricky, but it works out of the box now. Just install MinGW 3.1.0 or later and MSYS 1.0.9 or later and tell the MSYS postinstall that MinGW is installed. If you use a version of MinGW before 3.1.0, you need to replace /mingw/include/sys/types.h with this types.h. Extract DirectX header files to /mingw/include/. MOV compressed header support requires zlib, which MinGW does not provide by default. Configure it with and install it before compiling MPlayer. Mac OS Csak a Mac OS X 10.2-es verzió és utódai támogatottak a hivatalos MPlayer forrásban. Javításokat szívesen fogadunk! Az Apple saját GCC 3.x-es fordítója ajánlott, legfőképp, ha libavcodec-et is használunk, mert azt az Apple módosított GCC 2.95.x verziója nem képes lefordítani. Mindezek mellett még egy GUI is elérhető az MPlayer-hez, melyet egy előre lefordított lejátszó binárissal együtt tölthetünk le az MPlayerOSX csapat oldaláról. HP UX Martin Gansser írt és karbantart egy HOWTO-t az MPlayer HP-UX alatti használatáról. Mindenesetre a hivatalos MPlayer forrás is képes lefordulni HP-UX alatt. Amiga/MorphOS (GeekGadgets) Nicholas Det (Genesi) sikeresen átültette az MPlayer-t MorphOS alá. Sajnálatos módon csak a 0.90-es széria van kész. Letölthető a MorphZone-ról: MPlayer 0.91 bináris MPlayer 0.91 forrás MEncoder 0.91 bináris