Preferences: Libraries buttons grayed out

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
P05TMAN
Posts: 12
Joined: Wed Mar 19, 2014 3:14 pm
Operating System: Please select

Preferences: Libraries buttons grayed out

Post by P05TMAN » Wed Mar 19, 2014 3:23 pm

I'm running the latest Debian Jessie 64bit and installed Audacity. I noticed when I place a m4v audio, it will not decode it. After doing some searching, I found that I should point audacity to LAME and FFMPEG libraries, but when I go to Edit > Preferences > Libraries, all options ("Locate.." and "Download") for the MP3 export library and FFmpeg import/export library are grayed out. Can anyone help me with this? I have the latest version (3.99.5) of LAME and FFmpeg installed...I'm at a loss.

P05TMAN
Posts: 12
Joined: Wed Mar 19, 2014 3:14 pm
Operating System: Please select

Re: Preferences: Libraries buttons grayed out

Post by P05TMAN » Wed Mar 19, 2014 3:32 pm

PS~ forgot to add that I installed my distribution's version of Audacity which is 2.0.5

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

Re: Preferences: Libraries buttons grayed out

Post by Gale Andrews » Wed Mar 19, 2014 4:03 pm

P05TMAN wrote:I'm running the latest Debian Jessie 64bit and installed Audacity. I noticed when I place a m4v audio, it will not decode it. After doing some searching, I found that I should point audacity to LAME and FFMPEG libraries, but when I go to Edit > Preferences > Libraries, all options ("Locate.." and "Download") for the MP3 export library and FFmpeg import/export library are grayed out. Can anyone help me with this? I have the latest version (3.99.5) of LAME and FFmpeg installed...I'm at a loss.
LAME is only for MP3 export.

As it says in the Manual: http://manual.audacityteam.org/o/man/fa ... html#linff
Some Linux distributions (for example, Ubuntu) now package Audacity with MP3 encoding and FFmpeg support already linked dynamically to the relevant system libraries. In these packaged builds there is no need to locate LAME or FFmpeg, so Audacity will have no "Libraries" Preferences.
That should apply to Debian packaged builds too as far as I know, that is, there won't be any LIbraries Preferences.

However as far as I know Debian "Jessie" is unstable / testing. It is recommended to install stable releases of Debian.

Are there any F, C, U numbers given in the Libraries Preferences opposite "FFmpeg Library Version"? If yes, what is the exact error when you import the video? Are you sure that video actually has audio? The extension suggests that it might not.

If there are no F, C, U (or LAME) version numbers this may suggest that libmp3lame (what Audacity is looking for) is not actually installed and that FFmpeg support was not enabled in the Audacity build you have.

If you cannot find libmp3lame in the repositories you may need to need to add an appropriate entry to your sources.list. It may be called "debian main non-free", "debian-multimedia" or similar.



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

P05TMAN
Posts: 12
Joined: Wed Mar 19, 2014 3:14 pm
Operating System: Please select

Re: Preferences: Libraries buttons grayed out

Post by P05TMAN » Wed Mar 19, 2014 4:42 pm

Thank you so much for your reply!

Ok, so I can import mp3, just not .m4a. There are no F, C or U numbers when looking at the library from Audacity. In case I'm wrong, I've attached a screen shot. Also, I've attached the screen shot of the error I receive when trying to import the m4a file. It's a recording done (presumably on a Mac) so it's not a video, so not sure why it has the m4a extension, but that seems trivial.

Audacity error and Preferences:
AudacityError.png
AudacityError.png (16.37 KiB) Viewed 3922 times
Attachments
AudacityLib.png
AudacityLib.png (61.89 KiB) Viewed 3922 times

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

Re: Preferences: Libraries buttons grayed out

Post by Gale Andrews » Wed Mar 19, 2014 5:01 pm

You gave "M4V" for the file extension, hence I thought it might be a video file without audio. The M4A extension is correct for a file containing AAC audio.

Thanks for the screenshot which makes clear that the Audacity build does not have FFmpeg support compiled in (but can export MP3 files). This is the penalty of using unstable releases of distros. If you must use "Jessie" then you will need to compile Audacity yourself with FFmpeg support enabled. However, FFmpeg is enabled by default in our code, so building Audacity with default configuration will enable FFmpeg.

Steps for compiling the latest 2.0.6-alpha Audacity source code are here: http://wiki.audacityteam.org/wiki/Compi ... ers#simple . It is best to uninstall the packaged version of Audacity before compiling and installing Audacity from the source code.


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

P05TMAN
Posts: 12
Joined: Wed Mar 19, 2014 3:14 pm
Operating System: Please select

Re: Preferences: Libraries buttons grayed out

Post by P05TMAN » Wed Mar 19, 2014 5:14 pm

Excellent! I'll try to compile as I must use Jessie for some work-related packages that are not up-to-date/available in Wheezy for work. I'll post the outcome before marking this as solved

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

Re: Preferences: Libraries buttons grayed out

Post by Gale Andrews » Wed Mar 19, 2014 5:51 pm

I should add that Audacity won't compile against higher than FFmpeg 0.8.

If you already have a later FFmpeg version than that, it may be simpler just to use FFmpeg at the command-line to convert the M4A file to WAV for usage in Audacity.

Code: Select all

ffmpeg -i filename.m4a filename.wav
will produce a 44100 Hz 16-bit WAV file with the same number of channels as the M4A.


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

P05TMAN
Posts: 12
Joined: Wed Mar 19, 2014 3:14 pm
Operating System: Please select

Re: Preferences: Libraries buttons grayed out

Post by P05TMAN » Wed Mar 19, 2014 7:22 pm

I've tried to compile Audacity now, but get the following error:

Code: Select all

libtool: link: cannot determine absolute directory name of `@[email protected]'
make[1]: *** [audacity] Error 1
make[1]: Leaving directory `/home/npost/AdditionalApps/audacity-read-only/src'
make: *** [install-recursive] Error 1
Does this mean I need to create a libdir or am missing dependencies?

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Preferences: Libraries buttons grayed out

Post by steve » Wed Mar 19, 2014 7:27 pm

I'm trying it now. Back soon.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Preferences: Libraries buttons grayed out

Post by steve » Wed Mar 19, 2014 9:40 pm

I'm getting the same error on Jessie and I don't know what is causing it.
I'll post again if I find out anything. Please do likewise ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply