Page 2 of 2

Re: FFmpeg library not found

Posted: Fri Oct 08, 2010 11:25 am
by amyhughes
/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)

Re: FFmpeg library not found

Posted: Fri Oct 08, 2010 3:12 pm
by amyhughes
Oops. Found this thread via google and just noticed this is the beta forum, but my problem is not with the beta version.

Re: FFmpeg library not found

Posted: Fri Oct 08, 2010 3:41 pm
by steve
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.

Re: FFmpeg library not found

Posted: Fri Oct 08, 2010 9:16 pm
by Gale Andrews
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

Re: FFmpeg library not found

Posted: Sun Feb 27, 2011 6:43 am
by Gale Andrews
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