1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>11.5. Mac OS</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Multimedi�ln� přehr�vač"><link rel="up" href="ports.html" title="Kapitola 11. Porty"><link rel="prev" href="windows.html" title="11.4. Windows"><link rel="next" href="exotic_platforms.html" title="11.6. Exotic Platforms"><link rel="preface" href="howtoread.html" title="Jak č�st tuto dokumentaci"><link rel="chapter" href="intro.html" title="Kapitola 1. Představen�"><link rel="chapter" href="install.html" title="Kapitola 2. Instalace"><link rel="chapter" href="usage.html" title="Kapitola 3. Použit�"><link rel="chapter" href="cd-dvd.html" title="Kapitola 4. Použit� CD/DVD"><link rel="chapter" href="faq.html" title="Kapitola 5. Často Kladen� Dotazy (FAQ)"><link rel="chapter" href="containers.html" title="Kapitola 6. Nosn� form�ty (Containers)"><link rel="chapter" href="codecs.html" title="Kapitola 7. Kodeky"><link rel="chapter" href="video.html" title="Kapitola 8. V�stupn� video zař�zen�/rozhran�"><link rel="chapter" href="audio.html" title="Kapitola 9. V�stupn� zvukov� zař�zen�"><link rel="chapter" href="tv.html" title="Kapitola 10. TV"><link rel="chapter" href="ports.html" title="Kapitola 11. Porty"><link rel="chapter" href="mencoder.html" title="Kapitola 12. Z�kladn� použit� MEncoderu"><link rel="chapter" href="encoding-guide.html" title="Kapitola 13. Enk�dov�n� s MEncoderem"><link rel="appendix" href="mailinglists.html" title="Př�loha A. E-mailov� konference"><link rel="appendix" href="bugreports.html" title="Př�loha B. Jak hl�sit chyby"><link rel="appendix" href="bugs.html" title="Př�loha C. Zn�m� chyby"><link rel="appendix" href="skin.html" title="Př�loha D. Form�t skinů MPlayeru"><link rel="appendix" href="users-vs-dev.html" title="Př�loha E. N�řky v�voj�řů"><link rel="subsection" href="macos.html#osx_gui" title="11.5.1. MPlayer OS X GUI"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">11.5. Mac OS</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="windows.html">Předch�zej�c�</a>�</td><th width="60%" align="center">Kapitola 11. Porty</th><td width="20%" align="right">�<a accesskey="n" href="exotic_platforms.html">Dalš�</a></td></tr></table><hr></div><div class="sect1" lang="cs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="macos"></a>11.5. Mac OS</h2></div></div></div><p>
2
<span class="application">MPlayer</span> does not work on Mac OS versions before
3
10, but should compile out-of-the-box on Mac OS X 10.2 and up.
4
The preferred compiler is the Apple version of
5
GCC 3.x or later. If you have Mac OS X 10.3.9 or later and QuickTime 7
6
you can use the macosx video output driver.
7
</p><div class="sect2" lang="cs"><div class="titlepage"><div><div><h3 class="title"><a name="osx_gui"></a>11.5.1. MPlayer OS X GUI</h3></div></div></div><p>
8
You can get a native GUI for <span class="application">MPlayer</span> together with
9
precompiled <span class="application">MPlayer</span> binaries for Mac OS X from the
10
<a href="http://mplayerosx.sf.net/" target="_top">MPlayerOSX</a> project, but be
11
warned: that project is not active anymore.
13
Fortunately, <span class="application">MPlayerOSX</span> has been taken over
14
by a member of the <span class="application">MPlayer</span> team.
15
Preview releases are available from our
16
<a href="http://mplayerhq.hu/dload.html" target="_top">download page</a>
17
and an official release should arrive soon.
19
In order to build <span class="application">MPlayerOSX</span> from source
20
yourself, you need the <code class="systemitem">mplayerosx</code>, the
21
<code class="systemitem">main</code> and a copy of the
22
<code class="systemitem">main</code> CVS module named
23
<code class="systemitem">main_noaltivec</code>.
24
<code class="systemitem">mplayerosx</code> is the GUI frontend,
25
<code class="systemitem">main</code> is MPlayer and
26
<code class="systemitem">main_noaltivec</code> is MPlayer built without AltiVec
29
To check out CVS modules use:
31
</p><pre class="screen">
32
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
33
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P mplayerosx
34
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
37
In order to build <span class="application">MPlayerOSX</span> you will need to
38
set up something like this:
40
</p><pre class="screen">
41
MPlayer_source_directory
43
|--->main (MPlayer CVS source)
45
|--->main_noaltivec (MPlayer CVS source configured with --disable-altivec)
47
|--->mplayerosx (MPlayer OS X CVS source)
50
You first need to build main and main_noaltivec.
52
Next, set a global variable:
54
</p><pre class="screen">export MACOSX_DEPLOYMENT_TARGET=10.3</pre><p>
58
If you configure for a G4 or later CPU with AltiVec support, do as follows:
59
</p><pre class="screen">
60
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
62
If you configure for a G3-powered machine without AltiVec, use:
63
</p><pre class="screen">
64
./configure --with-termcaplib=ncurses.5 --disable-gl --disable-x11
67
You may need to edit <tt class="filename">config.mak</tt> and change
68
<code class="systemitem">-mcpu</code> and <code class="systemitem">-mtune</code>
69
from <code class="systemitem">74XX</code> to <code class="systemitem">G3</code>.
72
</p><pre class="screen">
75
then go to the mplayerosx directory and type
77
</p><pre class="screen">
80
This will create a compressed <code class="systemitem">.dmg</code> archive
81
with the ready to use binary.
83
You can also use the <span class="application">Xcode</span> 2.1 project;
84
the old project for <span class="application">Xcode</span> 1.x does
86
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="windows.html">Předch�zej�c�</a>�</td><td width="20%" align="center"><a accesskey="u" href="ports.html">Nahoru</a></td><td width="40%" align="right">�<a accesskey="n" href="exotic_platforms.html">Dalš�</a></td></tr><tr><td width="40%" align="left" valign="top">11.4. Windows�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Domů</a></td><td width="40%" align="right" valign="top">�11.6. Exotic Platforms</td></tr></table></div></body></html>