Skip to main content

mediaFoundationAddStreamToWriter

Type​

command

Summary​

Add a stream to a writer Platform:desktop

Syntax​

mediaFoundationAddStreamToWriter <pFilePath>, <pMediaTypeID>

Description​

The writer must already be created with mediaFoundationCreateWriter.

*Note

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

Parameters​

NameTypeDescription

pFilePath

string

The path to a media file

pMediaTypeID

integer

A media type ID

Value​

NameTypeDescription

the result

integer

The index of the newly create stream or 0 if an error occurred

command: mediaFoundationTranscode, mediaFoundationCreateWriter

Compatibility and Support​

OS

windows

Thank you for your feedback!

Was this page helpful?