mediaFoundationVideoProcessorSetInputMediaType

Typecommand
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationVideoProcessorSetInputMediaType <pVideoProcessorID>, <pMediaTypeID>
Associationsmediafoundation
Summary

Set the current input media type Platform:desktop

OSwindows
Parameters
NameTypeDescription
pVideoProcessorID

A video processor ID

pMediaTypeID

A media type ID

Values
NameTypeDescription
The result

True if the video processor supports the input media type for the current input media type

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor
Description

To setup the pipeline for transcoding we must find an a reader output media type that is supported by the video processor as an input media type and a writer input media type that is supported by the video processor as an output media type.

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