GNOME Bugzilla – Bug 649849
v4l2src: missing some controls for V4L2_CID_*
Last modified: 2013-07-18 09:14:58 UTC
The v4l2src element probes the device to decide which controls to expose via it's GstColorBalance interface. There are a lot of V4L2 parameters that would be nice to control via GStreamer that we do not expose. Adding them to the switch statement in gst_v4l2_fill_lists() in sys/v4l2/v4l2_calls.c would expose them to GStreamer and make the underlying V4L2 control parameters useful. Good ones to add include: V4L2_CID_EXPOSURE_AUTO V4L2_CID_EXPOSURE_ABSOLUTE V4L2_CID_EXPOSURE_AUTO_PRIORITY V4L2_CID_FOCUS_ABSOLUTE V4L2_CID_FOCUS_RELATIVE V4L2_CID_FOCUS_AUTO V4L2_CID_ZOOM_ABSOLUTE V4L2_CID_ZOOM_RELATIVE V4L2_CID_ZOOM_CONTINUOUS
Totally agree. Those should be exposed via GstPhotoGraphy interface which we would need to get moved to base then.
Duplicate of bug #545519 ?
Also there's generic support for arbitrary CIDs now: commit 0fb59275b0e6d264fa971b077cdee11362f819e1 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Mon May 20 16:45:37 2013 +0200 v4l2: add a property for arbitrary v4l2 controls This makes it possible to set any controls that can be set with VIDIOC_S_CTRL. The controls are set when the property is set (if the device is open) and when the device is opened. https://bugzilla.gnome.org/show_bug.cgi?id=698837 Still a nicer interface would be great, and that's bug #545519 *** This bug has been marked as a duplicate of bug 545519 ***