2008-03-18, 11:42
I've been following the FFmpeg mailing list and it looks like compiling a 64 bit version of FFmpeg with MMX enabled is possible under OS X.
I compiled FFmpeg against head and ran a benchmark of the 32 bit version against the 64 bit version with The Greatest Game AVC trailer as a benchmark.
(ffmpeg --benchmark -i TheGreatestGame_HD_AVC.mp4 -f null -an /dev/null)
I'm happy to report that under this particular case there was a speed increase of approximately ~%5. XBMC for OS X already requires OS X 10.5 and in Intel processor. Are there any barriers to making XBMC a full 64 bit application?
Here's some additional info to compile a 64 bit version of FFmpeg:
Patch 1 for x86_64 MANGLE on OS X
Patch 2 for enabling x86_64 arch (not accepted and will probably be done in a different way but this works for our purpose for now):
FFmpeg configure options:
./configure --extra-cflags=-m64 --extra-ldflags=-m64 --arch=x86_64
CABAC patch against FFMpeg head (there was a couple of minor symbol changes)
I compiled FFmpeg against head and ran a benchmark of the 32 bit version against the 64 bit version with The Greatest Game AVC trailer as a benchmark.
(ffmpeg --benchmark -i TheGreatestGame_HD_AVC.mp4 -f null -an /dev/null)
I'm happy to report that under this particular case there was a speed increase of approximately ~%5. XBMC for OS X already requires OS X 10.5 and in Intel processor. Are there any barriers to making XBMC a full 64 bit application?
Here's some additional info to compile a 64 bit version of FFmpeg:
Patch 1 for x86_64 MANGLE on OS X
Patch 2 for enabling x86_64 arch (not accepted and will probably be done in a different way but this works for our purpose for now):
FFmpeg configure options:
./configure --extra-cflags=-m64 --extra-ldflags=-m64 --arch=x86_64
CABAC patch against FFMpeg head (there was a couple of minor symbol changes)