On Thursday 13 March 2008, Dâniel Fraga wrote:
> On Thu, 13 Mar 2008 17:50:41 -0300
>
> Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote:
> > Capturing a still image doesn't seem to be hard. I'm not sure what's the
> > proper way to implement it either. One alternative for the webcam button
> > is to use event interface, like we do with IR controls. Not sure if this
> > is the better way.
>
>       Thanks for answering Mauro!
>
>       Is there any other suggestions about how to best implement it?
>
>       The event interface is interesting because it would be
> transparent, right?

The event interface would notify applications that a button event has been 
generated by the camera. It would not let the driver push a still image to 
userspace.

>       Anyway, when I get my cam, if you developers want, I can do any
> necessary tests. Thank you everybody.

The problem is that V4L2 doesn't expose a still image capture API, so still 
image capture in the driver can't be interfaced to userspace in a standard 
way yet.

This being said, the UVC specification describes several still image capture 
methods. The one implemented by Logitech webcams is the simplest one, which 
just takes the next frame from the active video stream. With a way to get 
button events, a userspace application could easily implement that.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to