FFmpeg plugin fails [Solved]

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.
perab
Posts: 5
Joined: Tue Apr 28, 2009 8:22 pm
Operating System: Please select

Re: FFmpeg plugin fails

Post by perab » Fri Sep 04, 2009 6:06 pm

Now it seems that the problem is solved. A friend at the Swedish Ubuntu forum (actually the same person, who complied Audacity 1.3.8 and provided it at his own repository), made a recompilation of Audacity 1.3.8 as well as ffmpeg. So the issue can be seen as solved, at least at the moment...

ArtInvent
Posts: 2
Joined: Thu Oct 15, 2009 11:52 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved]

Post by ArtInvent » Fri Oct 16, 2009 12:02 am

With 1.3.9 it seems the problem is back. I compiled both a static and a shared version of ffmpeg from SVN and point Audacity at the resulting libavcodec.so, and it fails to recognize it. I'm on Ubuntu Jaunty 64 and got Audacity 1.3.9 from GetDeb.

Does anyone know of a repo or ppa with good versions of Audacity 1.3.9 and a working libavcodec?

Thanks.

perab
Posts: 5
Joined: Tue Apr 28, 2009 8:22 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved]

Post by perab » Sat Oct 17, 2009 7:18 pm

Hello, ArtInvent!

You could try the repository from where I got a now working Audacity + ffmpeg. The location is found at https://launchpad.net/~philip5 There you will find the address to Philip's repo as well as the security key. And despite that Philip is a swede, the pages are in English. Audacity and Ffmpeg are found under "extra". This is the same repository as which I mentioned in a previous post above.

Per

ArtInvent
Posts: 2
Joined: Thu Oct 15, 2009 11:52 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved] [Solved again]

Post by ArtInvent » Sat Oct 17, 2009 10:24 pm

Per, thanks, this is the repo I've been looking for. Installed both ffmpeg and associated along with audacity from this ppa, and Audacity auto located the ffmpeg libs when I opened Preferences | Libraries | Locate. Awesome. The ppa does not seem to say if it has 32 bit only or 64 bit packages, I'm on 64 bit and it works fine so perhaps it is indeed both. Also has a lot of other good and up to date multimedia and driver packages. Very nice.

perab wrote:Hello, ArtInvent!

You could try the repository from where I got a now working Audacity + ffmpeg. The location is found at https://launchpad.net/~philip5 There you will find the address to Philip's repo as well as the security key. And despite that Philip is a swede, the pages are in English. Audacity and Ffmpeg are found under "extra". This is the same repository as which I mentioned in a previous post above.

Per

XerXeX
Posts: 4
Joined: Thu Sep 30, 2010 8:16 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved]

Post by XerXeX » Thu Sep 30, 2010 8:21 pm

Hi,

I am having the same problem on Ubuntu x86_64. After the recent kernel update I get this message when I try to export an audio file in Audacity to ac3:

Properly configured FFmpeg is required to proceed.
You can configure it at Preferences > Libraries.

Once there it is asking me to locate "libavformat.so.52", I locate it, choose it but it still gives me the same error. Everything worked perfectly before the update. I re-installed FFmpeg and other codecs but to no avail, help is greatly appreciated!

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

Re: FFmpeg plugin fails [Solved]

Post by steve » Fri Oct 01, 2010 12:47 am

Are you using Audacity and FFmpeg installed from the Ubuntu repositories (installed with Synaptic/apt/Add Programs) or have you built either of them from their source code?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

XerXeX
Posts: 4
Joined: Thu Sep 30, 2010 8:16 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved]

Post by XerXeX » Fri Oct 01, 2010 8:10 am

Hi Steve,

Thanks for the reply. I have the packages from the Ubuntu repositories.

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

Re: FFmpeg plugin fails [Solved]

Post by steve » Fri Oct 01, 2010 10:52 am

My guess is that Ubuntu has not patched their build of Audacity to work with their current build of FFmpeg.
You could report this as a bug to Ubuntu (check first that they do not already have it listed as a bug), and/or build a compatible version of FFmpeg and/or Audacity from the source code.

Which version of Ubuntu are you using? (if it's earlier than 10.04 then the problem may already be fixed).
I'm just upgrading to Ubuntu 10.04 myself, so I'll have more information about this question in 10.04 soon.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

XerXeX
Posts: 4
Joined: Thu Sep 30, 2010 8:16 pm
Operating System: Please select

Re: FFmpeg plugin fails [Solved]

Post by XerXeX » Fri Oct 01, 2010 12:03 pm

Steven,

I'm on Ubuntu 10.04. I'm very much in need of ac3 export, at the moment we are using Audacity on a mac osx to do the job. I really don't know where to look further to track down the problem on our linux station.

Do you recommend compiling Audacity and FFmpeg from source or do you have any other suggestions? Thanks in advance!

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

Re: FFmpeg plugin fails [Solved]

Post by steve » Fri Oct 01, 2010 1:33 pm

Compiling FFmpeg or compiling Audacity should do the trick, but until I try it I'm not sure which version you should use.
I think what you need to do is either compile an earlier version of FFmpeg, or build Audacity with the changes outlined here: http://manual.audacityteam.org/index.ph ... tallffmpeg
I'll be able to provide more detail when I've tried this myself.

Alternatively, for now you could export a WAV and then use VLC to convert from WAV to AC3.
If you use VLC, in the "Encapsulation Method" you will probably want to select "RAW", then go to the Audio Codec tab and select "A52/AC-3"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked