RecentChanges TextFormattingRules AllWikiTopics OrphanedWikiTopics ToDoWikiTopics WikiLockList RSS Export2HTML WikiSearch SetUsername StartingPoints Home |
OSX:buildFFmpeg @Jun 1, 2011 10:15:40 AM
This is tested on Mac OS 10.6.7 (a Mac Book Pro)
Install Xcode 3 - you don't need to spend $5 on Xcode 4 xcode_3.2.6_and_ios_sdk_4.3.dmg Install MacPorts MacPorts-1.9.2-10.6-SnowLeopard.dmg libx264cd $PREFIX/src
git clone git://git.videolan.org/x264.git
cd x264 ./configure \
--prefix=/usr/local \
--enable-shared make
make install PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ \
PATH=$PATH:/opt/local/bin/ \
./configure \
--prefix=$HOME/darwin-ppc \
--target-os=darwin \
--arch=ppc \
--extra-cflags="-O3 -arch ppc -mcpu=powerpc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
--extra-ldflags="-arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
--enable-gpl \
--enable-nonfree \
--enable-runtime-cpudetect \
--enable-memalign-hack \
--enable-pthreads \
--enable-static \
--disable-shared \
--disable-indev=jack \
--disable-altivec
|