v4l2 user controls

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Feb 2 08:06:47 PST 2012


On Thu, 2012-02-02 at 10:20 -0500, Kavalauskas, Matthew (GE Healthcare)
wrote:

> I haven’t received a response, so I thought I’d ask again.
>
> I would like to access v4l2 user controls
> (http://v4l2spec.bytesex.org/spec-single/v4l2.html#CONTROL) other than
> brightness, contrast, saturation, and hue are supported.  Do I need to
> add those controls to gstv4l2object.c or is there another way?
> 

The might be to get the file descriptor from v4l2src using the "fd"
property and then call ioctls() on that yourself (might need to block
some pad somewhere to make sure v4l2src is not doing stuff on the fd at
the same time in the streaming thread).

Cheers
 -Tim



More information about the gstreamer-devel mailing list