I emerged MOC 2.4.0 with the useflag "ffmpeg". However, it won't play or list .mp4 files, which this version is supposed to work with. Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk compositor crypt curl dbus dvd dvdread emboss encode examples exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 java jpeg junit lcms libg++ libwww lua mad mikmod mng motif mp3 mpeg ncurses nls nowin nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python quicktime readline ruby sdl spell sqlite ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vi vorbis win32codecs xine xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
It *will* play them - it just doesn't list .mp4 extension so far. Rename the files to m4a or aac (I think there is some difference -- .aac should be raw AAC streams). I have reported this already upstream: http://moc.daper.net/node/116#comment
Marking UPSTREAM. Reopen if you have a patch.
Actually, for me it won't even play .aac or .m4a files (even when specifying the files on the command line). (In reply to comment #1) > It *will* play them - it just doesn't list .mp4 extension so far. Rename the > files to m4a or aac (I think there is some difference -- .aac should be raw AAC > streams). > > I have reported this already upstream: http://moc.daper.net/node/116#comment >
They play fine for me. The files were created using Nero HE-AAC. media-video/ffmpeg-0.4.9_p20051216 USE="a52 aac dts encode imlib mmx ogg sdl theora threads truetype v4l vorbis xvid zlib -debug -doc -ieee1394 -network -oss -test" Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3, 2.6.15-ck1 i686) ================================================================= System uname: 2.6.15-ck1 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X a52 aac alsa apm atm avi bash-completion berkdb bitmap-fonts bzip2 cairo canna cdr cjk crypt css cups dbus dga directfb dri dts dv dvd dvdr dvdread emboss encode fbcon ffmpeg flac foomaticdb fortran freetype gdbm gif gimp gimpprint glitz glut gnutls gpm gtk2 hal icecast iconv imlib ipv6 irc jabber javascript jpeg kdeenablefinal libg++ libsamplerate libwww lzo mad matroska mikmod mmx mmxext mng mp3 mpeg mplayer musepack ncurses nls nodrm nptl nptlonly ogg oggvorbis opengl pam pdflib perl png ppds python qt readline sasl sblive scanner sdl slang sndfile speex spell sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts ucs2 ucs4 unicode usb userlocales v4l v4l2 vidix vorbis wmf xcomposite xinerama xml2 xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_radeon video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Created attachment 81677 [details, diff] Patch to support mp4 fileextension in MOC 2.4.0 (from upstream)