• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1288
  • Last Modified:

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'!
0
jmhabis2
Asked:
jmhabis2
1 Solution
 
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
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

 
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now