Page 1 of 2

Cant Locate FFmpeg?

Posted: Fri Aug 20, 2010 8:08 pm
by therock003
I have used both the portable version fom portableapps.com 3.1.12 and the latest 3.1.13 alpha from audacity homepage and i got to preferences->libraries and locate the avformat-52.dllfrom the zip package on this link http://manual.audacityteam.org/index.ph ... tallffmpeg but i still get the message FFmpeg "library not found".

What's up with that?

Re: Cant Locate FFmpeg?

Posted: Fri Aug 20, 2010 10:08 pm
by Gale Andrews
therock003 wrote:I have used both the portable version fom portableapps.com 3.1.12 and the latest 3.1.13 alpha from audacity homepage and i got to preferences->libraries and locate the avformat-52.dllfrom the zip package on this link http://manual.audacityteam.org/index.ph ... tallffmpeg but i still get the message FFmpeg "library not found".
Please note, the Beta/Alpha versioning is "1.3.x".

The zip should work - it is the same version of FFmpeg as the installer.

Please review the instructions here, just to be sure:
http://manual.audacityteam.org/index.ph ... tallffmpeg

As stated in the instructions (Installation), please make sure you use the "Browse" button in the "Locate FFmpeg" dialogue and explicitly select and open the unzipped "avformat-52.dll". The path shown in the text box in the dialogue could be incorrect if you have previously downloaded FFmpeg, so it's important you use the Browse button to select the correct file.

Also make sure you have not got other versions of FFmpeg elsewhere on the computer that may be causing a conflict.
To check this, search for av*.dll on your computer. Include hidden files and folders in the search. Delete any conflicting libraries you find.

If there is still a problem after following the above information, please click Help > Show Log... in Audacity, right-click and Select All, then copy and paste the debug data into your reply.

Please note that Audacity Portable is a completely separate project from Audacity and we do not automatically know what modifications they make to our code. Therefore in most cases, asking support from them, as you have done here:
http://portableapps.com/node/24684

is preferable.



Gale

Re: Cant Locate FFmpeg?

Posted: Sat Aug 21, 2010 4:34 pm
by therock003
Ok i searched for it, and it seems that Google Chrome and M4A to Mp3 converter by Hootech are the other applications with the avformat-52.dll.

So what now? Do i have to delete the file from their locations?

Re: Cant Locate FFmpeg?

Posted: Sat Aug 21, 2010 10:30 pm
by Gale Andrews
therock003 wrote:Ok i searched for it, and it seems that Google Chrome and M4A to Mp3 converter by Hootech are the other applications with the avformat-52.dll.

So what now? Do i have to delete the file from their locations?
Obviously if you don't want those applications to use FFmpeg you can delete their FFmpeg library files. Chrome doesn't ship with FFmpeg so I assume you have installed some Chrome extension that does. Audacity can convert M4A > MP3 once you get FFmpeg working.

These sort of conflicts usually occur because an application has put the other FFmpeg versions in the PATH environment variable. If you want to keep the other FFmpeg libraries, you would need to post the output of Help > Show Log so we can see what is in PATH.

You could also try setting the path to wherever you have put the Audacity avformat-52.dll in the audacity.cfg settings file. Exit Audacity then open the .cfg file in a text editor and add lines in this syntax:

Code: Select all

[FFmpeg]
Enabled=1
FFmpegLibPath=C:Program Files (x86)FFmpeg for Audacityavformat-52.dll

adjusting the path as necessary - retain the double backslashes ( ). I can't guarantee it will work if you keep the other FFmpeg versions but it might. The audacity.cfg file is inside the following folder:

- Windows 98/ME: WindowsApplication DataAudacity
- Windows 2000/XP: Documents and Settings<user name>Application DataAudacity
- Windows Vista and 7: Users<user name>AppDataRoamingAudacity


Gale

Re: Cant Locate FFmpeg?

Posted: Sun Aug 22, 2010 12:50 pm
by therock003
The following appears on Help->Audio Device

Code: Select all

==============================
Default capture device number: 1
Default playback device number: 3
==============================
Device ID: 0
Device name: MME: Microsoft Sound Mapper - Input
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
==============================
Device ID: 1
Device name: MME: Microphone (Realtek High Defini
Input channels: 2
Output channels: 0
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
==============================
Device ID: 2
Device name: MME: Microsoft Sound Mapper - Output
Input channels: 0
Output channels: 2
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 3
Device name: MME: Speakers (Realtek High Definiti
Input channels: 0
Output channels: 2
Low Input Latency: 0.200000
Low Output Latency: 0.200000
High Input Latency: 0.400000
High Output Latency: 0.400000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 4
Device name: Windows DirectSound: Βασικό πρόγραμμα οδήγησης ηχογράφησης
Input channels: 2
Output channels: 0
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 5
Device name: Windows DirectSound: Microphone (Realtek High Definition Audio)
Input channels: 2
Output channels: 0
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
==============================
Device ID: 6
Device name: Windows DirectSound: Βασικό πρόγραμμα οδήγησης ήχου
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Device ID: 7
Device name: Windows DirectSound: Speakers (Realtek High Definition Audio)
Input channels: 0
Output channels: 2
Low Input Latency: 0.000000
Low Output Latency: 0.000000
High Input Latency: 0.000000
High Output Latency: 0.000000
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Selected capture device: 1 - MME: Microphone (Realtek High Defini
Selected playback device: 3 - MME: Speakers (Realtek High Definiti
Supported Rates:
    8000
    9600
    11025
    12000
    15000
    16000
    22050
    24000
    32000
    44100
    48000
    88200
    96000
    192000
==============================
Available mixers:
==============================
Available capture sources:
0 - Master
==============================
Available playback volumes:
0 - PCM
==============================
Capture volume is native
Playback volume is native

Re: Cant Locate FFmpeg?

Posted: Sun Aug 22, 2010 10:09 pm
by Gale Andrews
Sorry, I meant Help > Show Log (the same output I asked for in my post before that).

Have you tried setting the path to FFmpeg in audacity.cfg using this syntax?

Code: Select all

[FFmpeg]
Enabled=1
FFmpegLibPath=C:Program Files (x86)FFmpeg for Audacityavformat-52.dll
It would be a quicker solution if it works.



Gale

Re: Cant Locate FFmpeg?

Posted: Mon Aug 23, 2010 9:42 am
by therock003
Yes, i tried editing the cfg but it didnt work. IT said that audacity was properly configure before, but now something went wrong, and i have to go to libraries and re-configure.

Here's the sow log info

BTW The standalone version gives me the same issue, that's why i continue asking for help here even though i am planing to use the protable version.

Code: Select all

12:37:30: Trying to load FFmpeg libraries
12:37:30: mLibAVFormatPath is not empty, = C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll. Loading from it.
12:37:30: Looking up PATH...
12:37:30: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:30: Checking that C:UsersMakisPortablesAudacityPortableAppFFMpeg is in PATH...
12:37:30: not in PATH!
12:37:30: Appending ;C:UsersMakisPortablesAudacityPortableAppFFMpeg ...
12:37:30: Loading avformat from C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
12:37:30: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Loading avutil from C:UsersMakisPortablesAudacityPortableAppFFMpegavutil-50.dll
12:37:30: Loading avcodec from C:UsersMakisPortablesAudacityPortableAppFFMpegavcodec-52.dll
12:37:30: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Returning PATH to normal...
12:37:30: Failed to load FFmpeg libs
12:37:30: Trying to load from default path C:Program FilesFFmpeg for Audacityavformat-52.dll.
12:37:30: Looking up PATH...
12:37:30: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:30: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
12:37:30: not in PATH!
12:37:30: Appending ;C:Program FilesFFmpeg for Audacity ...
12:37:30: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
12:37:30: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
12:37:30: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
12:37:30: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Returning PATH to normal...
12:37:30: Failed to load FFmpeg libs
12:37:30: Trying to load from system paths. File name is avformat-52.dll
12:37:30: Looking up PATH...
12:37:30: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:30: Checking that  is in PATH...
12:37:30: in PATH.
12:37:30: Loading avformat from avformat-52.dll
12:37:30: Error: Failed to load shared library 'avformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Loading avutil from avutil-50.dll
12:37:30: Error: Failed to load shared library 'avutil-50.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Loading avcodec from avcodec-52.dll
12:37:30: Error: Failed to load shared library 'avcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Error: Failed to load shared library 'avformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:30: Failed to load FFmpeg libs
12:37:30: Looking for FFmpeg libraries...
12:37:30: mLibAVFormatPath is not empty, = C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
12:37:33: User-specified path = C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
12:37:33: User-specified file exists. Success.
12:37:33: Trying to load FFmpeg libraries
12:37:33: mLibAVFormatPath is not empty, = C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll. Loading from it.
12:37:33: Looking up PATH...
12:37:33: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:33: Checking that C:UsersMakisPortablesAudacityPortableAppFFMpeg is in PATH...
12:37:33: not in PATH!
12:37:33: Appending ;C:UsersMakisPortablesAudacityPortableAppFFMpeg ...
12:37:33: Loading avformat from C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
12:37:33: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Loading avutil from C:UsersMakisPortablesAudacityPortableAppFFMpegavutil-50.dll
12:37:33: Loading avcodec from C:UsersMakisPortablesAudacityPortableAppFFMpegavcodec-52.dll
12:37:33: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Error: Failed to load shared library 'C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Returning PATH to normal...
12:37:33: Failed to load FFmpeg libs
12:37:33: Trying to load from default path C:Program FilesFFmpeg for Audacityavformat-52.dll.
12:37:33: Looking up PATH...
12:37:33: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:33: Checking that C:Program FilesFFmpeg for Audacity is in PATH...
12:37:33: not in PATH!
12:37:33: Appending ;C:Program FilesFFmpeg for Audacity ...
12:37:33: Loading avformat from C:Program FilesFFmpeg for Audacityavformat-52.dll
12:37:33: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Loading avutil from C:Program FilesFFmpeg for Audacityavutil-50.dll
12:37:33: Loading avcodec from C:Program FilesFFmpeg for Audacityavcodec-52.dll
12:37:33: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Error: Failed to load shared library 'C:Program FilesFFmpeg for Audacityavformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Returning PATH to normal...
12:37:33: Failed to load FFmpeg libs
12:37:33: Trying to load from system paths. File name is avformat-52.dll
12:37:33: Looking up PATH...
12:37:33: PATH = C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesAppleApple Application Support;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:Program FilesMKVtoolnix;C:Program FilesAutoCAD Raster Design 2010;C:Program FilesCommon FilesRoxio SharedDLLShared;C:Program FilesCommon FilesRoxio Shared9.0DLLShared;C:Program FilesQuickTimeQTSystem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program FilesCommon FilesAppleMobile Device Support;C:Program FilesIVT CorporationBlueSoleilMobile;C:Program FilesCommon FilesMicrosoft SharedWindows Live
12:37:33: Checking that  is in PATH...
12:37:33: in PATH.
12:37:33: Loading avformat from avformat-52.dll
12:37:33: Error: Failed to load shared library 'avformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Loading avutil from avutil-50.dll
12:37:33: Error: Failed to load shared library 'avutil-50.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Loading avcodec from avcodec-52.dll
12:37:33: Error: Failed to load shared library 'avcodec-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Error: Failed to load shared library 'avformat-52.dll' (error 126: Δεν ήταν δυνατό να εντοπιστεί η καθορισμένη μονάδα.)
12:37:33: Failed to load FFmpeg libs

Re: Cant Locate FFmpeg?

Posted: Tue Aug 24, 2010 12:27 am
by Gale Andrews
Thanks for the output. If you change the FFmpegLibPath in audacity.cfg I would expect a message that the configuration was changed, because Audacity cannot detect FFmpeg automatically. If your FFmpegLibPath in .cfg is correct, go to the Libraries preferences and click "Locate". If there is no conflict, you should then get a message that the libraries have been detected.

If that doesn't work, the output suggests you don't have the location of those other two FFmpeg libraries in your system PATH, is that correct? And you have the Audacity FFmpeg in "C:UsersMakisPortablesAudacityPortableAppFFMpeg", but not in "C:Program FilesFFmpeg for Audacity"? Have you got the Audacity FFmpeg libraries anywhere else, such as in the 1.3.13 installation folder? If so, remove them, so that the only Audacity FFmpeg is in "C:UsersMakisPortablesAudacityPortableAppFFMpeg", and try to locate FFmpeg in preferences again.

If it still doesn't work, please attach your .cfg file. The only other place to go if your cfg file matches with the place you have Audacity FFmpeg is to download Dependency Walker:
http://www.dependencywalker.com/

Drag audacity.exe from the 1.3.13 alpha installation folder into Dependency Walker, File > Save the .dwi file and e-mail it to me (gale_AT_audacityteam_DOT_org, replacing _AT_with "@" and _DOT_with "." as per normal e-mail address format).

Please try the other solutions above first.



Gale

Re: Cant Locate FFmpeg?

Posted: Tue Aug 24, 2010 10:30 am
by therock003
Tried everything but still couldnt make it work. So i emailed you the cfg and dwi files. Whenever you get a chance have a go at them, and if possible come back to me, with a possible solution.

Re: Cant Locate FFmpeg?

Posted: Tue Aug 24, 2010 10:29 pm
by Gale Andrews
The .cfg file should have the "Enabled" line at the top as in the syntax I gave, so:

Code: Select all

[FFmpeg]
Enabled=1
FFmpegLibPath=C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
not:

Code: Select all

 
[FFmpeg]
FFmpegLibPath=C:UsersMakisPortablesAudacityPortableAppFFMpegavformat-52.dll
Enabled=0
Please exit Audacity, edit the .cfg file as in the first code snippet in this message, launch Audacity and if you see the warning about FFmpeg being correctly configured before, go to Preferences and use the Locate button.

I don't see that it should matter on a case-insensitive file system such as Windows, but Audacity Portable say the directory should be "FFMPEG" not "FFmpeg".

The .dwi file for Audacity Portable shows a few expected errors but they are not ones that shed any light. If entering the .cfg file information correctly does not help, can you drag the avformat-52.dll from C:UsersMakisPortablesAudacityPortableAppFFMpeg into Dependency Walker, and send the .dwi file for that.


Thanks


Gale