Video Methods

Video Methods control Video-related functionality in the class.

Method Parameters Return Value Function
ShowVideoSettingsDialog --- --- Displays the Video Settings dialog.
ShowVideoSettingsDialog --- String Displays the Video Settings dialog and returns the name of the Video device upon dismissal of the dialog.
VideoCompressionType Assigns Type as String --- Used to set the Video compression of the current device. Type is a four character code that corresponds to a particular compression type. Consult the QuickTime documentation for a list of valid compression types.
(e.g. "avc1", "jpeg", etc...)
VideoCompressionType --- String Returns a four character string that represents the type of compression currently in use. Consult the QuickTime documentation for a list of valid compression types.
(e.g. "avc1", "jpeg", etc...)
VideoDepth Assigns Count as Integer --- Sets the video depth of the current video device.
VideoDepth --- Integer Returns the video depth of the current video device.
VideoDevice Index as Integer String Returns the name of a Video device based on its zero-based index.
VideoDeviceAvailable Index as Integer Boolean Returns the availability of a Video device based on its zero-based index.
VideoDeviceCount --- Integer Returns the number of available video devices.
VideoDeviceName --- String Returns the name of the currently selected video device.
VideoDeviceSelected --- Integer Returns the zero-based index of the currently selected device.
VideoEnabled Assigns Active as Boolean --- Sets the enabled status of the currently selected video device.
VideoEnabled --- Boolean Returns the enabled status of the currently selected video device.
VideoFlipHorizontal Assigns Active as Boolean --- Sets the horizontal flip status of the currently selected video device preview.
VideoFlipHorizontal --- Boolean Returns the horizontal flip status of the currently selected video device preview.
VideoFlipVertical Assigns Active as Boolean --- Sets the vertical flip status of the currently selected video device preview.
VideoFlipVertical --- Boolean Returns the vertical flip status of the currently selected video device preview.
VideoRotate b as boolean, angle as integer --- Toggles rotate on and off with the boolean value and rotates the video by angle degrees if TRUE.
VideoRotate --- Boolean Returns TRUE if video is currently being rotate, FALSE if not.
VideoFrameRate Assigns FrameRate as Double --- Sets the frame rate of the currently selected video device.
VideoFrameRate --- Double Returns the frame rate of the currently selected video device.
VideoHeight --- Integer Returns the height of the currently selected video device.
VideoKeyframeRate Assigns FrameRate as Integer --- Sets the keyframe rate of the currently selected video device.
VideoKeyframeRate --- Integer Returns the keyframe rate of the currently selected video device.
VideoPreview Assigns Preview as Boolean --- Sets the preview status of the currently selected video device.
VideoPreview --- Boolean Returns the preview status of the currently selected video device.
VideoRecordSize Width as Integer, Height as Integer --- Sets the dimensions at which the sequence grabber captures video.
VideoSourceHeight --- Integer Returns the source height of the currently selected video device.
VideoSourceWidth --- Integer Returns the source width of the currently selected video device.
VideoSpatialQuality Assigns Spatial as Integer --- Sets the spatial quality of the next video capture.
VideoSpatialQuality --- Integer Returns the spatial quality.
VideoTemporalQuality Assigns Temporal as Integer --- Sets the temporal quality of the next video capture.
VideoTemporalQuality --- Integer Returns the temporal quality.
VideoWidth --- Integer Returns the width of the currently selected video device.

Analog Video Settings

The following chart lists the available analog video settings.
NOTE: Because these features are hardware-dependent, not all devices will respond to these methods.

Method Parameters Return Value Function
VideoBlackLevel Assigns BlackLevel as Integer --- Sets the BlackLevel of the current video device.
VideoBlackLevel --- Integer Returns the BlackLevel of the current video device.
VideoBlackLevelDefault --- Integer Returns the default BlackLevel value for the current video device.
VideoBlackLevelMax --- Integer Returns the maximum BlackLevel value for the current video device.
VideoBlackLevelMin --- Integer Returns the minimum BlackLevel value for the current video device.
VideoBrightness Assigns Brightness as Integer --- Sets the brightness of the current video device.
VideoBrightness --- Integer Returns the brightness of the current video device.
VideoBrightnessDefault --- Integer Returns the default brightness value for the current video device.
VideoBrightnessMax --- Integer Returns the maximum brightness value for the current video device.
VideoBrightnessMin --- Integer Returns the minimum brightness value for the current video device.
VideoContrast Assigns Contrast as Integer --- Sets the Contrast of the current video device.
VideoContrast --- Integer Returns the Contrast of the current video device.
VideoContrastDefault --- Integer Returns the default Contrast value for the current video device.
VideoContrastMax --- Integer Returns the maximum Contrast value for the current video device.
VideoContrastMin --- Integer Returns the minimum Contrast value for the current video device.
VideoHue Assigns Hue as Integer --- Sets the Hue of the current video device.
VideoHue --- Integer Returns the Hue of the current video device.
VideoHueDefault --- Integer Returns the default Hue value for the current video device.
VideoHueMax --- Integer Returns the maximum Hue value for the current video device.
VideoHueMin --- Integer Returns the minimum Hue value for the current video device.
VideoSaturation Assigns Saturation as Integer --- Sets the Saturation of the current video device.
VideoSaturation --- Integer Returns the Saturation of the current video device.
VideoSaturationDefault --- Integer Returns the default Saturation value for the current video device.
VideoSaturationMax --- Integer Returns the maximum Saturation value for the current video device.
VideoSaturationMin --- Integer Returns the minimum Saturation value for the current video device.
VideoSharpness Assigns Sharpness as Integer --- Sets the Sharpness of the current video device.
VideoSharpness --- Integer Returns the Sharpness of the current video device.
VideoSharpnessDefault --- Integer Returns the default Sharpness value for the current video device.
VideoSharpnessMax --- Integer Returns the maximum Sharpness value for the current video device.
VideoSharpnessMin --- Integer Returns the minimum Sharpness value for the current video device.
VideoWhiteLevel Assigns WhiteLevel as Integer --- Sets the WhiteLevel of the current video device.
VideoWhiteLevel --- Integer Returns the WhiteLevel of the current video device.
VideoWhiteLevelDefault --- Integer Returns the default WhiteLevel value for the current video device.
VideoWhiteLevelMax --- Integer Returns the maximum WhiteLevel value for the current video device.
VideoWhiteLevelMin --- Integer Returns the minimum WhiteLevel value for the current video device.

IIDC Video Settings

The following chart lists the available IIDC video settings.
NOTE: Because these features are hardware-dependent, not all IIDC devices will respond to these methods.

Method Parameters Return Value Function
IIDCFeature theFeature as OSType, featureValue as integer --- Sets the the IIDC parameter denoted by theFeature to a value of featureValue. Consult the demonstration project for a list of IIDC OSTypes.
IIDCFeatureMaximum theFeature as OSType integer Returns the maximum setting for a particular IIDC parameter. Consult the demonstration project for a list of IIDC OSTypes.
IIDCFeatureMinimum theFeature as OSType integer Returns the maximum setting for a particular IIDC parameter. Consult the demonstration project for a list of IIDC OSTypes.
IIDCFeatureValue theFeature as OSType integer Returns the current value of a particular IIDC parameter. Consult the demonstration project for a list of IIDC OSTypes.
isIIDC -- Boolean Returns TRUE if the current device is compatible with the IIDC specification.
isIIDCFeatureSupported theFeature as OSType Boolean Returns TRUE if a particular IIDC parameter is supported by the current video device. Returns FALSE if it does not.

Real Capture Canvas is Copyright (c)2006 SONICAMIGOS.COM.
SONICAMIGOS.COM is not affiliated with Real Software. REALbasic is a registered trademark of Real Software, Inc.