Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284308 - media-sound/audacity ffmpeg related bug in 1.3.8
Summary: media-sound/audacity ffmpeg related bug in 1.3.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 18:38 UTC by Jeff
Modified: 2010-10-27 03:09 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2009-09-09 18:38:51 UTC
Audacity cannot locate the libraries for ffmpeg in version 1.3.8.

Reproducible: Always

Steps to Reproduce:
1. Load Audacity 1.3.8
2. Attempt to use something requiring ffmpeg, witness error message
3. Check location for you ffmpeg libraries, and even when pointing to it doesn't locate them




This is apparently an error that has been fixed in 1.3.9
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-09 18:44:23 UTC
Not related to gnome in anyway, please don't touch fields you don't know the effets of and let bug-wranglers do their job. Plus you really need to add emerge --info and a log showing your problem as bugzilla says.
Comment 2 Alexis Ballier gentoo-dev 2009-09-09 21:51:56 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1. Load Audacity 1.3.8
> 2. Attempt to use something requiring ffmpeg, witness error message
> 3. Check location for you ffmpeg libraries, and even when pointing to it
> doesn't locate them

works fine here, i can at least import musepack files. Please describe the problem a bit more and explain what has been fixed in 1.3.9 or point to a discussion about it.
Comment 3 Marco Leogrande 2009-09-29 12:05:56 UTC
I had the same problem (ffmpeg library not detected) with audacity-1.3.8 and ffmpeg-0.5-r1. On the Audacity FAQs [1] I found out that:
"For Audacity 1.3.8 or 1.3.9 on Linux, a FFmpeg library or package later than 0.5 is required."
confirmed also on the release notes [2] and [3] (scroll to the end of both pages).

I upgraded to ffmpeg-0.5_p19928 but the issue was still there; later, I recompiled audacity-1.3.8 and solved the problem. However, I do not know if there are other upgrade paths that restore this functionality.

[1] http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#1._Download
[2] http://wiki.audacityteam.org/index.php?title=Release_Notes_1.3.8#Known_Issues_at_Release
[3] http://wiki.audacityteam.org/index.php?title=Release_Notes_1.3.9#Known_Issues_at_Release
Comment 4 Christopher Hogan 2009-11-29 11:02:32 UTC
I ran into this problem as well. Upgraded Audacity to 1.3.9. Audacity complained that it couldn't find ffmpeg, even when I explicitly told it where it was. recompiled ffmpeg followed by Audacity. That didn't help. Upgraded to ffmpeg-0.5_p20373, recompiled Audacity, and it worked.

Audacity 1.3.9 does not work with ffmpeg-0.5-r1.

emerge --info
Portage 2.2_rc52 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r5 i686)
=================================================================                                            
System uname: Linux-2.6.30-tuxonice-r5-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1           
Timestamp of tree: Thu, 26 Nov 2009 09:00:01 +0000                                                           
app-shells/bash:     4.0_p28                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                                     
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1                                                               
dev-python/pycrypto: 2.0.1-r8                                                                                
dev-util/cmake:      2.6.4                                                                                   
sys-apps/baselayout: 2.0.1                                                                                   
sys-apps/openrc:     0.4.3-r4                                                                                
sys-apps/sandbox:    2.2                                                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                                                           
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                
sys-devel/binutils:  2.18-r3                                                                                 
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.30-r1                                                                               
ACCEPT_KEYWORDS="x86"                                                                                        
ACCEPT_LICENSE="* -@EULA"                                                                                    
CBUILD="i686-pc-linux-gnu"                                                                                   
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                      
CHOST="i686-pc-linux-gnu"                                                                                    
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/citadel/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://chod.cwru.edu/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.uni-c.dk/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/net/overlay/hoganskeep /mnt/net/overlay/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa ao avahi berkdb branding bzip2 cairo caps captury cddb cdparanoia cdr chm cleartype cli consolekit cracklib crypt css cups curl dbus dc1394 desktopglobe directfb djvu doc dri dts dv dvd dvdr ebook eds emboss encode evo exif fam fbcon festival ffmpeg firefox flac fluidsynth fontconfig fortran gdbm gif gimp git glibc-omitfp glitz gnutls gphoto2 gpm graphviz gs gstreamer gtk hal hfs hpn htmlhandbook httpd iconv ieee1394 imagemagick ipod ipv6 ipw3945 jack java joystick jpeg kde kerberos kipi laptop lcms ldap libnotify libvisual lm_sensors logrotate lzo mad matroska mbrola midi mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musicbrainz mysql mzscheme ncurses network nfs nis nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcmcia pcre pda pdf perl phonon pic pie plasma png povray ppds pppd pulseaudio python qt3support qt4 quicktime quotas rar raw rdesktop rdp readline redland reflection rss rtc rtsp sasl schroedinger sdl sdl-image sdlmixer semantic-desktop session shout skins smp speex spell spl sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs syslog tcl tcpd theora threads thumbnail thunar tiff timidity tk toolbar truetype unicode usb userlocales v4l v4l2 vcd vidix visualization vnc vorbis webkit wicd wifi win32codecs wmf wxwindows x264 x86 xanim xattr xcb xcomposite xine xinerama xml xorg xosd xrandr xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="directory spca50x template" ELIBC="glibc" INPUT_DEVICES="synaptics evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2010-03-23 14:20:35 UTC
I have basically the same bug with audacity 1.3.11 (and ffmpeg-0.5_p21602) on an amd64 system. I'm working on a project consisting of a second of silence. At first it complains it cannot find ffmpeg. When using the configuration item to point audacity to the library it will find it. Then when I try to actually export the project as aac/m4a it will crash after the metadata settings part. ffmpeg is built with both the faac and faad use flags.
Comment 6 Vladimir 2010-08-03 14:43:38 UTC
  The same problem here with Audacity-1.3.12 and FFMpeg-0.6 on amd64 machine.
  Audacity cannot locate the 'libavformat.so.52' even when I point the path explicitly to this library.
Comment 7 Mark Purtill 2010-10-09 23:19:51 UTC
I'm seeing the same issue as comment #6, except with audacity 1.3.8 (but also ffmpeg-0.6).

According to <http://manual.audacityteam.org/index.php?title=FAQ:Installation_and_Plug-Ins#installffmpeg>:

Any FFmpeg libraries or packages built in 2010 may not be recognised by Audacity (Help > Show Log will list an error "undefined symbol: match_ext"). Workaround: Re-compile Audacity and change all instances of "match_ext" in ../src/FFmpeg.h and ../src/FFmpeg.cpp to "av_match_ext".

I do see the error message mentioned in "Help > Show Log":

03:22:14 PM: Loading avformat from libavformat.so.52
03:22:14 PM: Importing symbols...
03:22:14 PM: Error: /usr/lib/libavformat.so.52: undefined symbol: match_ext
03:22:14 PM: Failed to load symbol match_ext

There is an ubuntu bug, <https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/602934>, which includes a patch (in comment #2).  Adding the patch to the ebuild for audacity 1.3.8 results in a working audacity---at least, I can import .wav files and I don't get the undefined symbol error.
Comment 8 Tim Harder gentoo-dev 2010-10-27 03:09:45 UTC
I've added a patch to CVS that allows audacity to compile against any version of ffmpeg currently in the tree.