IMVSCVideoControl
The IMVSCVideoControl interface contains methods to control outputs from video source devices.
Methods:
| GetVideoControlCaps | The GetVideoControlCaps method retrieves the capabilities of the underlying hardware. |
| GetVideoControlMode | The GetVideoControlMode method retrieves the video control mode of operation. |
| SetVideoControlMode | The SetVideoControlMode method sets the video control mode of operation. |
Typelib: MVSmartControl
Video Control Flags
| Flag |
Value |
Description |
| MV_SCVC_FLIPHORIZONTAL | 1 | Specifies that the picture is flipped horizontally. |
| MV_SCVC_FLIPVERTICAL | 2 | Specifies that the picture is flipped vertically. |
| MV_SCVC_EXTERNAL_TRIGGER_ENABLE | 4 | Sets up a stream to capture a trigger from an external source, for example, a push button on a camera. |
| MV_SCVC_TRIGGER | 8 | In software, simulates an external trigger when the stream has the VideoControlFlag_ExternalTriggerEnable flag set. |
Method
IMVSCVideoControl::GetVideoControlCaps
Declaration: Function GetVideoControlCaps(SourceFilter As String) As LongThe GetVideoControlCaps method retrieves the capabilities of the underlying hardware.
Parameter:
C Prototype:
SourceFilter Label from the video source within the filter graph configuration. HRESULT GetVideoControlCaps(BSTR SourceFilter, LONG* value);
Method IMVSCVideoControl::GetVideoControlMode
Declaration: Function GetVideoControlMode(SourceFilter As String) As LongThe GetVideoControlMode method retrieves the video control mode of operation.
Parameter:
C Prototype:
SourceFilter Label from the video source within the filter graph configuration. HRESULT GetVideoControlMode(BSTR SourceFilter, LONG* value);
Method IMVSCVideoControl::SetVideoControlMode
Declaration: Sub SetVideoControlMode(SourceFilter As String, Mode As Long)The SetVideoControlMode method sets the video control mode of operation.
Parameter:
C Prototype:
SourceFilter Label from the video source within the filter graph configuration. Mode Video control flags. HRESULT SetVideoControlMode(BSTR SourceFilter, LONG Mode);