IMVSCSetupVideoStream2
The IMVSCVideoWindow2 Interface extends the IMVSCSetupVideoStream interface.
Methods:
| GetAvailableFrameRate | Get a avaiable frame rate |
| GetAvailableFrameRateCount | Get the avaiable frame rate count. |
| GetCurrentFrameRate | Get the current frame duration in seconds. |
| GetFrameInterval | Get the current frame interval. |
| GetFrameIntervalD | Get the current frame interval as double value. |
| GetFrameIntervalRange | Get the frame interval range from a video format and size combination. |
| GetMaxAvailableFrameRate | Get the maximum frame rate for a video format and size. |
| GetVideoStreamCaps | Get the video source capabilities. |
| GetVideoStreamCapsCount | Count of available video stream capabitilties. |
| SetFrameInterval | Set the current frame interval. |
| SetFrameIntervalD | Set the current frame interval. |
| SetVideoResolution | Set the video resolution and standard for a video source. |
Typelib: MV SmartControl
AnalogVideo Standard Table
| Video Standard |
Value |
Description |
| MV_VIDEOSTANDARD_NONE |
0x00000000 |
|
| MV_VIDEOSTANDARD_NTSC_M |
0x00000001 |
NTSC (M) standard, 7.5 IRE black |
| MV_VIDEOSTANDARD_NTSC_M_J |
0x00000002 |
NTSC (M) standard, 0 IRE black (Japan) |
| MV_VIDEOSTANDARD_NTSC_433 |
0x00000004 |
NTSC-433 |
| MV_VIDEOSTANDARD_PAL_B |
0x00000010 |
PAL-B standard |
|
MV_VIDEOSTANDARD_PAL_D |
0x00000020 |
PAL (D) standard |
| MV_VIDEOSTANDARD_PAL_H |
0x00000080 |
PAL (H) standard |
| MV_VIDEOSTANDARD_PAL_I |
0x00000100 |
PAL (I) standard |
| MV_VIDEOSTANDARD_PAL_M |
0x00000200 |
PAL (M) standard |
| MV_VIDEOSTANDARD_PAL_N |
0x00000400 |
PAL (N) standard |
| MV_VIDEOSTANDARD_PAL_60 |
0x00000800 |
PAL-60 standard |
| MV_VIDEOSTANDARD_SECAM_B |
0x00001000 |
SECAM (B) standard |
| MV_VIDEOSTANDARD_SECAM_D |
0x00002000 |
SECAM (D) standard |
| MV_VIDEOSTANDARD_SECAM_G |
0x00004000 |
SECAM (G) standard |
| MV_VIDEOSTANDARD_SECAM_H |
0x00008000 |
SECAM (H) standard |
| MV_VIDEOSTANDARD_SECAM_K |
0x00010000 |
SECAM (K) standard |
| MV_VIDEOSTANDARD_SECAM_K1 |
0x00020000 |
SECAM (K1) standard |
| MV_VIDEOSTANDARD_SECAM_L |
0x00040000 |
SECAM (L) standard |
| MV_VIDEOSTANDARD_SECAM_L1 |
0x00080000 |
SECAM (L1) standard |
| MV_VIDEOSTANDARD_PAL_N_COMBO |
0x00100000 |
Combination (N) PAL standard (Argentina) |
Method
IMVSCSetupVideoStream2::GetAvailableFrameRate
Declaration: Function GetAvailableFrameRate(SourceFilter As String, Format As Long, Size As Long, Index As Long) As DoubleGet a avaiable frame durations in seconds.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Format Video format index. Size Video size index. Index Frame rate index. HRESULT GetAvailableFrameRate(BSTR SourceFilter, LONG Format, LONG Size, LONG Index, DOUBLE* value);
Method IMVSCSetupVideoStream2::GetAvailableFrameRateCount
Declaration: Function GetAvailableFrameRateCount(SourceFilter As String, Format As Long, Size As Long) As LongGet the avaiable frame rate count.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Format Video format index. Size Video size index. HRESULT GetAvailableFrameRateCount(BSTR SourceFilter, LONG Format, LONG Size, LONG* value);
Method IMVSCSetupVideoStream2::GetCurrentFrameRate
Declaration: Function GetCurrentFrameRate(SourceFilter As String) As DoubleGet the current frame duration in seconds.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. HRESULT GetCurrentFrameRate(BSTR SourceFilter, DOUBLE* value);
Method IMVSCSetupVideoStream2::GetFrameInterval
Declaration: Function GetFrameInterval(SourceFilter As String) As EmptyGet the current frame interval.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. HRESULT GetFrameInterval(BSTR SourceFilter, EMPTY* value);
Method IMVSCSetupVideoStream2::GetFrameIntervalD
Declaration: Function GetFrameIntervalD(SourceFilter As String) As DoubleGet the current frame interval as double value.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. HRESULT GetFrameIntervalD(BSTR SourceFilter, DOUBLE* value);
Method IMVSCSetupVideoStream2::GetFrameIntervalRange
Declaration: Sub GetFrameIntervalRange(SourceFilter As String, Format As Long, Size As Long, min As Empty, max As Empty)Get the frame interval range from a video format and size combination.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Format Video format index. Size Video size index. min Minimum frame duration in 100 nano seconds units. max Maximum frame duration in 100 nano seconds units. HRESULT GetFrameIntervalRange(BSTR SourceFilter, LONG Format, LONG Size, LONGLONG* min, LONGLONG* max);
Method IMVSCSetupVideoStream2::GetMaxAvailableFrameRate
Declaration: Function GetMaxAvailableFrameRate(SourceFilter As String, Format As Long, Size As Long) As DoubleGet the maximum frame duration for a video format and size in seconds.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Format Video format index. Size Video size index. HRESULT GetMaxAvailableFrameRate(BSTR SourceFilter, LONG Format, LONG Size, DOUBLE* value);
Method IMVSCSetupVideoStream2::GetVideoStreamCaps
Declaration: Sub GetVideoStreamCaps(SourceFilter As String, Index As Long, VideoStandard As Long, MinWidth As Long, MinHeight As Long, MaxWidth As Long, MaxHeight As Long, WidthGranularity As Long, HeightGranularity As Long, MinFrameInterval As Double, MaxFrameInterval As Double)Get the video source capabilities.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Index Stream devive capability index. VideoStandard Video standard from the table above. MinWidth Min. video frame width. MinHeight Min. video frame height. MaxWidth Max video frame width. MaxHeight Max video frame height. WidthGranularity Width granularity for video frame width. HeightGranularity Height granularity for video frame width. MinFrameInterval Min frame interval in seconds. MaxFrameInterval Max frame interval in seconds. HRESULT GetVideoStreamCaps(BSTR SourceFilter, LONG Index, LONG* VideoStandard, LONG* MinWidth, LONG* MinHeight, LONG* MaxWidth, LONG* MaxHeight, LONG* WidthGranularity, LONG* HeightGranularity, DOUBLE* MinFrameInterval, DOUBLE* MaxFrameInterval);
Method IMVSCSetupVideoStream2::GetVideoStreamCapsCount
Declaration: Function GetVideoStreamCapsCount(SourceFilter As String) As LongCount of available video stream capabitilties.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. HRESULT GetVideoStreamCapsCount(BSTR SourceFilter, LONG* value);
Method IMVSCSetupVideoStream2::SetFrameInterval
Declaration: Sub SetFrameInterval(SourceFilter As String, Interval As Empty)Set the current frame interval.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Interval Video frame interval in 100 nano second units. HRESULT SetFrameInterval(BSTR SourceFilter, LONGLONG Interval);
Method IMVSCSetupVideoStream2::SetFrameIntervalD
Declaration: Sub SetFrameIntervalD(SourceFilter As String, Interval As Double)Set the current frame interval.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Interval Frame interval in seconds. HRESULT SetFrameIntervalD(BSTR SourceFilter, DOUBLE Interval);
Method IMVSCSetupVideoStream2::SetVideoResolution
Declaration: Sub SetVideoResolution(SourceFilter As String, Width As Long, Height As Long, VideoStandard As Long)Set the video resolution and standard for a video source.
Parameter:
C Prototype:
SourceFilter Label from the video source filter within the filter graph. Width Video frame width in pixel. Height Video frame height in pixel. VideoStandard Video standard from the table above. HRESULT SetVideoResolution(BSTR SourceFilter, LONG Width, LONG Height, LONG VideoStandard);