installing ffmpeg on OS X

hello I am trying to install in an easy way ffmpeg on OS X.
I downloaded fink and I am getting this answer.
can someone help?
I am on 10.5

>fink install ffmpeg
Information about 2519 packages read in 0 seconds.
Failed: no package found for specification 'ffmpeg'!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Have you installed the Apple Developer Tools from your Install DVD?
jmhabis2Author Commented:
no, I can do that this monday. any alternative than to compile the src?
Shaun McNicholasSenior Marketing TechnologistCommented:
Install Developer Tools from the installer disk - then go to and install Mac Ports - then from the command line type
port install ffmpeg

MacPorts should automatically alert you to any missing dependencies and in most cases will install them for you.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

jmhabis2Author Commented:
with the macports I encoutered a bottle neck:

--->  Computing dependencies for ffmpeg
--->  Extracting x264
On Mac OS X 10.5, x264 20090810 requires Xcode 3.1 or later but you have Xcode 3.0.
Error: Target org.macports.extract returned: incompatible Xcode version
Error: The following dependencies failed to build: x264
Error: Status 1 encountered during processing.

new xcode is almost 1Gb of download :S

jmhabis2Author Commented:
with the

I encountered the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb32tobgr24_MMX from libswscale/rgb2rgb.o not allowed in slidable image
collect2: ld returned 1 exit status
make: *** [libswscale/libswscale.0.dylib] Error 1
jmhabis2Author Commented:
>port install ffmpeg

I get the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb24tobgr24_MMX from libswscale/rgb2rgb.o not allowed in slidable image
collect2: ld returned 1 exit status
gmake: *** [libswscale/libswscale.1.dylib] Error 1

Error: Status 1 encountered during processing.
Shaun McNicholasSenior Marketing TechnologistCommented:
Did you install the newest XCode from Apple - MacPorts is dependent on the most recent version of the XCode compiler so it probably will continue to error until you can download and update your XCode installation.
jmhabis2Author Commented:
yeah I did.
Shaun McNicholasSenior Marketing TechnologistCommented:
From what I can tell - I am by no means an expert of macports - I am a developer but not by any means would I consider myself an expert - and I have never seen this kind of an error before - So you may have to search through the macports stuff to find something useful.

This page on Macports references the same error:

It appears that you can just issue this command
port clean ffmpeg; port -d install ffmpeg +avfilter

Then repeat the port install ffmpeg

I can't replicate the error you are getting so I can't test it myself - but that's my theory!
Good Luck!
Let me know if that works.
jmhabis2Author Commented:
thanks .. but it did not work
same error
Shaun McNicholasSenior Marketing TechnologistCommented:
Well I am not sure how to help then - I have had perfect success with the macports stuff but I am using OS X 10.6.3 - I've installed it on three different machines and even did the port install ffmpeg myself before telling you to do so - sorry but it looks like you might have to wait for the macports team to address your specific issue unless you upgrade your OS to Snow Leopard.

This thread at MacPorts is specifically addressing the same issue you are having -
But it looks as though it hasn't been resolved yet.

Anyway you can upgrade your OS?

first, dont use macports! it creates under the hood directories and stores stuff in God_knows_where places on your drive. So, when its time to delete stuff, it becomes a pain. Just install by downloading the code, configuring the setup as per your reqs and installing it. The process is simple. For instance, if you have downloaded your ffmpeg code in /Users/username/Desktop/, then open terminal and proceed as follows:

cd /Users/username/Desktop/ffmpeg
./configure       //note you might need arguments to enable/disable specific ffmpeg functionalities
sudo make install

Also, note that ffmpeg is dependent on other encoders such as lame and faac and you will need those as prereqs (in the same directory as ffmpeg) before you begin configuring ffmpeg.

second, if you dont need a command line converter, may i suggest you use ffmpegx, it installs everything by default and is simply a gui to ffmpeg

hope this helps, and if you can, post a copy of your config report after you have run configure in ffmpeg

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.