Share via


IWMEncVideoSource2 Interface

Windows Media Encoder SDK banner art

The IWMEncVideoSource2 interface manages the live video image, including its dimensions and pixel aspect ratio, and specifies the properties when using a TV-tuner capture card. Windows Media Encoder works with most capture devices that have Video for Windows (VFW) or Windows Driver Model (WDM) drivers. For a current list of supported audio and video capture cards, see the hardware providers page at the Microsoft Web site.

In addition to the methods inherited from the IWMEncSource and IWMEncVideoSource interfaces, the IWMEncVideoSource2 interface exposes the following properties and method.

Property Description
Channel Specifies and retrieves the television channel number for a TV-tuner capture card.
ChannelMax Retrieves the highest available channel when using a TV tuner capture card.
ChannelMin Retrieves the lowest available channel when using a TV tuner capture card.
Country Specifies and retrieves the country/region code for a TV-tuner capture card.
Duration Retrieves the duration of the video input file.
Height Specifies and retrieves the height of a live video image.
Input Specifies and retrieves the type of input for a TV-tuner capture card.
PixelAspectRatioX Specifies and retrieves the x value of the pixel aspect ratio.
PixelAspectRatioY Specifies and retrieves the y value of the pixel aspect ratio.
PreProcessPass Specifies and retrieves the preprocess pass count.
TVFormat Specifies and retrieves a value indicating the TV format used by a TV-tuner capture card.
TVType Specifies and retrieves a value indicating whether the TV-tuner capture card uses cable or antenna reception.
Width Specifies and retrieves the width of a live video image.
Method Description
EnumerateInputs Retrieves the collection of available inputs for the TV tuner capture card.

See Also