View Single Post
Old 2009-09-13, 16:52   Link #303
JayBlanc
Junior Member
 
Join Date: Jul 2009
Just compiled a Snow Leopard 64bit threaded version of mplayer...

You need to follow most of http://pigoz.wordpress.com/2009/09/0...mplayer-redux/ but with some changes to make it work for Snow Leopard and 64bit before you run make.

First, you need to replace the mplayer packaged with the SVN version for a raft of 64bit fixes, and an asm issue on Snow Leopard.

From within the mplayer-build dir,
# mv mplayer mplayer-old ; svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
which moves the old mplayer source out of the way, then grabs the source from svn. (you need svn installed to do this of course, get it from macports if you need it)

Contents of my common_options
Quote:
# You can place options common for both MPlayer and FFmpeg configure in
# this file. This mainly makes sense for generic things like --cc.
# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--cc=gcc-4.2
Contents of my mplayer_options
Quote:
# You can place options for MPlayer configure in this file.
# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--disable-x11
--disable-gl
--disable-mencoder
--disable-sdl
--enable-apple-remote
--enable-macosx-bundle
--target=x86_64-Darwin
Contents of my ffmpeg_options
Quote:
# You can place options for MPlayer configure in this file.
# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--disable-x11
--disable-gl
--disable-mencoder
--disable-sdl
--enable-apple-remote
--enable-macosx-bundle
--target=x86_64-Darwin
luxo:mplayer-build barberio$ cat ffmpeg_options
# You can place options for FFmpeg configure in this file.

# Place each option on its own line. Empty lines and lines starting with '#'
# are ignored. The options do not need quoting, so you can have for example
# --extra-libs=-lfoo -lbar
# (and NOT --extra-libs='-lfoo -lbar').
--cpu=core2
--arch=x86_64
(Note, I tried to see if I could coax it into working with llvm, but it had hangups with ld. So it only builds with gcc at the moment)
JayBlanc is offline