[FFmpeg-user] Problems enabling libfaac

Nicolas George nicolas.george at normalesup.org
Tue Aug 21 11:32:49 CEST 2012

Le quintidi 5 fructidor, an CCXX, Roy Sigurd Karlsbakk a écrit :
> I've tried to enable libfaac, and it compiles right, or so it seems, but
> faac isn't listed with 'ffmpeg -codecs', running Ubuntu 12.04. ffmpeg is
> compiled from source with '--enable-libfaac --enable-nonfree
> --enable-encoder=libfaac --enable-decoder=libfaac'. During compilation, I
> can see that libavcodec/libfaac.o is built, but ffmpeg -codecs doesn't
> list it. 
> Any idea what to check? Full version output from ffmpeg -codecs shown below

You have two problems. The first problem is that someone changed the meaning
of -codecs, now you have to use -encoders to find out the list of enabled

The second is this:

> ffmpeg version 0.10.4-6:0.10.4-0ubuntu0jon2 Copyright (c) 2000-2012 the FFmpeg developers
>   built on Aug 21 2012 10:22:42 with gcc 4.6.3
>   configuration: --extra-version='6:0.10.4-0ubuntu0jon2' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-libpulse --enable-libfaac --enable-nonfree --enable-encoder=libfaac --enable-decoder=libfaac --enable-vaapi --enable-librtmp --enable-gpl --enable-postproc --enable-x11grab --enable-libcdio --enable-version3 --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --enable-static
>   avcodec     configuration: --extra-version='6:' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --disable-stripping --enable-vaapi --enable-vdpau --enable-bzlib --enable-gnutls --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-libfreetype --enable-libpulse --enable-vaapi --enable-libopenjpeg --enable-libmp3lame --enable-librtmp --enable-frei0r --enable-libopencv --enable-gpl --enable-postproc --enable-x11grab --enable-libcdio --enable-libx264 --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static

You built ffmpeg with shared libraries, and you run it without installing
and without setting LD_LIBRARY_PATH: the dynamic loader uses the installed
system libavcodec, which does not have libfaac enabled.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120821/b25e12a9/attachment.asc>

More information about the ffmpeg-user mailing list