FFmpeg library not found

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
delectate
Posts: 3
Joined: Sat Mar 27, 2010 8:03 am
Operating System: Please select

FFmpeg library not found

Post by delectate » Sat Mar 27, 2010 8:09 am

hi.

i am on arch and install audacity by

Code: Select all

yaourt -S audacity
version:Audacity ® 1.3.11-beta (Unicode)
but,now it can not load ffmpeg library(libavformat.so.52)

first,i install ffmpeg from AUR,and not work.so i download ffmpeg source and

Code: Select all

./configure --enable-shared
to compile it

still not work,i almost crazy...

how to fix it?

thanks for your reply

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

Re: FFmpeg library not found

Post by steve » Mon Mar 29, 2010 8:28 am

It's a bit of a pain for us Linux users - you need to use a VERY up to date version of FFMPEG.
Try using a subversion snapshot from here: http://ffmpeg.org/download.html

(I'm currently using 52.36)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

assem046
Posts: 6
Joined: Thu Apr 01, 2010 9:40 am
Operating System: Please select

Re: FFmpeg library not found

Post by assem046 » Thu Apr 01, 2010 9:46 am

I have the same problem on OpenSuse 11.2.
I'm building ffmpeg & audacity both svn but Audacity cannot find the ffmpeg library. And it is in /usr/lib64/

ls -l /usr/lib64/libavformat*
-rw-r--r-- 1 root root 12244422 apr 1 07:56 /usr/lib64/libavformat.a
lrwxrwxrwx 1 root root 22 apr 1 07:56 /usr/lib64/libavformat.so -> libavformat.so.52.60.0
lrwxrwxrwx 1 root root 22 apr 1 07:56 /usr/lib64/libavformat.so.52 -> libavformat.so.52.60.0
-rwxr-xr-x 1 root root 805736 apr 1 07:56 /usr/lib64/libavformat.so.52.60.0

So it seems to be available.

How can this be fixed?

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

Re: FFmpeg library not found

Post by steve » Thu Apr 01, 2010 1:04 pm

You're using the 64 bit version of opensuse?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

assem046
Posts: 6
Joined: Thu Apr 01, 2010 9:40 am
Operating System: Please select

Re: FFmpeg library not found

Post by assem046 » Thu Apr 01, 2010 8:31 pm

Yes, I'm using OpenSuse 11.2 x64.

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

Re: FFmpeg library not found

Post by Gale Andrews » Fri Apr 02, 2010 9:57 am

Please launch Audacity so that it tries to load the FFmpeg libraries, and post the output of Help > Show Log in this thread.

You do need a version of FFmpeg 0.5 or later, but the latest FFmpeg from git has an API change so that match_ext() has been replaced with av_match_ext(). If the log shows "undefined symbol: match_ext", that's the explanation. We've had at least one report of this. FFmpeg from Autumn 2009 will definitely work if your repository has such.

If that's not the reason, then maybe you are compiling Audacity to use a local copy of FFmpeg:
http://bugzilla.audacityteam.org/show_bug.cgi?id=118



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

assem046
Posts: 6
Joined: Thu Apr 01, 2010 9:40 am
Operating System: Please select

Re: FFmpeg library not found

Post by assem046 » Sat Apr 03, 2010 11:27 am

This is the Debug log output when I try to locate the ffmpeg library:

13:22:27: Trying to load FFmpeg libraries
13:22:27: mLibAVFormatPath is not empty, = /usr/lib64/libavformat.so.52. Loading from it.
13:22:27: Loading avformat from /usr/lib64/libavformat.so.52
13:22:27: Importing symbols...
13:22:27: Fout: /usr/lib64/libavformat.so.52: undefined symbol: match_ext
13:22:27: Failed to load symbol match_ext
13:22:27: Trying to load from system paths. File name is libavformat.so.52
13:22:27: Loading avformat from libavformat.so.52
13:22:27: Importing symbols...
13:22:27: Fout: /usr/lib64/libavformat.so.52: undefined symbol: match_ext
13:22:27: Failed to load symbol match_ext
13:22:27: Looking for FFmpeg libraries...
13:22:27: mLibAVFormatPath is not empty, = /usr/lib64/libavformat.so.52
13:22:28: User-specified path = /usr/lib64/libavformat.so.52
13:22:28: User-specified file exists. Success.
13:22:28: Trying to load FFmpeg libraries
13:22:28: mLibAVFormatPath is not empty, = /usr/lib64/libavformat.so.52. Loading from it.
13:22:28: Loading avformat from /usr/lib64/libavformat.so.52
13:22:28: Importing symbols...
13:22:28: Fout: /usr/lib64/libavformat.so.52: undefined symbol: match_ext
13:22:28: Failed to load symbol match_ext
13:22:28: Trying to load from system paths. File name is libavformat.so.52
13:22:28: Loading avformat from libavformat.so.52
13:22:28: Importing symbols...
13:22:28: Fout: /usr/lib64/libavformat.so.52: undefined symbol: match_ext
13:22:28: Failed to load symbol match_ext

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

Re: FFmpeg library not found

Post by Gale Andrews » Sat Apr 03, 2010 1:09 pm

OK. You'll need to install an earlier version of FFmpeg until we can change Audacity so that it recognises av_match_ext() if a very recent FFmpeg version is installed.



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

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

Re: FFmpeg library not found

Post by steve » Sat Apr 03, 2010 1:13 pm

Gale Andrews wrote:FFmpeg from Autumn 2009 will definitely work if your repository has such.
So would that currently be be the recommended version of FFMpeg for Linux?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: FFmpeg library not found

Post by Gale Andrews » Sun Apr 04, 2010 1:55 pm

stevethefiddle wrote:
Gale Andrews wrote:FFmpeg from Autumn 2009 will definitely work if your repository has such.
So would that currently be be the recommended version of FFMpeg for Linux?
Either that, or 0.5 from Spring 2009. I've updated the Manual to reflect this.



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

Locked