mediaFoundationVideoProcessorSetSourceRect

Typecommand
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationVideoProcessorSetSourceRect <pVideoProcessorID>, <pLeft>, <pTop>, <pRight>, <pBottom>
Associationsmediafoundation
Summary

Set the source rect of the video processor Platform:desktop

OSwindows
Parameters
NameTypeDescription
pVideoProcessorID

A video processor id

pLeft

The left of the source rect

pTop

The top of the source rect

pRight

The right of the source rect

pBottom

The bottom of the source rect

The result (c-string): An error string if an error occured

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor
Description

Set the source and destination rect when transcoding video from one frame size to another.

Note:See the mediaFoundationTranscode documentation for a complete example of using this handler.