mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home
OSX:buildFFmpeg @Jun 1, 2011 3:54:26 PM

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

Build other libraries


Decide and create the place where you are going to do all your building, and set an environment variable so that it is easy to script the install:

export PREFIX=/usr/local
mkdir $PREFIX/src



libx264


cd $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


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.