FORUMS: list search recent posts

ffmpeg Unknown encoder 'mpeg4aac'

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
jefferson Goven
ffmpeg Unknown encoder 'mpeg4aac'
on Jun 30, 2011 at 3:49:57 pm


I am having a problem i just recompile ffmpeg (I install it by doing:
apt-get install dpkg-dev
apt-get source ffmpeg
apt-get build-dep ffmpeg
cd ffmpegcvs-20070329

Then i edit this file and i had at the end of the CONFIG_ALL
­nano debian/rules

--enable-decoder=mpeg4aac --enable-encoder=mpeg4aac

Then i do
cd ..
dpkg -i *.deb

cd ffmpegcvs-20070329
/debian/rules configure
/debian/rules build
and then make install

When i try to convert a video by using the audio codec mpeg4aac (a .3gp file to a .mp4 file):

root: /usr/bin/ffmpeg -i foxmedia_simulated_gent1.3gp -y -b 96k -s vga -vcodec mpeg4 -r 25 -aspect 1:1 -ar 44100 -acodec mpeg4aac -ac 2 -ab 12.k -t 3 test.mp4

FFmpeg version SVN-r13582, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --bindir=${prefix}/bin --incdir=${prefix}/include/ffmpeg --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libgsm --enable-libx264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscale --enable-libdc1394 --enable-nonfree --disable-mmx --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-decoder=mpeg4aac --enable-encoder=mpeg4aac --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil version: 49.7.0
libavcodec version: 51.58.0
libavformat version: 52.16.0
libavdevice version: 52.0.0
libavfilter version: 0.0.0
built on Jun 30 2011 15:11:10, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foxmedia_simulated_gent1.3gp':
Duration: 00:01:00.22, start: 0.000000, bitrate: 255 kb/s
Stream #0.0(eng): Audio: libfaad, 16000 Hz, stereo
Stream #0.1(eng): Video: h264, yuv420p, 320x240, 14.98 tb(r)
Unknown encoder 'mpeg4aac'

Help me please I didn' t find the good answer on the web?

Thanks Jeff

Return to posts index

Michael Rampe
Re: ffmpeg Unknown encoder 'mpeg4aac'
on Jul 4, 2011 at 12:46:13 am

[jefferson Goven] "FFmpeg version SVN-r13582, Copyright (c) 2000-2008 Fabrice Bellard, et al."

This is a very old version. I recommend upgrading to a newer version.

Also, the library specifically related to this is libfaac.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 All Rights Reserved