ffmpeg-0.4.9_p20070616-r1 is missing aac encoding support. It worked in the past and yes, I have the aac flag enabled. Reproducible: Always Steps to Reproduce: 1.USE=aac emerge ffmpeg 2.ffmpeg -i "$1" -f mp4 -vcodec mpeg4 -maxrate 2000 -b 600 -qmin 3 -qmax 5 \ -bufsize 20000 -g 300 -acodec aac -ar 44100 -ab 160 -s 320x240 "$_o.mp4" (pasted from a script) 3. cry Actual Results: FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-v4l --disable-v4l2 --disable-dv1394 --disable-opts --enable-libmp3lame --enable-libvorbis --enable-libogg --enable-libtheora --enable-libogg --enable-liba52 --enable-pthreads --enable-libxvid --enable-x11grab --enable-libogg --enable-libx264 --enable-libfaad --enable-libfaac --enable-libamr-nb --enable-libamr-wb --enable-gpl --enable-pp --enable-swscaler --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Sep 29 2007 12:44:26, gcc: 4.2.0 (Gentoo 4.2.0 p1.4) Input #0, avi, from '/media/IPOD/filmy/TenaciousD-The.Pick.Of.Destiny.avi': Duration: 01:34:06.8, start: 0.000000, bitrate: 1040 kb/s Stream #0.0: Video: mpeg4, yuv420p, 600x320, 23.98 fps(r) Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s Unknown codec 'aac' Expected Results: Cooking my dinner and encoding a proper aac stream. it's not only my problem, some time ago I found a topic on the gentoo forums about it. # emerge --info Portage 2.1.3.11 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-ck1 i686) ================================================================= System uname: 2.6.22-ck1 i686 AMD Athlon(TM) XP 2500+ Timestamp of tree: Wed, 03 Oct 2007 15:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon-xp -ffast-math -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon-xp -ffast-math -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://85.25.128.62 http://src.gentoo.pl" LANG="pl_PL.utf8" LC_ALL="pl_PL.utf8" LDFLAGS="-Wl,-O1,--as-needed" LINGUAS="pl en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi aiglx alsa amarok amr amrnb amrwb amuled asf atm audiofile bash-completion berkdb bitmap-fonts bittorrent boost branding browserplugin bzip2 cairo cdaudio cdda cddb cdr cli clucene cracklib css cups curl dbus dga disk-partition divx double-precision dri dts dvd dvdnav dvdr dvdread eds emboss emovix enca encode evo extraicons extramodules fam fame fat ffmpeg firefox flac foomaticdb fortran gadu gdbm gif gimp gimpprint glib glibc-omitfp glitz glut gmedia gphoto2 gpm gtk hal icc iconv imlib inkjar insecure-savers ipod isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas kqemu kt400 lame lcms libcaca libnotify libsamplerate libvisual lm_sensors mad matroska midi mikmod mime mmap mmx mmxext mng mozbranding mozsvg mp3 mp4 mpeg mplayer mtp mudflap musepack musicbrainz ncurses network njb nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openal openexr opengl openmp oss pam pch pcmcia pcre pdf perl physfs pic plugin png povray ppds pppd psyco python qt-copy qt3 qt3support qt4 quicktime rar rdesktop readline real reflection reiserfs remote scanner sdl sensord session skins slang sndfile sound speex spell spl sqlite srt sse ssl stats stream subtitles suid svg svga symlink tcltk tcpd test theora threads threadsafe tiff timidity tk tordns truetype truetype-fonts type1-fonts unicode usb userlocales utempter vcd verse visualization vlm vorbis win32codecs wmp wxwindows x264 x86 xcb xcomposite xforms xim xine xml xorg xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="via82xx emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS --- # emerge -pv ffmpeg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/ffmpeg-0.4.9_p20070616-r1 USE="X a52 aac amr encode imlib mmx network ogg oss sdl test theora threads truetype vorbis x264 xvid zlib (-altivec) -debug -doc -ieee1394 -v4l" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB
Works just fine here; run revdep-rebuild. If that doesn't help, reopen with complete emerge.log attached.
Sorry for the noob question, but do you mean /var/log/emerge.log? (still doesn't work after revdep and re-emerge, reopening)
No, I mean ffmpeg emerge.log; MAKEOPTS="-j1" emerge ffmpeg &> emerge.log
Created attachment 132492 [details] emerge.log
done
I just noticed that 0.4.9_p20070525 works fine
=run ffmpeg -formats to see if aac support is there. I'm running ffmpeg-0.4.9_p20070616-r2, and I noticed that the aac support seemed to be renamed from aac to libfaac. This broke nuvexport in a few ways. I patched nuvexport, but I'm still running into an ffmpeg seg fault problem. I haven't figured it out yet.
(In reply to comment #7) > I'm running ffmpeg-0.4.9_p20070616-r2, and I noticed that the aac support > seemed to be renamed from aac to libfaac. yes its been renamed to libfaac -> setting as invalid