Mplayer X For Mac Os X

  

MPlayer does not work on Mac OS versions before 10, but should compile out-of-the-box on Mac OS X 10.2 and up. The preferred compiler is the Apple version of GCC 3.x or later. You can get the basic compilation environment by installing Apple's Xcode. MPlayerOSX is binary distribution of MPlayer (The Movie Player for Linux) and comes with native GUI in MacOSX. After installation you can simply (by Drag&Drop) play almost all 3ivx, DivX 3,4,5 and other codecs files in the window or fullscreen mode.

MPlayer does not work on Mac OS versions before10, but should compile out-of-the-box on Mac OS X 10.2 and up.The preferred compiler is the Apple version ofGCC 3.x or later.You can get the basic compilation environment by installing Apple'sXcode.If you have Mac OS X 10.3.9 or later and QuickTime 7you can use the corevideo video output driver.

Unfortunately, this basic environment will not allow you to take advantageof all the nice features of MPlayer.For instance, in order to have OSD support compiled in, you willneed to have fontconfigand freetype librariesinstalled on your machine. Contrary to other Unixes such as mostLinux and BSD variants, OS X does not have a package systemthat comes with the system.

There are at least two to choose from:Fink andMacPorts.Both of them provide about the same service (i.e. a lot of packages tochoose from, dependency resolution, the ability to simply add/update/removepackages, etc...).Fink offers both precompiled binary packages or building everything fromsource, whereas MacPorts only offers building from source.The author of this guide chose MacPorts for the simple fact that its basicsetup was more lightweight.Later examples will be based on MacPorts.

For instance, to compile MPlayer with OSD support:

This will install pkg-config, which is a system formanaging library compile/link flags.MPlayer's configure scriptuses it to properly detect libraries.Then you can install fontconfig in asimilar way:

Mplayer X For Mac Os X

Then you can proceed with launching MPlayer'sconfigure script (note thePKG_CONFIG_PATH and PATHenvironment variables so that configure finds thelibraries installed with MacPorts):

You can get a native GUI for MPlayer together withprecompiled MPlayer binaries for Mac OS X from theMPlayerOSX project, but bewarned: that project is not active anymore.

Fortunately, MPlayerOSX has been taken overby a member of the MPlayer team.Preview releases are available from ourdownload pageand an official release should arrive soon.

Mplayer X For Mac Os X

In order to build MPlayerOSX from sourceyourself, you need the mplayerosx, themain and a copy of themain SVN module namedmain_noaltivec.mplayerosx is the GUI frontend,main is MPlayer andmain_noaltivec is MPlayer built without AltiVecsupport.

To check out SVN modules use:

In order to build MPlayerOSX you will need toset up something like this:

You first need to build main and main_noaltivec.

To begin with, in order to ensure maximum backwards compatibility, set anenvironment variable:

Mplayer Mac Os

Then, configure:

Mac

If you configure for a G4 or later CPU with AltiVec support, do as follows:

Mplayerx Mac Won't Open

If you configure for a G3-powered machine without AltiVec, use:

You may need to edit config.mak and change-mcpu and -mtunefrom 74XX to G3.

Continue with

then go to the mplayerosx directory and type

Mplayerx download macFor

This will create a compressed .dmg archivewith the ready to use binary.

You can also use the Xcode 2.1 project;the old project for Xcode 1.x doesnot work anymore.