Link to home
Start Free TrialLog in
Avatar of jmhabis2
jmhabis2Flag for Lebanon

asked on

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'!
Avatar of strung
strung
Flag of Canada image

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

http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
Avatar of jmhabis2

ASKER

no, I can do that this monday. any alternative than to compile the src?
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.
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


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
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.
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.
yeah I did.
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.
thanks .. but it did not work
same error
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?
ASKER CERTIFIED SOLUTION
Avatar of gcpl
gcpl

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial