|
IMVSCAnalogVideoFormat
The IMVSCAnalogVideoFormat interface contains methods and
properties to configure the analog video format parameter. This
interface is normally used with analog capture cards.
Methods:
Typelib: MV SmartControl
Analog Video 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
IMVSCAnalogVideoFormat::GetAvailableTVFormats
Declaration:
Function GetAvailableTVFormats(SourceFilter As String) As Long
Retrieves the supported analog video formats.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT GetAvailableTVFormats(BSTR
SourceFilter, LONG* value);
Method
IMVSCAnalogVideoFormat::GetDefaultFormat
Declaration:
Function GetDefaultFormat As Long
Retrieves the default format
for the default country.
C Prototype:
HRESULT GetDefaultFormat(LONG*
value);
Method
IMVSCAnalogVideoFormat::GetFormatByCountry
Declaration:
Function GetFormatByCountry(CountyCode As Long) As Long
Retrieves the default analog video format for a country.
Parameter:
|
|
CountyCode |
Country (telephon) code for the region, e.g 1
for USA or 49 for Germany. |
C Prototype:
HRESULT GetFormatByCountry(LONG
CountyCode, LONG* value);
Method
IMVSCAnalogVideoFormat::GetHorizontalLocked
Declaration:
Function GetHorizontalLocked(SourceFilter As String) As Long
Determines whether the horizontal sync is locked
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT GetHorizontalLocked(BSTR
SourceFilter, LONG* value);
Method
IMVSCAnalogVideoFormat::GetOutputEnable
Declaration:
Function GetOutputEnable(SourceFilter As String) As Long
Determines whether the video port bus is enabled.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT GetOutputEnable(BSTR
SourceFilter, LONG* value);
Method
IMVSCAnalogVideoFormat::GetTVFormat
Declaration:
Function GetTVFormat(SourceFilter As String) As Long
Retrieves the current analog
video format.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT GetTVFormat(BSTR SourceFilter,
LONG* value);
Method
IMVSCAnalogVideoFormat::GetVCRHorizontalLocking
Declaration:
Function GetVCRHorizontalLocking(SourceFilter As String) As Long
Indicates whether the decoder is expecting video from a tape
source or a broadcast source.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT GetVCRHorizontalLocking(BSTR
SourceFilter, LONG* value);
Method
IMVSCAnalogVideoFormat::IsAnalogVideoAvailable
Declaration:
Function IsAnalogVideoAvailable(SourceFilter As String) As Boolean
Check if the source filter supports this interface.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT IsAnalogVideoAvailable(BSTR
SourceFilter, VARIANT_BOOL* value);
Method
IMVSCAnalogVideoFormat::SetDefaultFormat
Declaration: Sub
SetDefaultFormat(SourceFilter As String)
Set the default video format incl. resolution and framerate for
a capture device.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
C Prototype:
HRESULT SetDefaultFormat(BSTR
SourceFilter);
Method
IMVSCAnalogVideoFormat::SetOutputEnable
Declaration: Sub
SetOutputEnable(SourceFilter As String, Enable As Long)
Enables or disables the video port bus.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
|
|
Enable |
Enable the video port bus. |
C Prototype:
HRESULT SetOutputEnable(BSTR
SourceFilter, LONG Enable);
Method
IMVSCAnalogVideoFormat::SetTVFormat
Declaration: Sub
SetTVFormat(SourceFilter As String, Format As Long)
Sets the analog video format.
Parameter:
C Prototype:
HRESULT SetTVFormat(BSTR SourceFilter,
LONG Format);
Method
IMVSCAnalogVideoFormat::SetVCRHorizontalLocking
Declaration: Sub
SetVCRHorizontalLocking(SourceFilter As String, Value As Long)
Specifies whether the video is a tape source or a broadcast
source.
Parameter:
|
|
SourceFilter |
Label of the source filter. |
|
|
Value |
0 - The video is from a broadcast source.
1 - The video is from a tape source. |
C Prototype:
HRESULT SetVCRHorizontalLocking(BSTR
SourceFilter, LONG Value);
|