Page 1 of 1

cannot import wma files

Posted: Wed Jun 02, 2010 11:08 pm
by BillinCalifornia
I am unable to import wma files into Audacity 1.3.12-beta. I have installed the ffmpeg files but apparently they don't "take" in Audacity as the Edit - Preferences - Libraries sheet shows ffmpeg library not found. :(

I am using Windows XP SP3. I am pasting the contents of my log file below. Why am I getting all these "the specified procedure could not be found" error messages? Any suggestions are appreciated.

15:45:00: Trying to load FFmpeg libraries
15:45:00: mLibAVFormatPath is not empty, = C:Program FilesFFmpeg for Audacityavformat-52.dll. Loading from it.
15:45:00: Looking up PATH...
15:45:00: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:00: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
15:45:00: in PATH.
15:45:00: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:01: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:01: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
15:45:01: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
15:45:02: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 127: the specified procedure could not be found.)
15:45:02: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:02: Failed to load FFmpeg libs
15:45:02: Trying to load from default path C:Program FilesFFmpeg for Audacityavformat-52.dll.
15:45:02: Looking up PATH...
15:45:02: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:02: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
15:45:02: in PATH.
15:45:02: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:02: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:02: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
15:45:02: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
15:45:02: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 127: the specified procedure could not be found.)
15:45:02: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:02: Failed to load FFmpeg libs
15:45:02: Trying to load from system paths. File name is avformat-52.dll
15:45:02: Looking up PATH...
15:45:02: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:02: Checking that is in PATH...
15:45:02: in PATH.
15:45:02: Loading avformat from avformat-52.dll
15:45:03: Loading avutil from avutil-50.dll
15:45:03: Loading avcodec from avcodec-52.dll
15:45:03: Importing symbols...
15:45:03: Error: Couldn't find symbol 'av_init_packet' in a dynamic library (error 127: the specified procedure could not be found.)
15:45:03: Failed to load symbol av_init_packet
15:45:03: Looking for FFmpeg libraries...
15:45:03: mLibAVFormatPath is not empty, = C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:10: User-specified path = C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:10: User-specified file exists. Success.
15:45:10: Trying to load FFmpeg libraries
15:45:10: mLibAVFormatPath is not empty, = C:Program FilesFFmpeg for Audacityavformat-52.dll. Loading from it.
15:45:10: Looking up PATH...
15:45:10: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:10: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
15:45:10: in PATH.
15:45:10: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
15:45:10: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Failed to load FFmpeg libs
15:45:10: Trying to load from default path C:Program FilesFFmpeg for Audacityavformat-52.dll.
15:45:10: Looking up PATH...
15:45:10: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:10: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
15:45:10: in PATH.
15:45:10: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
15:45:10: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 127: the specified procedure could not be found.)
15:45:10: Failed to load FFmpeg libs
15:45:10: Trying to load from system paths. File name is avformat-52.dll
15:45:10: Looking up PATH...
15:45:10: PATH = C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesCommon FilesAdobeAGL;C:WINDOWSMicrosoft.NETFrameworkv2.0.50727;C:WINDOWSsystem32WindowsPowerShellv1.0;C:Program FilesGnuWin32bin;C:PROGRA~1COMMON~1OdbcFILEMA~1;C:Program FilesQuickTimeQTSystem;C:Program FilesFFmpeg for Audacity
15:45:10: Checking that is in PATH...
15:45:10: in PATH.
15:45:10: Loading avformat from avformat-52.dll
15:45:10: Loading avutil from avutil-50.dll
15:45:10: Loading avcodec from avcodec-52.dll
15:45:10: Importing symbols...
15:45:10: Error: Couldn't find symbol 'av_init_packet' in a dynamic library (error 127: the specified procedure could not be found.)
15:45:10: Failed to load symbol av_init_packet

Re: cannot import wma files

Posted: Thu Jun 03, 2010 12:44 am
by Gale Andrews
Make sure you have FFmpeg from http://manual.audacityteam.org/index.ph ... Ins#ffdown and installed correctly into C:Program FilesFFmpeg for Audacity.

Remove C:Program FilesFFmpeg for Audacity from PATH and reboot. That isn't needed.

You may have conflicting versions of FFmpeg. If so, remove them so the libraries in C:Program FilesFFmpeg for Audacity can work. If necessary you can search your computer for "av*.dll" (without quotes). That command finds any dll files whose name starts with "av". The FFmpeg files will be called avcodec*, avdevice*, avformat* or avutil*.

If that does not help, the next step is for you to download Dependency Walker from
http://www.dependencywalker.com/ (x86 version)

Open avformat-52.dll in the FFmpeg for Audacity folder with Dependency Walker then simply "File > Save as", save avformat-52.dwi" and send it to me (gale AT audacityteam DOT ORG) - formatted as a normal e-mail address.

Also it would help to know what exact error messages appear in the Preferences and Locate FFmpeg dialogue when FFmpeg fails to load.


Thanks


Gale

Re: cannot import wma files

Posted: Thu Jun 03, 2010 2:03 am
by BillinCalifornia
Thanks for your quick reply, Gale.

I found all those av*.dll files in the c:program filesAudacity 1.3 (beta) folder as well as the c:program filesFFmpeg for Audacity folder. The versions were older in the Audacity folder - 1/8/2009 vs. 7/20/2009. Should I dump the old ones? There's also a 1/8/2009 version of ffmpeg.exe in the Audacity 1.3 (beta) folder.

I also found the av*.dll files in my TVersity folder. I have now removed that program from my computer.

I will also remove the c:program filesffmpeg folder from my path command.

Bill

Re: cannot import wma files

Posted: Thu Jun 03, 2010 2:25 am
by Gale Andrews
BillinCalifornia wrote:I found all those av*.dll files in the c:program filesAudacity 1.3 (beta) folder as well as the c:program filesFFmpeg for Audacity folder. The versions were older in the Audacity folder - 1/8/2009 vs. 7/20/2009. Should I dump the old ones? There's also a 1/8/2009 version of ffmpeg.exe in the Audacity 1.3 (beta) folder.
I don't think the current 1.3.12 Beta will even recognise the 1/8/2009 libraries. So, C:Program FilesFFmpeg for Audacity should have the 7/20/2009 files only. To be safe you should clear out all files relating to ffmpeg (*av, *lib, *swscale, *zlib and FFmpeg.exe) from the Audacity 1.3 (beta) folder.



Gale

Re: cannot import wma files

Posted: Thu Jun 03, 2010 4:08 pm
by BillinCalifornia
Thanks for your help.

I uninstalled Audacity, then deleted the remaining files in the Audacity folder and the folder itself.

I reinstalled Audacity and the program found the ffmpeg libraries. Of course, after that the WMA file imported quickly. :mrgreen:

Bill