[AG-DEV] Additional Grabber settings

Douglas Kosovic douglask at itee.uq.edu.au
Tue Aug 7 05:51:51 CDT 2007


On Fri, 2007-06-29 at 10:48 -0700, Todd Zimmerman wrote:
> Jason Bell wrote:
> > G'day All
> > 
> > I don't know if there is an equivalent under windows or whatever, but I
> > notice with V4L2, there are some additional grabber controls, these
> > being Gamma and Gain.
> > 
> > What is the chance of making these potentially a savable configuration
> > item???
> > 
> > As I find I have to adjust my USB camera setting each time when vic
> > starts.  Does vic have a default file like rat has????  Or should I
> > create a vic.tcl file to configure these settings????   
> 
> 
> Here, here!  After using the new Vic for the last few weeks - and having
> to set this every time I change venues... I could _really_ use a way
> to set this automatically.

There was a Tcl gamma global variable and vic resource that was used by
vic's renderer code that clashed with the V4L2 grabber's gamma
variable/resource. I've checked in the changes to SUMOVER SVN.

The PWC driver seems to remember the V4L2 settings between changing
virtual venues (although the sliders in vic's V4L and V4L2 panels don't
reflect the actual values of the corresponding V4L/V4L2 control until
the slider is actually moved).

Adding a gamma slider for the Video (or VideoProducer) service is
complicated as python code would need to be added to interrogate the
Vl42 device to determine the min and max gamma values (which varies with
V4L2 devices).


Cheers,
Doug





More information about the ag-dev mailing list