Building with USE="-x264" worked: USE="-x264" emerge -u ffmpeg2theora Rebuilding with USE=x264 also worked. Before doing the "remerge without x264, remerge with x264" dance it didn't work: gcc -o ffmpeg2theora -Wl,-O1 src/theorautils.o src/avinfo.o src/ffmpeg2theora.o src/subtitles.o src/iso639.o -lvorbisenc -lvorbis -lm -ltheoraenc -ltheoradec -lavcodec -lavformat -lavdevice -lpostproc -lswscale -loggkate -lkate -logg src/ffmpeg2theora.o: In function `ff2theora_output': /var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1279: undefined reference to `avcodec_decode_video2' /var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1428: undefined reference to `avcodec_decode_audio3' /var/tmp/portage/media-video/ffmpeg2theora-0.25/work/ffmpeg2theora-0.25/src/ffmpeg2theora.c:1260: undefined reference to `avcodec_decode_video2' collect2: ld returned 1 exit status scons: *** [ffmpeg2theora] Error 1 scons: building terminated because of errors. Reproducible: Always Expected Results: require up to date x264 up front.
ffmpeg2theora doesn't have x264 USE flag, nor does it use and/or link with it. Anyway, I updated the ffmpeg dep, which should do the trick. Please reopen if it doesn't. Thanks for reporting :)