FFmpeg library not found [SOLVED]

I want to use Audacity to import and edit wma files from an Olympus voice recorder and export as mp3. I have downloaded Audacity 2.0 dmg on my Apple OSX 10.6.8 and placed it in Applications. The problem is that the FFmpeg library for importing wma files always comes up with the message that it “cannot be found” even though it is on the desktop at: /Users/macbookpro.Desktop/FFmpeg_v0.6.2_Audacity_on_OSX/ffmpeg and clicking “location” confirms this.

The lame MP3 encoder is at: /user/local/lib/audacity/libmpelame.dylib and is detected as located here.

Any help will be much appreciated!

I’m a Windows user so treat what I say with appropriate caution. I have my LAME and FFMPEG libraries stored in the same place rather than in different places. Have you tried putting your FFMPEG libraries in the same place as the LAME libraries?

“FFmpeg_v0.6.2_Audacity_on_OSX/ffmpeg” is not what Audacity is looking for. It is looking for “libavformat.52.dylib”.

I take you downloaded the zip version of the FFmpeg libraries and extracted it to your desktop.

In Audacity > Preferences, Libraries tab, does the FFmpeg section say “FFmpeg Library Version: F(52.64.2),C(52.72.2,U(50.15.1)” ?

Immediately after opening Audacity, click on Help > Show Log. Copy the contents and paste it into a message here.

– Bill

Thanks Bill for your reply, here is the log:

10:32:18: Audacity 2.0.0

10:32:18: Trying to load FFmpeg libraries...

10:32:18: mLibAVFormatPath ('/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib') is not empty. Loading from it.

10:32:18: Checking for monolithic avformat from '/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib'.

10:32:19: avformat not monolithic

10:32:19: Loading avutil from '/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavutil.50.dylib'.

10:32:19: Loading avcodec from '/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib'.

10:32:19: Loading avformat from '/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib'.

10:32:19: Actual avutil path /Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavutil.50.dylib

10:32:19: Actual avcodec path /Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib

10:32:19: Error: dlsym(0x14f15f0, avformat_version): symbol not found

10:32:19: Actual avformat path 

10:32:19: Importing symbols...

10:32:19: Error: Failed to load symbol av_register_all

10:32:19: Trying to load FFmpeg libraries from default path, '/usr/local/lib/audacity/libavformat.52.dylib'.

10:32:19: Checking for monolithic avformat from '/usr/local/lib/audacity/libavformat.52.dylib'.

10:32:19: Error: dlopen(/usr/local/lib/audacity/libavformat.52.dylib, 1): image not found

10:32:19: Loading avutil from '/usr/local/lib/audacity/libavutil.50.dylib'.

10:32:19: Error: dlopen(/usr/local/lib/audacity/libavutil.50.dylib, 1): image not found

10:32:19: Loading avcodec from '/usr/local/lib/audacity/libavcodec.52.dylib'.

10:32:19: Error: dlopen(/usr/local/lib/audacity/libavcodec.52.dylib, 1): image not found

10:32:19: Loading avformat from '/usr/local/lib/audacity/libavformat.52.dylib'.

10:32:19: Error: dlopen(/usr/local/lib/audacity/libavformat.52.dylib, 1): image not found

10:32:19: Error: Failed to load FFmpeg libraries.

10:32:19: Trying to load FFmpeg libraries from system paths. File name is 'libavformat.52.dylib'.

10:32:19: Checking for monolithic avformat from 'libavformat.52.dylib'.

10:32:19: Error: dlopen(libavformat.52.dylib, 1): image not found

10:32:19: Loading avutil from 'libavutil.50.dylib'.

10:32:19: Error: dlopen(libavutil.50.dylib, 1): image not found

10:32:19: Loading avcodec from 'libavcodec.52.dylib'.

10:32:19: Error: dlopen(libavcodec.52.dylib, 1): image not found

10:32:19: Loading avformat from 'libavformat.52.dylib'.

10:32:19: Error: dlopen(libavformat.52.dylib, 1): image not found

10:32:19: Error: Failed to load FFmpeg libraries.

10:32:19: Error: Failed to find compatible FFmpeg libraries.

Regards Islansman

[snip]
10:32:19: Loading avutil from ‘/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavutil.50.dylib’.
10:32:19: Loading avcodec from ‘/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib’.
10:32:19: Loading avformat from ‘/Users/macbookpro/Desktop/FFmpeg_v0.6.2_for_Audacity_on_OSX/libavcodec.52.dylib’.

This is where the error occurs. It should load avformat from libavformat.52.dylib, not from libavcodec.52.dylib
[snip]

  1. Make sure that libavformat.52.dylib and libavformat.dylib (an alias to libavformat.52.dylib) exist in the FFmpeg folder.
  2. When you “Locate” the FFmpeg libraries, make sure you click on “libavformat.52.dylib” in the File Open dialog box, not any of the other .dylib files.

– Bill

Many thanks Bill, it works fine now and the Preferences, Libraries tab says what you quoted in your last email.
Regards,
Islandman