2010/2/3 Reimar D?ffinger <Reimar.Doeffinger at gmx.de>: > On Wed, Feb 03, 2010 at 01:33:14PM +0100, Giorgio wrote: >> But I was wondering, would it be possible to somehow hide the small >> window used for autodetection? If this could be done, it think it >> would be more elegant (of course, I know I can skip autodetection >> passing a value of yuv). > > I think it is possible, I just did not have the time, plus I couldn't > test it anyway (see next paragraph). > Do you actually notice it? And how much? On all systems I tested it > on (including a slow netbook and via VNC) I couldn't even see the > small window. Does this maybe depend on some configuration options? > If I could actually see that small window I could much easier create > a patch to hide it. Yes, the small windows appears and disappears very fast (I'd say it stay on the screen for about 0.25 seconds) but it still is noticeable. It might depend on configuration options, I'm not sure, I'll test this on other computers. Anyway, I have made a video so you can see with your eyes: http://mywing.altervista.org/mplayer/out.ogg (note: in this video the small window stays on the screen for like half a second or more, I think it depends on my system being a bit slow when acquiring the video) Moreover, I have noticed that when I use gmplayer with yuv suboption autodetection (-vo gl) the video has a wrong size, while skipping autodetection (-vo gl:yuv=2) gives the correct video size. Only gmplayer shows this behaviour, mplayer works fine. You can see this too on the video I have posted. Here are some more information about this: holden at rye:~/mtest$ gmplayer aneducation_h720p.mov -v -quiet -nomenu -frames 25 -vo gl > vogl 2>&1 holden at rye:~/mtest$ gmplayer aneducation_h720p.mov -v -quiet -nomenu -frames 25 -vo gl:yuv=2 > voglyuv2 2>&1 http://mywing.altervista.org/mplayer/vogl http://mywing.altervista.org/mplayer/voglyuv2 holden at rye:~/mtest$ diff -u vogl voglyuv2 --- vogl 2010-02-03 23:49:52.000000000 +0100 +++ voglyuv2 2010-02-03 23:50:07.000000000 +0100 @@ -20,7 +20,7 @@ Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --enable-gui --enable-menu -CommandLine: 'aneducation_h720p.mov' '-v' '-quiet' '-nomenu' '-frames' '25' '-vo' 'gl' +CommandLine: 'aneducation_h720p.mov' '-v' '-quiet' '-nomenu' '-frames' '25' '-vo' 'gl:yuv=2' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/holden/.mplayer/fonts' @@ -330,9 +330,6 @@ get_path('sub/') -> '/home/holden/.mplayer/sub/' [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails. [gl] Using 0 as slice height (0 means image height). -[gl] GLX chose visual with ID 0x2f -[gl] Running on OpenGL by 'NVIDIA Corporation', versions '2.1.2 NVIDIA 169.12' -[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, rectangle = 0, yuv = 2 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! @@ -373,10 +370,7 @@ *** [vo] Exporting mp_image_t, 1280x544x12bpp YUV planar, 1044480 bytes Unicode font: 4861 glyphs. Unicode font: 4861 glyphs. -[gl] Resize: 1159x724 [h264 @ 0xceb720]no picture -Unicode font: 4861 glyphs. -Unicode font: 4861 glyphs. EOF code: 1 Uninit audio filters... For some reason it seems to resize the window. If you need the video I've used in this test you can find it here: URL=$(mplayer -user-agent Quicktime -v -frames 0 http://movies.apple.com/movies/sony/aneducation/aneducation_720p.mov 2>/dev/null | grep Filename | awk '{print $6}' | tail -n 1); file=$(echo $URL | sed -e 's/^.*\///'); mplayer -user-agent Quicktime -dumpstream "$URL" -dumpfile "$file" Thank you. Giorgio Vazzana