Share via


IWMEncVideoSource Interface

Windows Media Encoder SDK banner art

The IWMEncVideoSource interface allows you to crop video images to eliminate noise that often occurs at the edges of video streams and imported images. The cropped image is adjusted to fill the destination size specified in the associated profile.

In addition to the properties inherited from the IWMEncSource interface, the IWMEncVideoSource interface exposes the following properties.

Property Description
CroppingBottomMargin Specifies and retrieves the number of rows to be removed from the bottom edge of an image.
CroppingLeftMargin Specifies and retrieves the number of rows to be removed from the left edge of an image.
CroppingMode Specifies and retrieves a value that indicates the image cropping mode.
CroppingRightMargin Specifies and retrieves the number of rows to be removed from the right edge of an image.
CroppingTopMargin Specifies and retrieves the number of rows to be removed from the top edge of an image.
Optimization Specifies and retrieves the type of video optimization performed during the encoding process.
PixelFormat Specifies and retrieves the pixel format for the video image.

See Also