Project

General

Profile

FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository)

Added by Pascual Lucero about 12 years ago

Hello,

Today I have upgraded Audacious from the WebUpd8 ppa repository for Ubuntu and to my surprise, the FFAudio plugin is not recognized (and I have several wma and wav files that need the plugin to be reproduced). None of the previous versions of Audacious installed from the same repository (included 3.1.2) suffered this problem. I have had FFmpeg from 0.7.11 to the current 0.9.1 installed (also from a Ubuntu repository, recommended in the FFmpeg home page).

Is this a problem with the debian build of Audacious? Or this is something related to the source? Can this problem be fixed (and the solution included in the repository?).

Thanks for your attention.


Replies (14)

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by John Lindgren about 12 years ago

You should contact WebUpd8 about this problem. FFmpeg 0.9 is the requirement; it may be that it was not installed on the machine that WebUpd8 used for their build.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Pascual Lucero about 12 years ago

Hello,

Sorry, it was my mistake. The ubuntu repositories have FFmpeg 0.7 as the latest version. Installing FFmpeg 0.9 (which forces in package manager to remove the 0.7 version) from a different ppa actually breaks playing in all other media players (I tried to do it). Is there a way to solve this without removing the FFmpeg 0.7 package in Ubuntu?

Thanks

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by John Lindgren about 12 years ago

You could build FFmpeg from source and install it under /opt. Otherwise you should probably stick to Audacious 3.1 until you update to a newer Ubuntu version.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Pascual Lucero about 12 years ago

Hi, you mean using ./configure --prefix=/opt as a command when I am building FFmpeg? Thanks

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Pascual Lucero about 12 years ago

Thanks for the report, although I might ask (and thinking for the benefit of most users). It is possible for the next release of Audacious to have a workaround to allow the FFaudio plugin to work with ffmpeg 0.7? Or something like the packaging option provided for windows.

I don't know the motivations to force only ffmpeg0.9 or later in audacious, but the solutions that are given here involve some manipulations that are certainly not easy for most users. And in package repositories of several linux based operating systems, the latest version of ffmpeg is 0.7 (in my case, I have the latest version of Ubuntu, 11.10) and the change to ffmpeg 0.9 as official WON'T HAPPEN SOON.

(Note: For example, in Ubuntu 12.04, which will be released in april, according to http://www.ubuntuupdates.org/ffmpeg ... ffmpeg 0.8 is the one which is going to appear in official repositories. In Debian Squeeze, http://packages.debian.org/squeeze/ffmpeg the latest version is 0.5!! )

Installing from alternative package repositories (I used Synaptic and also the ppa described in ffmpeg home page) break the functionality of other media players (I tried, broke everything and I have to reinstall the previous version after a painful process involving removing all media players and installing them again because of the dependencies), so it looks like currently the solution is to compile audacious, audacious-plugins, ffmpeg and installing all of them in a different folder (for the ffmpeg conflict with other players I described earlier). Or using Audacious in windows, because strangely enough, in Windows I just unzipped the folder and it is very easy to use the player).

Of course, I might use the previous version of audacious, but this doesn't look like a reasonable solution, given the nice new features of 3.2 version.

Thanks for your attention and have a good night.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Pascual Lucero about 12 years ago

Update: I guess responding the concerns of several users, the packagers of WebUpd8 repository have made a few hours ago a build including Jacopo Lorenzetti's patch, so the temporary solution is available in Ubuntu. I have made the update and now everything is working well in that department, at least for Ubuntu users :)

Of course, I guess the comments made before could be useful for the developers in future versions. Thanks.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Jacopo Lorenzetti about 12 years ago

John Lindgren: Would it be possible to make use of avcodec_decode_audio4() in ffaudio-core.c only when FFmpeg 0.9+ is available and fallback to avcodec_decode_audio3() otherwise?

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Alin Andrei about 12 years ago

Indeed, thanks to the Jacopo Lorenzetti's patch (thank you very much!), I was able to provide a work-around for the Audacious 3.2 packages in the WebUpd8 PPA. For reference, that patch alone isn't enough, configure needs to be patched as well, not just configure.ac. Here's the patch I've used: http://pastebin.com/raw.php?i=MM8x2rNx

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Jacopo Lorenzetti about 12 years ago

I'm glad I could help! :)

You don't need to patch configure as long as you run autoconf after patching configure.ac: autoconf will take the patched configure.ac and produce an updated configure.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by John Lindgren about 12 years ago

The behavior of avcodec_decode_audio4 is quite different from avcodec_decode_audio3, so supporting both in the same code is difficult. If distributions insist on shipping an out-of-date version of FFmpeg along with an up-to-date version of Audacious, the best bet is probably to replace the ffaudio plugin from 3.2 with an older version of the plugin. The version of ffaudio.c shipped with 3.2-beta1 should work in 3.2 without patching.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by Cyril Lavier about 12 years ago

Hi.

I'm starting to use/adapt the patch from Andrei into the Debian package of audacious-plugins 3.2.

For this purposes, I'm working with one of the maintainers of the libav packages, and he wants clarify something.

Why did you choose those particular versions of libavformat (52.110.0) and libavcodec (52.64.0) ?

Did you had any issues when lowering the version requirements ?

Thanks.

RE: FFAudio plugin not recognized in Audacious 3.2 (installed from WebUpd8 repository) - Added by John Lindgren about 12 years ago

This is the commit where the requirements were increased to those versions:
https://github.com/audacious-media-player/audacious-plugins/commit/631804bd5684979ca8120e6aa7c6fd114bfe786b

libavcodec 52.64.0 is needed because of this API change in FFmpeg:

2010-03-31 - r22735 - lavc 52.64.0 - AVMediaType
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

You might get by with an older version of libavformat; I don't know.

    (1-14/14)