FFmpeg library not found

This section is now closed.

Audacity 1.3.x is now obsolete. Please use the current Audacity 2.0.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.

Re: FFmpeg library not found

Permanent link to this post Posted by amyhughes » Fri Oct 08, 2010 11:25 am

/usr/local/lib/audacity/libavformat.52.dylib exists, and the perms have been set like this:

sudo chmod -R 755 /usr/local/lib/audacity

preferences > libraries says: FFmpeg library not found

hit the locate... button

/usr/local/lib/audacity/libavformat.52.dylib

This is the correct path. copy-n-paste it into terminal like this:

$ ls -l /usr/local/lib/audacity/libavformat.52.dylib
-rwxr-xr-x 1 root wheel 846088 Oct 8 07:01 /usr/local/lib/audacity/libavformat.52.dylib

hit the browse... button, lib directory apparently found because that's what's listed
select the libavformat.52.dylib file, hit "open"

hit "ok" button

preferences > libraries still saying "FFmpeg library not found"

Mac OS X 10.6.4 (10F569)
Last edited by amyhughes on Fri Oct 08, 2010 11:27 am, edited 1 time in total.
amyhughes
 
Posts: 2
Joined: Fri Oct 08, 2010 11:16 am

Re: FFmpeg library not found

Permanent link to this post Posted by amyhughes » Fri Oct 08, 2010 3:12 pm

Oops. Found this thread via google and just noticed this is the beta forum, but my problem is not with the beta version.
amyhughes
 
Posts: 2
Joined: Fri Oct 08, 2010 11:16 am

Re: FFmpeg library not found

Permanent link to this post Posted by steve » Fri Oct 08, 2010 3:41 pm

amyhughes wrote:but my problem is not with the beta version.

Try upgrading to the beta version. The 1.2.6 version is no longer developed or supported.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 34063
Joined: Sat Dec 01, 2007 11:43 am

Re: FFmpeg library not found

Permanent link to this post Posted by Gale Andrews » Fri Oct 08, 2010 9:16 pm

stevethefiddle wrote:
amyhughes wrote:but my problem is not with the beta version.

Try upgrading to the beta version. The 1.2.6 version is no longer developed or supported.


You are already using the Beta version - 1.2 does not have FFmpeg support or Libraries preferences.

Have you repaired permissions? Have you checked in Finder if /usr/local/lib/audacity is locked?

Have you set environment variables for dynamic library search which are picking up another copy of the FFmpeg library? Either set the DYLD_LIBRARY_PATH environment variable to pick up the FFmpeg library you downloaded, or remove the variable. You can adjust standard environment variables in your .profile or shell environment, or via a property list in ~/.MacOSX/environment.plist .

If the problem persists, start Audacity afresh, try to locate FFmpeg in Audacity Preferences, open Help > Show Log, and paste the contents here.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 13507
Joined: Fri Jul 27, 2007 12:02 am

Re: FFmpeg library not found

Permanent link to this post Posted by Gale Andrews » Sun Feb 27, 2011 6:43 am

Leland has been working on this and 1.3.13 Beta when released in the near future should have fewer problems detecting the Audacity version of FFmpeg.

The main problem was that OS X searches DYLD_LIBRARY_PATH first, which would very likely have been populated with system versions of FFmpeg. This would block the Audacity FFmpeg from being loaded. The new method should temporarily clear out DYLD_LIBRARY_PATH and allow Audacity to load its library from whatever absolute path the user specifies without searching DYLD_LIBRARY_PATH first.

The changes will probably help issues on Windows too where competing FFmpeg libraries block ours, but this is not quite so certain. There are other tweaks that can be made on that platform to force the absolute path if needed.

This will not help pure permissions problems on Mac which will still arise if OS X isn't providing read access to /usr/local/lib where the libraries are installed by default. If permissions problems continue to be an issue, we may install the libraries by default in their own folder in the "Applications" folder instead. Anyone with permissions problems can likewise try installing the FFmpeg libraries to their own user space (where they will have full permissions) instead of /usr/local/lib.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 13507
Joined: Fri Jul 27, 2007 12:02 am

Previous

Return to Mac OS X



Who is online

Users browsing this forum: No registered users and 2 guests