Docs @ Psychtoolbox Wiki : SetVideoCaptureParameter

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Screen('SetVideoCaptureParameter')

PsychtoolboxScreen.{mex*,dll} subfunction

Usage
oldvalue = Screen('SetVideoCaptureParameter', capturePtr, 'parameterName' [, value]);

Set video capture parameter 'parameterName' on video capture device
'capturePtr'. If 'value' is provided, then the parameter is set to 'value' and
the parameter is switched to manual control mode. If 'value' is left out, then
the current setting of 'parameterName' is queried and returned. If
'parameterName' starts with the word 'Auto' then the parameter is switched to
automatic control, if supported. In any case, the old value is returned. Type
and range of supported capture parameters varies between different capture
devices and operating systems. Your specific device may only support a subset
(or none) of the available parameters. If you specify an unsupported
'parameterName', your request will be silently ignored, except that the return
value is set to DBL_MAX - a very high number. The following settings are
currently available on devices that support them: 'Brightness', 'Gain',
'Exposure', 'Shutter', 'Sharpness', 'Saturation', 'Gamma'. The special setting
'PrintParameters' prints all features to the command window. 'GetVendorname' and
'GetModelname' return the name of the device vendor, resp. the device model
name. 'GetROI' returns the capture region of interest (ROI), which can deviate
from the ROI requested in Screen('OpenVideoCapture'), depending on the
capabilities of the capture device. 'GetFramerate' Returns the nominal capture
rate of the capture device.
'SetNewMoviename=xxx' Will change the name of the videofile used for video
recording to xxx. This allows you to change target files for video recordings
without the need to close and reopen the capture device. You must stop capture
though and then restart it after assigning a new filename.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0598 seconds