Web lists-archives.com

Camera Configurations




Hello,

I'm developing a game which uses a PSEye (Camera) in Ubuntu. I'm able
to play what the camera captures in the game but the camera is auto
adjusting its gain (V4L2_CID_AUTOGAIN). I don't want this behavior. I
intend to disable AUTOGAIN with v4l2 and get the frames with
gstreamer.

I've programmed this:

if((ret = query_ioctl(hdevice, currentctrl, &queryctrl)) == 0)

but this fails, meaning that "NEXT_CTRL flag not supported". How can I
easily disable autogain?

The code I tried to run is in here: http://gitorious.org/cameractls

Thanks in advance.


-- 
Marlos Cholodovskis Machado

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list