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