Most of them time, when I use mplayer with -vo xv option (which is also the default), I get the video window, but all I get is some type of blue and greenish garbage which does not at all resemble the video. It doesn't move either. I do still get sounds. I have to use -vo x11 instead, which is slower and taxes the system more. What's interesting is that sometimes, -vo xv does work. I can't ever seem to find a system which explains when it works and when it doesn't. Generally, it works on startup versus when the system has been running for a while. I am filing this as a gentoo bug because it worked fine on Fedora Core 3 on this same machine. Reproducible: Always Steps to Reproduce: 1.Run mplayer using xv as the video output 2.Enjoy the garbage output 3. Actual Results: Got garbage output instead of a video Expected Results: Should have seen a nice video that doesn't cause my CPU fan to come on (like with -vo x11) Here's my emerge --info: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.osuosl.org ftp://gentoo.mirrors.pair.com/ http://mirror.espri.arizona.edu/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cjk crypt cups curl directfb divx4linux dvd dvdread eds emboss encode esd fam fbcon foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg kde kdexdeltas libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode vorbis wifi win32codecs xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY And here's emerge -pv mplayer: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre7-r1 -3dfx -3dnow -3dnowext +X -aac +aalib +alsa (-altivec) +arts -bidi -bl -cdparanoia -cpudetection -custom-cflags -debug -dga +directfb +divx4linux -doc -dts -dv -dvb +dvd +dvdread -edl +encode +esd +fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg +libcaca -lirc -live -lzo +mad -matroska -matrox +mmx -mmxext -mythtv -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 Total size of downloads: 0 kB
Please tell us which graphic drivers you use. Also you have xvmc in your USE flags - if you actually use it that might be part of the problem. I know xvmc often breaks xv with my nVidia card :-( How does -vo sdl behave btw.? Or -vo xvidix, does that work (you need to be root)?
I have a trident cyberblade of some sort. I tried -vo sdl and -vo xvidix and sdl gave me the same results as xv and xvidix just didn't work at all (probably unsupported video card). Also, I just rebooted, and it's just not working. I cannot find any pattern which determines whether it works or not. For what it's worth, here's the relevant output of mplayer when trying to play a video that I know works at other times: MPlayer 1.0pre7try2-3.3.5-20050130 (C) 2000-2005 MPlayer Team CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10) Detected cache-line size is 32 bytes MMX2 supported but disabled CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX SSE Warning unknown option cache_min at line 144 Warning unknown option cache_prefill at line 147 85 audio & 196 video codecs Playing safety.mpg. Cache fill: 15.23% (1277952 bytes) MPEG-PS file format detected. VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1150.0 kbps (143.8 kbyte/s) ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display) ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le AO: [oss] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Starting playback... VDec: vo config request - 352 x 240 (preferred csp: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 352x240 => 352x264 Planar YV12 A: 1.8 V: 1.8 A-V: 0.001 ct: 0.039 34/ 34 17% 7% 2.2% 0 0 96% Exiting... (Quit)
Does the bug exist in recent versions of mplayer as well? If not, post the output of `lspci -v` for your video card info
resolving as needinfo