Bug#699394: gnome-mplayer: [Ctrl+T] fails to take screenshot

Sebastian Ramacher sramacher at debian.org
Sun Feb 3 20:27:06 UTC 2013


On 2013-02-03 18:38:17, Francesco Poli wrote:
> I tried to test all the available options for the video output in
> gnome-mplayer (with mplayer) and found the following awkward results.
> 
>
> Leaving the setting blank seems to automatically select xv, according
> to the verbose output:
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12 
> but screenshots do not work:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: failed (forgot -vf screenshot?)

If the setting is blank, the default output is used. Since you have
manually set it to xv in your mplayer config, it's using xv here.

> Explicitly selecting xv works:
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12
> and screenshots may be taken:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: *** screenshot 'shot0001.png' ***

So in this case gnome-mplayer launched mplayer with the correct flags to
take screenshots since it knew that xv is used.

> Selecting gl works:
>   GMLIB-Message: VO: [gl] 400x304 => 400x304 Planar YV12
> and screenshots may be taken:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: *** screenshot 'shot0002.png' ***
> 
> Selecting gl2 works:
>   GMLIB-Message: VO: [gl2] 400x304 => 400x304 Planar YV12
> and screenshots may be taken:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: *** screenshot 'shot0003.png' ***
> 
> Selecting x11 works:
>   GMLIB-Message: VO: [x11] 400x304 => 400x304 Planar YV12  [zoom]
> and screenshots may be taken:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: *** screenshot 'shot0004.png' ***
> 
> Selecting vdpau seems to lead to gl being used:
>   GMLIB-Message: VO: [gl] 400x304 => 400x304 Planar YV12

That's expected if your hardware doesn't support vdpau or you're missing
the necessary libraries to actually use vdpau.

> but screenshots do not work:
>   GMLIB-Message: sending VFCTRL_SCREENSHOT!
>   GMLIB-Message: failed (forgot -vf screenshot?)

I guess this is one of the vos upstream mentioned, that don't support
screenshots.

> Selecting xvmc or vaapi fails to work (high CPU load, endless stream
> of error messages and no visible video...).

If the issues are reproducable with mplayer alone, I'd report bugs
against those packages. Maybe you're just missing the proper hardware
support.

> Then I installed mplayer2, thus removing the conflicting mplayer.
> 
> Explicitly selecting xv works:
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12
> and screenshots may be taken, but a single [Ctrl+T] produces two identical
> files:
>   GMLIB-Message: *** screenshot 'shot0005.png' ***
>   GMLIB-Message: *** screenshot 'shot0006.png' ***
> 
> Please note that
>   $ diff -sq shot000[56].png
>   Files shot0005.png and shot0006.png are identical
> 
> Leaving the setting blank seems to automatically select xv, according
> to the verbose output:
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12 
> and again screenshots may be taken, but a single [Ctrl+T] produces
> two identical files:
>   GMLIB-Message: *** screenshot 'shot0007.png' ***
>   GMLIB-Message: *** screenshot 'shot0008.png' ***
> 
> Selecting gl works:
>   GMLIB-Message: VO: [gl] 400x304 => 400x304 Planar YV12 
> and (double identical) screenshots may be taken:
>   GMLIB-Message: *** screenshot 'shot0009.png' ***
>   GMLIB-Message: *** screenshot 'shot0010.png' ***
> 
> Selecting x11 works:
>   GMLIB-Message: VO: [x11] 400x304 => 400x304 Planar YV12  [zoom]
> and single screenshots may be taken:
>   GMLIB-Message: No VO support for taking screenshots, trying VFCTRL_SCREENSHOT!
>   GMLIB-Message: No VO support for taking screenshots, trying VFCTRL_SCREENSHOT!
>   GMLIB-Message: *** screenshot 'shot0011.png' ***
> 
> Selecting vdpau seems to lead to gl being used:
>   GMLIB-Message: VO: [gl] 400x304 => 400x304 Planar YV12
> and single screenshots may be taken:
>   GMLIB-Message: *** screenshot 'shot0012.png' ***
> 
> Selecting xvmc seems to lead to xv being used:
>   GMLIB-Message: VO: [xv] 400x304 => 400x304 Planar YV12
> and single screenshots may be taken:
>   GMLIB-Message: *** screenshot 'shot0013.png' ***
> 
> Selecting gl2 or vaapi fails to work (high CPU load, endless stream
> of error messages and no visible video...).
> 
> 
> OK, after this systematic test of all the options, I must confess that
> I have no idea of which I should actually choose...  :-(

Take the one best suited for your needs. If taking screenshots is
important to you, take a vo that supports them and configure
gnome-mplayer accordingly.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130203/a7920863/attachment-0001.pgp>


More information about the pkg-multimedia-maintainers mailing list