After upgrading to mplayer-1.0.20060217 I started to get all kinds of strange errors. Most of them are related to H.264. This one is not related to anything. After mplayer reaches the end of a file (avi, mpeg, mkv, it doesn't matter) it crashes. Here is a typical mplayer session: griever@cloud ~ $ mplayer /fat32/chin2.avi MPlayer dev-CVS-060217-12:46-3.4.4 (C) 2000-2006 MPlayer Team CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron Applebred (Family: 6, Stepping: 1) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Warning unknown option aamaxwidth at line 11 Warning unknown option aamaxheight at line 12 Warning unknown option aadimmul at line 13 Warning unknown option aaboldmul at line 14 91 audio & 206 video codecs Playing /fat32/chin2.avi. AVI file format detected. VIDEO: [DIVX] 320x240 24bpp 17.036 fps 288.8 kbps (35.3 kbyte/s) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 11025 Hz, 2 ch, s16le, 16.0 kbit/4.54% (ratio: 2000->44100) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== alsa-init: 1 soundcard found, using: default alsa: 11025 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 11025Hz 2ch s16le (2 bytes per sample) Starting playback... [mpeg4 @ 0x861b028]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 320x240 => 320x240 Planar YV12 [mpeg4 @ 0x861b028]warning: first frame is no keyframe ??% ??,?% 0 0 A: 114.6 V: 114.5 A-V: 0.139 ct: 0.020 1951/1951 ??% ??% ??,?% 0 0 alsa-uninit: pcm closed MPlayer interrupted by signal 11 in module: unknown - MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash. - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. The error is _very_ consistent! It always happens ;) Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0.20060217 -3dfx +3dnow +3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc +dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg +libcaca -lirc -live -livecd +lzo +mad +matroska -matrox +mmx +mmxext +musepack -nas +nls -nvidia +opengl -oss +png +real +rtc -samba +sdl +sse -sse2 -svga +tga +theora +truetype -v4l -v4l2 +vorbis +win32codecs -xanim -xinerama -xmms +xv +xvid -xvmc 0 kB Calculating dependencies ...done! [ebuild R ] media-video/ffmpeg-0.4.9_p20051216 +a52 +aac (-altivec) -debug -doc +dts +encode -ieee1394 +imlib +mmx +network +ogg -oss +sdl -test +theora -threads +truetype -v4l +vorbis +xvid +zlib 0 kB Calculating dependencies ...done! [ebuild R ] media-video/nvidia-kernel-1.0.6629-r5 0 kB Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.14 dev-lang/python: 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="-march=athlon-xp -O2 -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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.osuosl.org" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync2.ro.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apm audiofile avi bitmap-fonts bzip2 cairo cdr crypt cups curl dri dts eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd geoip gif glut gpm gstreamer gtk2 guile idn imagemagick imlib imlib2 isdnlog jikes jpeg junit lcms libcaca libwww lua lzo mad matroska mhash mikmod mmx mmxext mng modplug motif mp3 mpeg ncurses network nls no_wxgtk1 ogg oggvorbis openal opengl pam pcre pdflib png pppd python quicktime readline rtc ruby sdl slang spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis xchatdccserver xml2 xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Nuke your configuration file and please provide a sample to test if it isn't fixing it. You may try a newer snapshot.
Deleting the configuration file seemed to fix it, so I tried to discover the option from my old configuration file that produced the error. After a little while I figured it was "-freetype" Running mplayer with "-freetype" produces the error I mentioned at the end of the file. For completeness, the command line options I tried were: mplayer -vo xv -ao alsa -double -fontconfig some.file.avi mplayer -fontconfig some.file.avi Providing a sample seems redundant since, as I said, it happens on all the files I have. If you really, really want a sample I will try to find a small file but as I said it is not related to any particular file. I am also compiling mplayer-1.0.20060302 right now. I'll tell you if it has the same problem.
I forgot to post this: griever@cloud ~ $ eix ^freetype$ * media-libs/freetype Available versions: 1.3.1-r4 ~1.3.1-r5 2.1.9-r1 ~2.1.10 Installed: 1.3.1-r4 2.1.9-r1 Homepage: http://www.freetype.org/ Description: A high-quality and portable font engine
It seems that mplayer-1.0.20060302 doesn't compile here (see bug 128498), so right now I can't test if -freetype works correctly there.
First of all, I have used -freetype in my previous comments. I really meant -fontconfig... There's no -freetype option for mplayer. Second, I have emerged mplayer-1.0.20060302 and it still has the same problem.
I had same problem with the latest snapshot in portage: mplayer-1.0.20060302. But today I took mplayer from cvs and it does not have such problem. So either problem is fixed cvs and next bump solve the issue or it sits in the way gentoo cook mplayer. :)
I'll try to update the snapshot soon then. MPlayer is served as fresh as possible with no alteration at all =)
I have just emerged mplayer-1.0.20060408 and the bug seems to be fixed in that snapshot. This bug report can be closed now. Many thanks ;)
Perfect