Camera exposure

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Camera exposure

Ian Liu Rodrigues
Hi list!

This is my first mail to the list, salut.

I would like to know if it is possible to control some USB webcam properties, such as exposure time. I see there is an interface called GstPhotography but it seems the "camerabin" element does not implement it.

Thanks and cheers,
Ian L.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Camera exposure

Stefan Sauer
On 07/06/11 07:12, Ian Liu Rodrigues wrote:
Hi list!

This is my first mail to the list, salut.

I would like to know if it is possible to control some USB webcam properties, such as exposure time. I see there is an interface called GstPhotography but it seems the "camerabin" element does not implement it.
Yes, ideally the camera-source elements would need to implement it. Right now v4l2src cannot implement it easily as the interface is in bad. It would be good to add a copy to v4l2src and implement the iface to see how well it goes, then the interface should go to base and the copies get removed.

Stefan

Thanks and cheers,
Ian L.
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Camera exposure

Ian Liu Rodrigues
The implementation of the interface would require knowledge in Linux drivers or is there already a layer between the driver and GStreamer?

Cheers,
Ian L.

On Thu, Jul 7, 2011 at 2:46 AM, Stefan Kost <[hidden email]> wrote:
On 07/06/11 07:12, Ian Liu Rodrigues wrote:
Hi list!

This is my first mail to the list, salut.

I would like to know if it is possible to control some USB webcam properties, such as exposure time. I see there is an interface called GstPhotography but it seems the "camerabin" element does not implement it.
Yes, ideally the camera-source elements would need to implement it. Right now v4l2src cannot implement it easily as the interface is in bad. It would be good to add a copy to v4l2src and implement the iface to see how well it goes, then the interface should go to base and the copies get removed.

Stefan

Thanks and cheers,
Ian L.
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Camera exposure

Stefan Sauer
On 07/07/11 05:59, Ian Liu Rodrigues wrote:
The implementation of the interface would require knowledge in Linux drivers or is there already a layer between the driver and GStreamer?

Most of the setting in the interface would be mapped to v4l2-controls. Have a look at the v4l2src source code and checkout how e.g. the videobalance interface works. You would need to do the same for additional controls. Its all user-space code, no driver modifications needed.

Stefan

Cheers,
Ian L.

On Thu, Jul 7, 2011 at 2:46 AM, Stefan Kost <[hidden email]> wrote:
On 07/06/11 07:12, Ian Liu Rodrigues wrote:
Hi list!

This is my first mail to the list, salut.

I would like to know if it is possible to control some USB webcam properties, such as exposure time. I see there is an interface called GstPhotography but it seems the "camerabin" element does not implement it.
Yes, ideally the camera-source elements would need to implement it. Right now v4l2src cannot implement it easily as the interface is in bad. It would be good to add a copy to v4l2src and implement the iface to see how well it goes, then the interface should go to base and the copies get removed.

Stefan

Thanks and cheers,
Ian L.
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel