You are not logged in.

#1 2009-05-07 16:39:02

Xemertix
Member
Registered: 2009-04-09
Posts: 66

Audacity says 'FFmpeg Library Version: FFmpeg library not found'

Hello.I have recompiled audacity to enable ffmpeg import/export plugin,but it fails to recognize libavformat.so.52 in /usr/lib/libavformat.so.52 even if I put the right path in the program options..It says:FFmpeg Library Version: FFmpeg library not found
Audacity version: audacity 1.3.7-1
Ffmpeg version: ffmpeg 20090217-1

Audacity is compiled with the following options:

# $Id: PKGBUILD 25816 2009-01-30 07:49:48Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: dorphell <dorphell@archlinux.org>

pkgname=audacity
pkgver=1.3.7
pkgrel=1
pkgdesc="Audacity is a program that lets you manipulate digital audio waveforms"
arch=('i686' 'x86_64')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libvorbis' 'libmad' 'libid3tag' 'wxgtk' 'libsamplerate' \
         'lame' 'shared-mime-info' 'desktop-file-utils' 'redland' 'jack-audio-connection-kit')
makedepends=('zip' 'python' 'pkgconfig' 'soundtouch')
options=('!makeflags')
install=audacity.install
source=(http://downloads.sourceforge.net/sourceforge/audacity/${pkgname}-minsrc-${pkgver}.tar.bz2 \
        audacity.xpm audacity16.xpm)
md5sums=('7dcbcd8ed417413fd824d446001058d9' 'c8f7f7851638eedf84d05a1afde797b2'\
         '5e94ccbfb665e8356dc4172a3673b4d4')
sha1sums=('ba4a696bb950800c690ec80138aa84801e04f35a'
          'a2b6626cd1cdcd9facb262116804d9349e1e6144'
          'a208a4ed129c73f97347bab929c7758a345e8e9a')

build() {
  cd ${srcdir}/${pkgname}-src-${pkgver}

  WX_CONFIG=/usr/bin/wx-config \
  ./configure --prefix=/usr \
     --with-portaudio=v19 --with-libsamplerate=system \
     --without-libresample --with-libmad=system \
     --with-id3tag=system --with-flac=system \
     --with-ffmpeg --with-midi \
     --with-libtwolame --with-sbsms \
     --with-vorbis=system --with-libexpat=system \
     --with-libsndfile=system --with-soundtouch \
     --enable-unicode || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1

  install -m644 ../audacity.xpm ${pkgdir}/usr/share/${pkgname}/audacity.xpm || return 1
  install -m644 ../audacity16.xpm ${pkgdir}/usr/share/${pkgname}/audacity16.xpm || return 1
}

Ffmpeg is compiled with the following options:

# $Id: PKGBUILD 27456 2009-02-22 02:22:39Z eric $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=ffmpeg
pkgver=20090217
pkgrel=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=(i686 x86_64)
url="http://ffmpeg.mplayerhq.hu/"
license=('GPL')
depends=('lame' 'sdl' 'libvorbis' 'faad2>=2.7' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20090216' 'libtheora')
#remake snapshot with: svn export svn://svn.mplayerhq.hu/ffmpeg/trunk@14236
source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-${pkgver}-17395.tar.bz2)
md5sums=('009b3cd4d406026f589e41e6d76b0b7d')

build() {
  cd "$srcdir/$pkgname" || return 1

  ./configure \
  --prefix=/usr \
  --enable-gpl \
  --enable-libmp3lame \
  --enable-libvorbis \
  --enable-libfaac \
  --enable-libfaad \
  --enable-libxvid \
  --enable-libx264 \
  --enable-libtheora \
  --enable-postproc \
  --enable-shared \
  --enable-pthreads \
  --enable-x11grab \
  --enable-swscale \
  --enable-nonfree \
  --enable-libamr-nb \
    --enable-libamr-wb \
  --enable-libschroedinger \
  --enable-libspeex \
  --enable-libopenjpeg \
  || return 1

  make || return 1
  make tools/qt-faststart || return 1
  make doc/ff{mpeg,play,server}.1 || return 1

  make DESTDIR="$pkgdir" install install-man || return 1
  install -D -m755 tools/qt-faststart $pkgdir/usr/bin/qt-faststart || return 1

  # since makepkg currently declines to strip .a files, do this for now
  strip --strip-debug $startdir/pkg/usr/lib/*.a || return 1
}

# vim:set ts=2 sw=2 et:

Thanks for your help.

Offline

#2 2009-07-25 03:38:03

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

I just got the same thing, with the standard repo versions of Audacity and ffmpeg.  It was working before, so I am not sure when this happened since I haven't used it in the last month or so.

Offline

#3 2009-07-25 03:43:00

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

I just downgraded Audacity to version 1.3.7-1 and ffmpeg is working again.  Can anyone confirm this so I can file a bug report?

Offline

#4 2009-07-25 04:54:16

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

The problem is that between FFmpeg versions in the repos, then FFmpeg project went from MAJOR-MINOR versioning to MAJOR-MINOR-SUB (whatever you call the lower version). This confuses Audacity. So when you go to:

Edit-->Preferences-->Libraries-->Locate (and confirm searching)-->/usr/lib, choose libavformat.so.52.XX (whatever XX is in the version in the repos). It works for FFmpeg from subversion.

Offline

#5 2009-09-03 15:59:17

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

I still can't get ffmpeg to work with anything since Audacity version 1.3.7-1.  I have pointed to all the different libavformat.so. files, but still no love.

Offline

#6 2009-09-15 23:09:32

gopher292
Member
Registered: 2009-03-02
Posts: 16

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

rsambuca: I had this problem and was able to solve it by replacing ffmpeg with ffmpeg-svn. When you go to edit > preferences > libraries and click locate, it detects the library automatically.

yaourt -Rd ffmpeg
yaourt -S ffmpeg-svn

Last edited by gopher292 (2009-09-15 23:10:06)

Offline

#7 2009-10-24 03:14:55

woogie
Member
From: Ottawa, ON
Registered: 2005-04-01
Posts: 45

Re: Audacity says 'FFmpeg Library Version: FFmpeg library not found'

I'd like to report having the same troubles with 1.3.9, no FFmpeg loving for me. I'm trying to downgrade to 1.3.7 right now, see if that will work for me.

Offline

Board footer

Powered by FluxBB