actually mp4encode searches a template file in /usr/local/share/ but the file is in /usr/share. I've modified also the ebuild to install this file in /usr/share/mpeg4ip (it seems better to my eyes). You can find patches on the attachment Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/ http://gentoo.mirror.icd.hu/ ftp://ftp.linux.ee/pub/gentoo/distfiles/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages/x86/desktop" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://10.0.4.11/gentoo-portage" USE="X aac aalib acl acpi acpi4linux adns aliaschain alsa altcolors amd apache2 apm aredmem arts artswrappersuid atlas atm audiofile avi ba-completion berkdb bitmap-fonts blas bonobo cdb cddb cdparanoia cdr cdrom cjk clamav codecs crypt cups devfs26 dga divx4linux djbfft dlz dv dvd dvdr dvdread edl encode esd ethereal evo extensions f77 faac faad fam fbcon festival ffmpeg fftw flac flood font-server foomaticdb fortran freetts freetype frlargefiles gdbm gif gimp gimpprint glut gnokii gnome gphoto2 gpm gps gs gsm gstreamer gtk gtk2 gtkhtml guild ieee1394 imagemagick imlib imlib2 innodb ipv6 irda irmc jabber2 jack javajce jp2 jpeg jpeg2k junit kadu-modules kadu-voice kde kerberos lcms ldap ldirectord libg++ libwww lirc live lzo lzw lzw-tiff mad maildir maildrop mailwrapper matroska mbrola mdb mew mha mikmod mime mimencode mmap mmx mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msdav mysql mythtv ncursees ncurses network neural nls nntp ntlm nvidia oav odbc oggvorbis openal opengl opens opie oss pam pcmcia pcre pda pdf pdfkit pdflib perl php png pnp postgres ppds procmail pthreads pwdb python qmail qt quicktime quotes radeon readline remote roundrobin samba sasl scanner sdl silentdrop slang slp sms snmp speex spel spell sqlite ssl svg svga szip tcltk tcpd tetex tga tiff tinydyndns transcode truetype type1 type1-fonts unicode v4l v4l2 vda vhosts vim vim-with-x virus-scan wmf wsconvert x86 xine xinerama xinetd xml xml2 xmms xosd xpm xv xvid yv12 zaptel zlib"
Created attachment 46024 [details, diff] patch to fix the bad template path in mp4encode ...you have to apply also the ebuild patch
Created attachment 46026 [details, diff] ebuild fixes to match the mp4encode patch
This is in the 1.2 ebuild..