ffmpeg frame error with 2.1 ppa builds that use libav11

The 2.1 ppa builds from here fail on ffmpeg exports with a “FFmpeg:Error - Failed to write audio frame to file”
This occurs on both 14.10 & 15.04 which use libav11. The 14.04 which uses libav9 is ok.

https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity
2.0.x was patched to work with libav10/11 & ffmpeg 2.x but that patch isn’t usable in 2.1.x

It appears to be just a libav11 issue. Rebuilding using ffmpeg shared (2.6.2 here) & the export works fine.
So the ppa could test switching to ffmpeg in 15.04 build, 14.10 is almost EOL so wouldn’t bother with it, ie
libavcodec-ffmpeg-dev,
libavformat-ffmpeg-dev,
libavutil-ffmpeg-dev,

Thanks for the information. I noticed the frame error on Ubuntu 15.04 too, but please note that 2.1.0 PPA is nothing to do with Audacity Team and we have no control over it.

The Audacity source code officially supports FFmpeg 1.2 to 2.3.x (or libav 0.8 to 0.10.x). Does this frame error also occur with libav 0.10?

Any local patches that people make are nothing to do with Audacity Team. We hope eventually to move to GStreamer as a possible solution to chasing FFmpeg updates.

Or it could be built against a local FFmpeg 2.2.2.

I had already reported the frame error on Install Audacity Audio Editor 2.1.0 in Ubuntu From PPA | UbuntuHandbook and have added a comment as per your above, assuming the comment is approved. You could comment too.

But again, this is nothing to do with Audacity Team.


Gale

I understand, only mentioned here as the ppa maintainer said to do so…
As far as libav10, no idea as it is security flawed & not really in use, at least in Ubuntu & probably Debian also.
I’ll send the info to ppa maintainer via launchpad mail…

Hi, I’ve re-uploaded the package to PPA, built with the default ffmpeg in 15.04 repository. And the ffmpeg export seems work for me

Thank you, I can confirm FFmpeg export and import appears to work for the three formats included (AAC, AC3 and WMA).

I added a note about your PPA here: Missing features - Audacity Support.


Gale