hoi,
i'm grabbing frames from a Terratec Terracam X2 webcam. it complies
with the UVC standard, so just works.
however, i'd like to be able to manually control certain features such
as whitebalance, exposure etc. but currently there's no standard
interface to those features in osx, either through sequence grabber or
otherwise.
according to one of the Terratec-developers, on Windows you can
control these camera-features through the MS VideoProcAmp API.
i'm not exactly a usb-device-driver expert, but i'm wondering what the
options are for creating my own interface.
where should i look if i wanted to talk to the camera to control such
features? would it be a feasible task for someone without any
experience in the field? (i'm not afraid and don't mind a little
studying)
and is it even possible to do that, while also capturing video from
the device using apples' drivers?
or is it all a little more complicated than i'm hoping/thinking?
posts on Quicktime-API list seem to suggest it's not possible, but
they only look at handling things through VDIG/seqeunce grabber, and
not at talking to the device directly using IOKit.
thanks,
arri
------
output of USB Prober:
High Speed device @ 2 (0xFD300000):
............................................. Miscellaneous/Common
Class device: "TerraTec TerraCam X2\000"
Device Descriptor
Configuration Descriptor
Length (and contents): 783
Number of Interfaces: 5
Configuration Value: 1
Attributes: 0x80 (bus-powered)
MaxPower: 500 ma
Interface Association Video/Interface Collection
Interface #0 - Video/Control
Alternate Setting 0
Number of Endpoints 1
Interface Class: 14 (Video)
Interface Subclass; 1 (Control)
Interface Protocol: 0
VDC (Control) Header
VDC (Control) Input Terminal
Length (and contents): 18
bDescriptorType: 0x24
bDescriptorSubType: 0x2
Terminal ID 1
Input Terminal Type: 0x201 (Camera Sensor)
Input Terminal ID: 0 [NONE]
Input Terminal String Index: 0 [NONE]
Minimum Focal Length 0
Maximum Focal Length 0
Ocular Focal Length 0
Controls Supported Description
Auto Exposure Mode
Exposure Time (Relative)
VDC (Control) Processing Unit
Length (and contents): 12
bDescriptorType: 0x24
bDescriptorSubType: 0x5
Unit ID: 3
Source ID: 1
Digital Multiplier (100X): 0
Controls Supported Description
Brightness
Contrast
Saturation
Sharpness
Gamma
White Balance Temperature
Power Line Frequency
White Balance Temperature, Auto
Processing Unit String Index: 0 [NONE]
VDC (Control) Extension Unit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden