Skip to content

Analog Video standards

A video capture device exposes analog video standards when IsAnalogVideoDecoderAvailable returns true.

The analog video standards available usually differ from one video capture device to another: e.g. a device can expose 3 standards, "PAL", "NTSC" and "SECAM", whereas another device exposes 2 standards, "PAL" and "NTSC".

Sample code:

...
VideoGrabber.VideoDevice = VideoGrabber.VideoDeviceIndex ("ATI T200 AVStream Analog Capture (WDM)")
VideoGrabber.AnalogVideoStandard = VideoGrabber.AnalogVideoStandardIndex ("PAL B")
VideoGrabber.VideoSize = VideoGrabber.VideoSizeIndex ("320x240")
VideoGrabber.FrameRate = 25
VideoGrabber.StartPreview

AnalogVideoStandard is device-dependent: set it only after selecting the current video capture device (by assigning the VideoDevice index in the VideoDevices list).

Note

Any listbox that shows the analog video standards of the current video capture device should be refreshed with AnalogVideoStandards (AnalogVideoStandard is the current index in this list) when the OnVideoDeviceSelected event occurs.

See the MainDemo project for sample code.