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/ ... u/audacity
2.0.x was patched to work with libav10/11 & ffmpeg 2.x but that patch isn't usable in 2.1.x
ffmpeg frame error with 2.1 ppa builds that use libav11
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.
Re: ffmpeg frame error with 2.1 ppa builds that use libav11
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,
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,
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: ffmpeg frame error with 2.1 ppa builds that use libav11
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.mc2man wrote: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/ ... u/audacity
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?mc2man wrote:2.0.x was patched to work with libav10/11 & ffmpeg 2.x but that patch isn't usable in 2.1.x
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.mc2man wrote: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,
I had already reported the frame error on http://ubuntuhandbook.org/index.php/201 ... -from-ppa/ 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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: ffmpeg frame error with 2.1 ppa builds that use libav11
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...
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...
-
ubuntuhandbook
- Posts: 17
- Joined: Tue May 19, 2015 3:54 am
- Operating System: Please select
Re: ffmpeg frame error with 2.1 ppa builds that use libav11
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
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: ffmpeg frame error with 2.1 ppa builds that use libav11
Thank you, I can confirm FFmpeg export and import appears to work for the three formats included (AAC, AC3 and WMA).ubuntuhandbook wrote: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
I added a note about your PPA here: http://wiki.audacityteam.org/wiki/Incor ... ts_Version.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual