mplayer
on Mac OS. The only competition for this superb video player is VLC, but sometimes I like to just quickly launch something without a bulky UI getting in the way.But today I upgraded to Snow Leopard, distinctive from it's predecessor in being a truly native 64-bit operating system. And my SVN checkout of MPlayer stopped working, giving me a green video window and needing some effort to kill. So, to get MPlayer working, you're going to need the following:
...and, of course, your MPlayer sources. If you want FAAC support, get libfaac and build/install it using the same procedure as for
freetype
below.- Install the Apple Developer Tools using the graphical installer.
- Build
libpng
andlibjpeg
: ./configure --arch=x86_64
make
sudo make install
- Build
freetype
: ./configure --target=x86_64-Darwin
make
sudo make install
- Build
mplayer
: ./configure --target=x86_64-Darwin --enable-menu
make
sudo make install
Now, you should have a native 64-bit
/usr/local/bin/mplayer
:
danny@mirror ~ [1] % file /usr/local/bin/mplayer
/usr/local/bin/mplayer: Mach-O 64-bit executable x86_64
danny@mirror ~ [2] %
Success!
Why not just use macports?
ReplyDeleteOnce I'd installed the dev tools, I didn't see much point in getting macports just to get mplayer going.
ReplyDelete