Cannot load ffmpeg libraries

I am running Audacity 2.0.5 on a Windows 7 PC. I am attempting to download the FFmpeg libraries, but Audacity says it can’t locate the library. I try to manually locate the path at C:ProgramFiles(x86)LameforAudacitylame_enc.dll. When I then tried to import a WMA file, I got the returned message “Audacity attempted to use FFmpeg to import an audio file, but the libraries were not found.” The Help Log is pasted below.

Thanks for any help you can provide.

10:39:34: Audacity 2.0.5
10:39:35 AM: Trying to load FFmpeg libraries...
10:39:35 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty. Loading from it.
10:39:35 AM: Looking up PATH environment variable...
10:39:35 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:35 AM: Checking that 'C:Program Files (x86)Lame For Audacity' is in PATH...
10:39:35 AM: Warning: FFmpeg directory is not in PATH.
10:39:35 AM: Temporarily appending ';C:Program Files (x86)Lame For Audacity' to PATH...
10:39:35 AM: Checking for monolithic avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:35 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:35 AM: avformat not monolithic
10:39:35 AM: Loading avutil from 'C:Program Files (x86)Lame For Audacityavutil-50.dll'.
10:39:35 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavutil-50.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Loading avcodec from 'C:Program Files (x86)Lame For Audacityavcodec-52.dll'.
10:39:35 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavcodec-52.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Loading avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:35 AM: Returning PATH to previous setting...
10:39:35 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:35 AM: Actual avutil path 
10:39:35 AM: Error: Couldn't find symbol 'avcodec_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:35 AM: Actual avcodec path 
10:39:35 AM: Error: Couldn't find symbol 'avformat_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:35 AM: Actual avformat path 
10:39:35 AM: Importing symbols...
10:39:35 AM: Error: Failed to load symbol av_register_all
10:39:35 AM: Trying to load FFmpeg libraries from system paths. File name is 'avformat-52.dll'.
10:39:35 AM: Looking up PATH environment variable...
10:39:35 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:35 AM: Checking that '' is in PATH...
10:39:35 AM: FFmpeg directory is in PATH.
10:39:35 AM: Checking for monolithic avformat from 'avformat-52.dll'.
10:39:35 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Loading avutil from 'avutil-50.dll'.
10:39:35 AM: Error: Failed to load shared library 'avutil-50.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Loading avcodec from 'avcodec-52.dll'.
10:39:35 AM: Error: Failed to load shared library 'avcodec-52.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Loading avformat from 'avformat-52.dll'.
10:39:35 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:35 AM: Error: Failed to load FFmpeg libraries.
10:39:35 AM: Error: Failed to find compatible FFmpeg libraries.
10:39:41 AM: Attempting to load LAME from system search paths
10:39:41 AM: Loading LAME from lame_enc.dll
10:39:41 AM: Error: Failed to load shared library 'lame_enc.dll' (error 126: the specified module could not be found.)
10:39:41 AM: load failed
10:39:41 AM: Attempting to load LAME from builtin path
10:39:41 AM: LAME registry key exists.
10:39:41 AM: Library path is: C:Program Files (x86)Lame For Audacity
10:39:41 AM: Loading LAME from C:Program Files (x86)Lame For Audacitylame_enc.dll
10:39:41 AM: Actual LAME path C:Program Files (x86)Lame For Audacitylame_enc.dll
10:39:41 AM: LAME library successfully loaded
10:39:43 AM: Trying to load FFmpeg libraries...
10:39:43 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty. Loading from it.
10:39:43 AM: Looking up PATH environment variable...
10:39:43 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:43 AM: Checking that 'C:Program Files (x86)Lame For Audacity' is in PATH...
10:39:43 AM: Warning: FFmpeg directory is not in PATH.
10:39:43 AM: Temporarily appending ';C:Program Files (x86)Lame For Audacity' to PATH...
10:39:43 AM: Checking for monolithic avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:43 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:43 AM: avformat not monolithic
10:39:43 AM: Loading avutil from 'C:Program Files (x86)Lame For Audacityavutil-50.dll'.
10:39:43 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavutil-50.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Loading avcodec from 'C:Program Files (x86)Lame For Audacityavcodec-52.dll'.
10:39:43 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavcodec-52.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Loading avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:43 AM: Returning PATH to previous setting...
10:39:43 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:43 AM: Actual avutil path 
10:39:43 AM: Error: Couldn't find symbol 'avcodec_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:43 AM: Actual avcodec path 
10:39:43 AM: Error: Couldn't find symbol 'avformat_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:43 AM: Actual avformat path 
10:39:43 AM: Importing symbols...
10:39:43 AM: Error: Failed to load symbol av_register_all
10:39:43 AM: Trying to load FFmpeg libraries from system paths. File name is 'avformat-52.dll'.
10:39:43 AM: Looking up PATH environment variable...
10:39:43 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:43 AM: Checking that '' is in PATH...
10:39:43 AM: FFmpeg directory is in PATH.
10:39:43 AM: Checking for monolithic avformat from 'avformat-52.dll'.
10:39:43 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Loading avutil from 'avutil-50.dll'.
10:39:43 AM: Error: Failed to load shared library 'avutil-50.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Loading avcodec from 'avcodec-52.dll'.
10:39:43 AM: Error: Failed to load shared library 'avcodec-52.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Loading avformat from 'avformat-52.dll'.
10:39:43 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:43 AM: Error: Failed to load FFmpeg libraries.
10:39:43 AM: Error: Failed to find compatible FFmpeg libraries.
10:39:43 AM: Looking for FFmpeg libraries...
10:39:43 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty.
10:39:45 AM: User-specified path = 'C:Program Files (x86)Lame For Audacitylame_enc.dll'
10:39:45 AM: User-specified FFmpeg file exists. Success.
10:39:45 AM: Trying to load FFmpeg libraries...
10:39:45 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty. Loading from it.
10:39:45 AM: Looking up PATH environment variable...
10:39:45 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:45 AM: Checking that 'C:Program Files (x86)Lame For Audacity' is in PATH...
10:39:45 AM: Warning: FFmpeg directory is not in PATH.
10:39:45 AM: Temporarily appending ';C:Program Files (x86)Lame For Audacity' to PATH...
10:39:45 AM: Checking for monolithic avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:45 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:45 AM: avformat not monolithic
10:39:45 AM: Loading avutil from 'C:Program Files (x86)Lame For Audacityavutil-50.dll'.
10:39:45 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavutil-50.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Loading avcodec from 'C:Program Files (x86)Lame For Audacityavcodec-52.dll'.
10:39:45 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavcodec-52.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Loading avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
10:39:45 AM: Returning PATH to previous setting...
10:39:45 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:45 AM: Actual avutil path 
10:39:45 AM: Error: Couldn't find symbol 'avcodec_version' in a dynamic library (error 0: the operation completed successfully.)
10:39:45 AM: Actual avcodec path 
10:39:45 AM: Error: Couldn't find symbol 'avformat_version' in a dynamic library (error 127: the specified procedure could not be found.)
10:39:45 AM: Actual avformat path 
10:39:45 AM: Importing symbols...
10:39:45 AM: Error: Failed to load symbol av_register_all
10:39:45 AM: Trying to load FFmpeg libraries from system paths. File name is 'avformat-52.dll'.
10:39:45 AM: Looking up PATH environment variable...
10:39:45 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
10:39:45 AM: Checking that '' is in PATH...
10:39:45 AM: FFmpeg directory is in PATH.
10:39:45 AM: Checking for monolithic avformat from 'avformat-52.dll'.
10:39:45 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Loading avutil from 'avutil-50.dll'.
10:39:45 AM: Error: Failed to load shared library 'avutil-50.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Loading avcodec from 'avcodec-52.dll'.
10:39:45 AM: Error: Failed to load shared library 'avcodec-52.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Loading avformat from 'avformat-52.dll'.
10:39:45 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
10:39:45 AM: Error: Failed to load FFmpeg libraries.
10:39:45 AM: Error: Failed to find compatible FFmpeg libraries.
10:40:00 AM: File name is V:AdlofLab6. Word LearningR03 word learning audioC14112_WRMT.WMA
10:40:00 AM: Mime type is *
10:40:00 AM: Opening with libav
10:40:05 AM: Opening with libsndfile
10:40:05 AM: Opening with liboggvorbis
10:40:05 AM: Opening with libflac
10:40:05 AM: Opening with lof
10:40:05 AM: Error: Importer::Import: Opening failed.
11:02:37 AM: Attempting to load LAME from system search paths
11:02:37 AM: Loading LAME from lame_enc.dll
11:02:37 AM: Error: Failed to load shared library 'lame_enc.dll' (error 126: the specified module could not be found.)
11:02:37 AM: load failed
11:02:37 AM: Attempting to load LAME from builtin path
11:02:37 AM: LAME registry key exists.
11:02:37 AM: Library path is: C:Program Files (x86)Lame For Audacity
11:02:37 AM: Loading LAME from C:Program Files (x86)Lame For Audacitylame_enc.dll
11:02:37 AM: Actual LAME path C:Program Files (x86)Lame For Audacitylame_enc.dll
11:02:37 AM: LAME library successfully loaded
11:02:38 AM: Trying to load FFmpeg libraries...
11:02:38 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty. Loading from it.
11:02:38 AM: Looking up PATH environment variable...
11:02:38 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
11:02:38 AM: Checking that 'C:Program Files (x86)Lame For Audacity' is in PATH...
11:02:38 AM: Warning: FFmpeg directory is not in PATH.
11:02:38 AM: Temporarily appending ';C:Program Files (x86)Lame For Audacity' to PATH...
11:02:38 AM: Checking for monolithic avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
11:02:38 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
11:02:38 AM: avformat not monolithic
11:02:38 AM: Loading avutil from 'C:Program Files (x86)Lame For Audacityavutil-50.dll'.
11:02:38 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavutil-50.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Loading avcodec from 'C:Program Files (x86)Lame For Audacityavcodec-52.dll'.
11:02:38 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavcodec-52.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Loading avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
11:02:38 AM: Returning PATH to previous setting...
11:02:38 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 0: the operation completed successfully.)
11:02:38 AM: Actual avutil path 
11:02:38 AM: Error: Couldn't find symbol 'avcodec_version' in a dynamic library (error 0: the operation completed successfully.)
11:02:38 AM: Actual avcodec path 
11:02:38 AM: Error: Couldn't find symbol 'avformat_version' in a dynamic library (error 127: the specified procedure could not be found.)
11:02:38 AM: Actual avformat path 
11:02:38 AM: Importing symbols...
11:02:38 AM: Error: Failed to load symbol av_register_all
11:02:38 AM: Trying to load FFmpeg libraries from system paths. File name is 'avformat-52.dll'.
11:02:38 AM: Looking up PATH environment variable...
11:02:38 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
11:02:38 AM: Checking that '' is in PATH...
11:02:38 AM: FFmpeg directory is in PATH.
11:02:38 AM: Checking for monolithic avformat from 'avformat-52.dll'.
11:02:38 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Loading avutil from 'avutil-50.dll'.
11:02:38 AM: Error: Failed to load shared library 'avutil-50.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Loading avcodec from 'avcodec-52.dll'.
11:02:38 AM: Error: Failed to load shared library 'avcodec-52.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Loading avformat from 'avformat-52.dll'.
11:02:38 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
11:02:38 AM: Error: Failed to load FFmpeg libraries.
11:02:38 AM: Error: Failed to find compatible FFmpeg libraries.
11:02:38 AM: Looking for FFmpeg libraries...
11:02:38 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty.
11:04:15 AM: User-specified path = 'C:Program Files (x86)Lame For Audacitylame_enc.dll'
11:04:15 AM: User-specified FFmpeg file exists. Success.
11:04:15 AM: Trying to load FFmpeg libraries...
11:04:15 AM: mLibAVFormatPath ('C:Program Files (x86)Lame For Audacitylame_enc.dll') is not empty. Loading from it.
11:04:15 AM: Looking up PATH environment variable...
11:04:15 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
11:04:15 AM: Checking that 'C:Program Files (x86)Lame For Audacity' is in PATH...
11:04:15 AM: Warning: FFmpeg directory is not in PATH.
11:04:15 AM: Temporarily appending ';C:Program Files (x86)Lame For Audacity' to PATH...
11:04:15 AM: Checking for monolithic avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
11:04:15 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 127: the specified procedure could not be found.)
11:04:15 AM: avformat not monolithic
11:04:15 AM: Loading avutil from 'C:Program Files (x86)Lame For Audacityavutil-50.dll'.
11:04:15 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavutil-50.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Loading avcodec from 'C:Program Files (x86)Lame For Audacityavcodec-52.dll'.
11:04:15 AM: Error: Failed to load shared library 'C:Program Files (x86)Lame For Audacityavcodec-52.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Loading avformat from 'C:Program Files (x86)Lame For Audacitylame_enc.dll'.
11:04:15 AM: Returning PATH to previous setting...
11:04:15 AM: Error: Couldn't find symbol 'avutil_version' in a dynamic library (error 0: the operation completed successfully.)
11:04:15 AM: Actual avutil path 
11:04:15 AM: Error: Couldn't find symbol 'avcodec_version' in a dynamic library (error 0: the operation completed successfully.)
11:04:15 AM: Actual avcodec path 
11:04:15 AM: Error: Couldn't find symbol 'avformat_version' in a dynamic library (error 127: the specified procedure could not be found.)
11:04:15 AM: Actual avformat path 
11:04:15 AM: Importing symbols...
11:04:15 AM: Error: Failed to load symbol av_register_all
11:04:15 AM: Trying to load FFmpeg libraries from system paths. File name is 'avformat-52.dll'.
11:04:15 AM: Looking up PATH environment variable...
11:04:15 AM: PATH = 'C:windowssystem32;C:windows;C:windowsSystem32Wbem;C:windowsSystem32WindowsPowerShellv1.0'
11:04:15 AM: Checking that '' is in PATH...
11:04:15 AM: FFmpeg directory is in PATH.
11:04:15 AM: Checking for monolithic avformat from 'avformat-52.dll'.
11:04:15 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Loading avutil from 'avutil-50.dll'.
11:04:15 AM: Error: Failed to load shared library 'avutil-50.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Loading avcodec from 'avcodec-52.dll'.
11:04:15 AM: Error: Failed to load shared library 'avcodec-52.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Loading avformat from 'avformat-52.dll'.
11:04:15 AM: Error: Failed to load shared library 'avformat-52.dll' (error 126: the specified module could not be found.)
11:04:15 AM: Error: Failed to load FFmpeg libraries.
11:04:15 AM: Error: Failed to find compatible FFmpeg libraries.
11:04:47 AM: File name is V:AdlofLab6. Word LearningR03 word learning audioC141001_CTOPP.WMA
11:04:47 AM: Mime type is *
11:04:47 AM: Opening with libav
11:07:59 AM: Opening with libsndfile
11:07:59 AM: Opening with liboggvorbis
11:07:59 AM: Opening with libflac
11:07:59 AM: Opening with lof
11:07:59 AM: Error: Importer::Import: Opening failed.

If I had to guess at it, I’d say Audacity doesn’t have permission to go down that pathway. We need to wait for the WIndows elves to appear.

Koz

The instructions are here: http://manual.audacityteam.org/o/man/faq_installation_and_plug_ins.html#ffdown .

You appear to have installed FFmpeg in C:Program Files (x86)Lame For Audacity or at the least, pointed Audacity to lame_enc.dll when you opened the Libraries Preferences and pressed “Locate…” for the FFmpeg library. Try opening the Libraries Preferences, press “Locate…” to the right of “FFmpeg Library”, then “Browse…” then select and open “avformat-52.dll”.

If that doesn’t work, uninstall FFmpeg then install it properly into C:Program Files (x86)Ffmpeg For Audacity and restart Audacity.


Gale