Audacity can't find ffmpeg and lame files

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Audacity can't find ffmpeg and lame files

Post by bgravato » Thu May 05, 2011 12:23 am

rezha wrote:Omg i downloaded your installer, tried to do everything, edited by hand your .cfg, and still i get "not found" without any error or clue about what is wrong. Moved everything everywhere, changed permissions... it just does not work. You should really edit the wiki at least, it would save other people's hours until you make it working. Btw, ~/Library/Application Support is the right folder, i can't see why you should tamper with system directories to install a sound editor.
Well... it work out-of-the-box with me...

Maybe you can give us some more info about your system?

OS-X version, Audacity version, Lame and FFMpeg versions, where you download it from...
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity can't find ffmpeg and lame files

Post by Gale Andrews » Thu May 05, 2011 9:37 pm

@rezha. You can get the latest FFmpeg 0.6.2 as a zip and install it where you like. Not sure if you got 0.6.2 or not. The older FFmpeg 0.5 installer was called "FFmpeg_Libraries_for_Audacity_on_OSX.dmg". The newer FFmpeg is sometimes detected when the old one isn't - we don't know why. Use Audacity 1.3.13 and trash the old FFmpeg libraries if you install the new ones.

Or are you taking about LAME as well?

If FFmpeg 0.6.2 (or LAME) is not detected in 1.3.13 when you locate it in the Audacity Libraries preferences, click Help > Show Log and paste the log contents here. Also say which version of OS X.

@Bruno/Bill, does the new FFmpeg 0.6.2 installer offer /Library/Application Support/audacity/libs ? I have a feeling we didn't change it this time around because we haven't updated the LAME installer which still uses /usr/local/lib.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Audacity can't find ffmpeg and lame files

Post by bgravato » Fri May 06, 2011 12:35 am

Gale, I haven't "upgraded" ffmpeg libs yet... I'm still using 5.2, which is located in /usr/local/lib/

I think I haven't yet imported/exported anything in the Mac since I installed 1.3.13, but it still detects the ffmpeg libs successfully...

Shall I upgrade ffmpeg and lame?
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

billw58
Forum Staff
Posts: 5601
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Audacity can't find ffmpeg and lame files

Post by billw58 » Fri May 06, 2011 12:36 am

Gale Andrews wrote: @Bruno/Bill, does the new FFmpeg 0.6.2 installer offer /Library/Application Support/audacity/libs ? I have a feeling we didn't change it this time around because we haven't updated the LAME installer which still uses /usr/local/lib.
Gale:
This is a mess, and it is no wonder people can't find the FFmpeg libraries. I've sent you an email with log contents.

In summary, the current FFmpeg installer installs to the wrong location, and even if the user finds where it is installed, loading of the libraries fails unless they are installed to /usr/local/lib .

-- Bill

billw58
Forum Staff
Posts: 5601
Joined: Wed Aug 12, 2009 2:10 am
Operating System: macOS 10.15 Catalina or later

Re: Audacity can't find ffmpeg and lame files

Post by billw58 » Fri May 06, 2011 12:49 am

@Bruno
It would be interesting for you to try to install the latest FFmpeg libraries, then see if you can find and load them. I just tried it and it appears that the installer's default location is "/~/Library/Application Support/audacity". That is not a typo. On my machine at least it creates a new folder at the root level of the startup disk called "~" then creates folders inside that then installs the FFmpeg libraries in there. Even if you find them, they still fail to load.

If you try this be sure to delete the current FFmpeg libraries from /usr/local/lib - Audacity will fall back on those if loading from other locations fails, and you'll get a "false positive" in the Libraries Preferences that the libraries were successfully loaded. The only indication of the failure will be that the old version numbers will still be there.

I'm going to do more work on this in a while, installing from the zip to arbitrary locations on my computer.

-- Bill

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Audacity can't find ffmpeg and lame files

Post by bgravato » Fri May 06, 2011 12:58 am

billw58 wrote:I just tried it and it appears that the installer's default location is "/~/Library/Application Support/audacity". That is not a typo.
That sounds like a bug... There shouldn't be a leading slash in the path... If ~ was still expanded that wouldn't be a problem, but with the leading / then the ~ doesn't get expanded and is treated like a normal character... This is true for both Mac and Linux (and probably to any *nix).

I'll give it a shot and see what I get...
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Audacity can't find ffmpeg and lame files

Post by bgravato » Fri May 06, 2011 1:17 am

I downloaded the installer from audacity's download page and run it accepting all the defaults... Now I have a folder named '~' in my root... Sounds like a bug to me :) and one that should be fixed quickly...
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Audacity can't find ffmpeg and lame files

Post by Leland » Fri May 06, 2011 2:31 am

billw58 wrote:@Bruno
It would be interesting for you to try to install the latest FFmpeg libraries, then see if you can find and load them. I just tried it and it appears that the installer's default location is "/~/Library/Application Support/audacity". That is not a typo. On my machine at least it creates a new folder at the root level of the startup disk called "~" then creates folders inside that then installs the FFmpeg libraries in there. Even if you find them, they still fail to load.
CRAP!!!!! That is WAY wrong! I must have uploaded the wrong one. I'll re-upload it with /usr/local/lib since that's the directory that the current Audacity will look at. Hoping that the next version will look at the (correct) /Library/... directory.

Leland

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: Audacity can't find ffmpeg and lame files

Post by bgravato » Fri May 06, 2011 5:02 pm

Weird thing happened...

So yesterday I deleted that ~ folder. Not at any time in the process I deleted the old 0.5.2 ffmpeg version.

Today I started audacity and it failed to locate ffmpeg...

I went to audacity download page and I downloaded ffmpeg 0.6.2 for mac again. I compared the md5sum with yesterdays download and it was different so I assume Leland has uploaded the correct version of the file.

I mounted the dmg and run the installation package. Accepted all the default values.

I checked the root dir no more ~ dir in there.

I started audacity it detected ffmpeg... but the old 0.5.2 version...
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

Leland
Developer
Posts: 174
Joined: Thu Jul 26, 2007 8:55 pm
Operating System: Please select

Re: Audacity can't find ffmpeg and lame files

Post by Leland » Fri May 06, 2011 5:21 pm

bgravato wrote:I started audacity it detected ffmpeg... but the old 0.5.2 version...
Can you post the Help -> Show Log contents? Also, could you check the dates on the /usr/local/lib/audacity contents? They should be yesterday.

Thanks,

Leland

Locked