Image

Imagejackal wrote in Imagelinux

ffmpeg not recognizing aac codecs

I'm getting this error from ffmpeg:
[00000311] ffmpeg encoder error: cannot find encoder MPEG AAC Audio

Meanwhile I have the libfaac codec installed:
$ ffmpeg -formats | grep aac
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Jun 3 2007 20:59:25, gcc: 4.1.3 20070528 (prerelease) (Ubuntu 4.1.2-9ubuntu2)
D aac ADTS AAC


According to this page, "In the latest version of ffmpeg you must write libfaac instead of aac, libxvid instead of xvid libmp3lame instead of mp3, ecc. Most of the gui using ffmpeg are not working at this date with the latest versions of ffmeg."

What's the fastest way to downgrade to a working version of ffmpeg on Ubuntu?