[FFmpeg-devel] FFmpeg for Mac

David DeHaven dave
Fri May 22 06:41:33 CEST 2009


> Hi folks,
>
> I managed to port FFMpeg to Macs as a Universal Binary (runs on both  
> ppc
> and x86 architectures).  There were a couple of changes that I needed
> to make in order for this work.
>
> I've tested this on the x86 architecture.  It compiles for a PPC,  
> but I
> have not tested it yet.  I suspect that it will fail because the  
> ENDIAN
> is hard-coded in config.h.
>
> Anyway, here is my notes of things I needed to change for porting to  
> the Mac:

There's an easier way:
configure/build for powerpc
configure/build for i386

Use lipo to combine the two binaries. And you get all the CPU specific  
optimizations.

-DrD-




More information about the ffmpeg-devel mailing list