installing ffmpeg on OS X

jmhabis2
jmhabis2 used Ask the Experts™
on
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'!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Have you installed the Apple Developer Tools from your Install DVD?

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

Author

Commented:
no, I can do that this monday. any alternative than to compile the src?
Shaun McNicholasSenior Marketing Technologist

Commented:
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.
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Author

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


Author

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

Author

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.
Shaun McNicholasSenior Marketing Technologist

Commented:
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.

Author

Commented:
yeah I did.
Shaun McNicholasSenior Marketing Technologist

Commented:
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.

Author

Commented:
thanks .. but it did not work
same error
Shaun McNicholasSenior Marketing Technologist

Commented:
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?
Commented:
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial