The version of FFmpeg in the Ubuntu repository is too recent for Audacity 1.3.12 beta and 1.3.13 alpha.
To support the Ubuntu version of FFmpeg, Audacity must be patched.
Place this patch file in the src directory, then from that location run:
patch -p2 < ffmpeg-av-match-ext.patch
ffmpeg-av-match-ext.patch (2.06 KB)
The colours of the sliders for the mixer toolbar and the transcription toolbar are incorrect in Audacity 1.3.12 beta and 1.3.13 (up to and including the current r10736 October 17th 2010)
To fix this issue apply this patch in similar fashion with
patch -p2 < fix-slider-background-color.patch
fix-slider-background-color.patch (784 Bytes)
There is currently an issue (hopefully this will be resolved soon) that prevents Audacity from building on Ubuntu due to a build failure of portaudio-v19.
Until this is fixed, the workaround is to build up to the point where the portaudio-v19 failure occurs, then change into the lib-src/portaudio-v19 directory and run:
Yes, that patch “could” be applied globally if we release 1.3.13 for Windows/Mac with some FFmpeg version from 2010, but it would break backwards compatibility for Win/Mac (once they get 1.3.13 Beta they have to update FFmpeg again); it would also break FFmpeg for Linux people who are still using an older FFmpeg. Also note that FFmpeg from SVN after June 1st 2010 was causing Audacity not to compile with error:
“invalid conversion from ‘int ()(URLContext, unsigned char*, int)’ to ‘int ()(URLContext, const unsigned char*, int)’”
in FFmpeg.cpp:257. The workaround to that is to change src/FFmpeg.cpp line 207 from
**static int ufile_write(URLContext h, unsigned char buf, int size)
static int ufile_write(URLContext *h, const unsigned char *buf, int size).
I didn’t get that problem when I recompiled Audacity using Ubuntu 10.10’s current FFmpeg, but presumably some people will see it happen. Does it happen with SVN FFmpeg now?
Either we want backwards compatibility (in which case runtime detection of FFmpeg would be needed to cover the cases above where the Audacity code will fail); or we make each Audacity release use a particular minimum version of FFmpeg and make sure it works with that.
Although the patch is an improvement for the toolbar backgrounds, it has introduced a problem that the slider backgrounds for selected Track Control Panel are now grey rather than blue, so bug 175 has been re-opened. I think but am not 100% sure that Benjamin is also saying in the bug that he wants the entire body of toolbars to be a lighter grey (so for example the Timeline would appear a darker grey than the toolbars above it). Does anyone have any views?
Thanks, Steve. It affects all the “click-to-see-value” slider tooltips. It happens the same way on Windows in “High-Contrast” themes, the difference being that the default Ubuntu “Ambiance” theme has some light-on-dark elements. See Bug 186.