On 02/27/2014 12:08 PM, Kaj Ailomaa wrote: > > On Thu, Feb 27, 2014, at 11:24 AM, ttoine wrote: >> do someone really use ladspa with audacity ? >> >> > Makes me think you don't use audacity a lot :). > The use of plugins is really a necessity. Not having ladspa is quite > crippling. > > It's one of those bugs that we should find during development phase. And > it is that kind of things we should add to our test cases, when we write > them. > Probably a simple problem to solve, from the Debian packager maintainer > side. > Hi, Audacity 2.0.5 was released in Debian without ffmpeg support because it has not been fully ported to libav9 [1]. Apparently, no-one stepped forward to do the work so it was necessary to disable ffmpeg to allow the libav 9 transition to complete. See Debian bug #692809 [2]. Details of the changes in libav 9 are here: [3] & [4] With ffmpeg re-enabled in debian/rules, audacity fails to build. This is because FFmpeg.h should now use "AVSampleFormat" instead of "SampleFormat". A patch (see attached) was attached to the Debian bug which I have applied and now the build goes a little further before failing. Now it stops when FFmpeg.cpp tries to use URLContext which is now a private function. I am not sure what should be used instead. According to the Debian bug, if we sort that out, then export/ExportFFmpeg.cpp would be the next thing that needs fixing. I will keep delving in to this here and there when I have time, but someone with better C++ skills and/or knowledge of the Audacity code is welcome to step in and do it faster :-) Regards, Ross
[1] http://anonscm.debian.org/gitweb/?p=pkg-multimedia/audacity.git;a=commit;h=36289c7ee90c8cf824483ca708456ffa7eb4f563 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692809 [3] https://libav.org/doxygen/release/9/pixfmt_8h.html#a9a8e335cf3be472042bc9f0cf80cd4c5 [4] https://libav.org/doxygen/release/0.8/deprecated.html
diff -aur audacity-2.0.3.orig/src/FFmpeg.h audacity-2.0.3/src/FFmpeg.h --- audacity-2.0.3.orig/src/FFmpeg.h 2013-01-18 16:50:58.000000000 +0100 +++ audacity-2.0.3/src/FFmpeg.h 2013-07-23 15:36:11.900000000 +0200 @@ -353,7 +353,7 @@ int m_initialchannels; // number of channels allocated when we begin the importing. Assumes that number of channels doesn't change on the fly. int m_samplesize; // input sample size in bytes - SampleFormat m_samplefmt; // input sample format + AVSampleFormat m_samplefmt; // input sample format int m_osamplesize; // output sample size in bytes sampleFormat m_osamplefmt; // output sample format Nur in audacity-2.0.3/src: FFmpeg.h~.
-- ubuntu-studio-devel mailing list ubuntu-studio-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel