mediaFoundationAddStreamToWriter

Typecommand
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationAddStreamToWriter <pFilePath>, <pMediaTypeID>
Associationsmediafoundation
Summary

Add a stream to a writer Platform:desktop

OSwindows
Parameters
NameTypeDescription
pFilePath

The path to a media file

pMediaTypeID

A media type ID

Values
NameTypeDescription
The result

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

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateWriter
Description

The writer must already be created with mediaFoundationCreateWriter.

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