mediaFoundationVideoProcessorGetOutputAvailableMediaType

Typefunction
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationVideoProcessorGetOutputAvailableMediaType(<pVideoProcessorID>, <pIndex>)
Associationsmediafoundation
Summary

Get an output media type that the video processor supports Platform:desktop

OSwindows
Parameters
NameTypeDescription
pVideoProcessorID

A video processor ID

pIndex

An index of the available media types

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor
Description

The video processor supports a number of input and output media types. 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.

You may keep requesting media types from this API until 0 is returned instead of a media type ID.

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