On 2013-02-04 23:34:51, Francesco Poli wrote:
> On Sun, 3 Feb 2013 21:27:06 +0100 Sebastian Ramacher wrote:
> 
> > 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.
> 
> OK, but why did gnome-mplayer fail to pass the correct flags to enable
> screenshots in mplayer?
> 
> By looking at the mplayer man page, I seem to understand that the
> correct flag is just:
> 
>   -vf screenshot

Well, it's not true for all vos. To the best of my knowledge, the screenshot
video filter and vdpau don't work well together, since mplayer never sees the
final image. (That information might be outdated, so please correct me if I'm
wrong.)

> > > 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 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.
> 
> This does not seem to be the case: when I explicitly ask for gl, I am
> able to take screenshots (without the vf=screenshot setting in
> ~/.mplayer/config).

Let's put it this way: since vdpau is selected -vf screenshot is not passed to
mplayer. Your hardware doesn't support vdpau, so the fallback gl is used.
However, with gl you need -vf screenshot.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to