Hi everybody,
I know this is a FAQ but I have got some problems because it should work. I'm using CentOS 7 and I compiled from source code audacity-minsrc-2.1.1 after compiled the ffmpeg library version 2.3.6 (it should be a compatible version) using --enable-shared so i have the libavformat.so file. I have positioned a symbolic link in /usr/share/pkgconfig pointing to /usr/local/lib/pkgconfig for the pc files before install audacity as well. But Audacity still not import m4a files also if i go to preferences and manually set the path for libavformat.so.
What is the problem?
FFMPEG installed, Audacity cannot import m4a [SOLVED]
Forum rules
This forum is for Audacity on GNU/Linux.
Please state:
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.
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.
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: FFMPEG library installed but Audacity cannot import m4a
What "pc files" are those? There is no need for that step, as far as I know, unless it is something that CentOS requires you to do.JJ-Midday wrote:I know this is a FAQ but I have got some problems because it should work. I'm using CentOS 7 and I compiled from source code audacity-minsrc-2.1.1 after compiled the ffmpeg library version 2.3.6 (it should be a compatible version) using --enable-shared so i have the libavformat.so file. I have positioned a symbolic link in /usr/share/pkgconfig pointing to /usr/local/lib/pkgconfig for the pc files before install audacity as well.
Do you see the F,C,U numbers in Libraries Preferences? If yes, the problem is with the M4A files - look at Help > Show Log... .JJ-Midday wrote: But Audacity still not import m4a files also if i go to preferences and manually set the path for libavformat.so.
Have you tried configuring Audacity with --disable-dynamic-loading, which removes the Libraries Preferences?
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: FFMPEG library installed but Audacity cannot import m4a
PC files concern pkg-config. I prefer to leave default setting when config make ecc and so pkg-config often does not find installed libraries because it look for them in /usr/share/pkgconfig instead of /usr/local/lib/pkgconfig where often are installed. Making a symbolic link it works.
I cannot see F, C, U numbers.. i've got "FFMpeg library not found".. Here's the log (it's in italian but definitely there's written Error: impossible to open compatible FFMpeg libraries"
"14:15:55: Loading avformat from 'libavformat.so.55'.
14:15:55: Errore: libavformat.so.55: impossibile aprire il file oggetto condiviso: File o directory non esistente
14:15:55: Errore: Failed to load FFmpeg libraries.
14:15:55: Errore: Impossibile trovare librerie FFmpeg compatibili."
I'll try to configure it with --disable-dynamic-loading!
I cannot see F, C, U numbers.. i've got "FFMpeg library not found".. Here's the log (it's in italian but definitely there's written Error: impossible to open compatible FFMpeg libraries"
"14:15:55: Loading avformat from 'libavformat.so.55'.
14:15:55: Errore: libavformat.so.55: impossibile aprire il file oggetto condiviso: File o directory non esistente
14:15:55: Errore: Failed to load FFmpeg libraries.
14:15:55: Errore: Impossibile trovare librerie FFmpeg compatibili."
I'll try to configure it with --disable-dynamic-loading!
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: FFMPEG library installed but Audacity cannot import m4a
As a double-check,JJ-Midday wrote:PC files concern pkg-config. I prefer to leave default setting when config make ecc and so pkg-config often does not find installed libraries because it look for them in /usr/share/pkgconfig instead of /usr/local/lib/pkgconfig where often are installed. Making a symbolic link it works.
Code: Select all
pkg-config --libs libavcodecGale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: FFMPEG installed, Audacity cannot import m4a [SOLVED]
I'm sorry yesterday i thought i had answered.. Now It Works! Many many many thanks! I configured audacity with --disable-dynamic-loading and then it worked.. (I had to create symbolic link for library because they were in /usr/local/... instead of /usr/lib and audacity could not find them but it's normal..) Thanks!