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'!
jmhabis2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

strungCommented:
Have you installed the Apple Developer Tools from your Install DVD?

http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
0
jmhabis2Author Commented:
no, I can do that this monday. any alternative than to compile the src?
0
Shaun McNicholasSenior Marketing TechnologistCommented:
Install Developer Tools from the installer disk - then go to http://www.macports.org/ 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.
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

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


0
jmhabis2Author Commented:
with the http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html

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
0
jmhabis2Author Commented:
with:
>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.
0
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.
0
jmhabis2Author Commented:
yeah I did.
0
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: https://trac.macports.org/ticket/24555

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.
0
jmhabis2Author Commented:
thanks .. but it did not work
same error
0
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 - https://trac.macports.org/ticket/24555
But it looks as though it hasn't been resolved yet.

Anyway you can upgrade your OS?
0
gcplCommented:
hey,

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
make
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
0

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.