In message <20090106214437.ga2...@fermat.math.technion.ac.il> on Tue, 6 Jan 2009 23:44:37 +0200, "Nadav Har'El" <n...@math.technion.ac.il> said:
nyh> On Tue, Jan 06, 2009, Richard Levitte wrote about "Re: [ctwm] Fullscreen mplayer on ctwm": nyh> > I've standardised it with a ~/.mplayer/config that looks like this: nyh> > nyh> > vo=sdl nyh> > fs=yes nyh> > monitoraspect=1.6 nyh> > nyh> > The monitoraspect is because my laptop has a wide screen nyh> nyh> I will try to answer the rest of your questions tomorrow, and try further nyh> tests, but in the meantime I just want to point out that the fullscreen nyh> problem that I mentioned happens only if you use vo=xv, not with vo=sdl. nyh> sdl apparently (but I am not sure - I didn't look at the code) uses its own nyh> mechanism for going full screen, and this mechanism does indeed work, like nyh> you saw. But with vo=xv, mplayer needs to deal with going full-screen on its nyh> own. nyh> nyh> The "xv" (XVideo) mode is the most efficient one to use if you have one of nyh> the "accelerator" cards out there (e.g., any NVidia card) because all the nyh> video scaling is done in the graphics hardware, not through the X-Windows nyh> software; Thanks to the XVideo extension, I can view a full-screen video with nyh> just a few percent (!) of the CPU being utilized. I believe that "xv" is nyh> also the default mode for mplayer. nyh> nyh> So can you try again with "-vo xv"? I just did and it worked perfectly. Here's what it says: : ; mplayer -vo xv Cisum/sorted/Within\ Temptation/Videos/WithinTemptation-WhatHaveYouDone.flv MPlayer dev-SVN-r26940 CPU: AMD Turion(tm) 64 Mobile Technology ML-30 (Family: 15, Model: 36, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. This codecs.conf is too old and incompatible with this MPlayer release! at line 6 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing Cisum/sorted/Within Temptation/Videos/WithinTemptation-WhatHaveYouDone.flv. libavformat file format detected. [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [VP6F] 480x360 0bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash decoder) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 480 x 360 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 480x360 => 480x360 Planar YV12 [fs] [VD_FFMPEG] DRI failure.0.339 ct: 0.000 0/ 0 ??% ??% ??,?% 1 0 A: 15.0 V: 15.0 A-V: 0.001 ct: 0.007 0/ 0 27% 8% 2.9% 11 0 Exiting... (Quit) -- Richard Levitte rich...@levitte.org http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish