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
Name | Type | Description |
---|---|---|
pFilePath | string | The path to a media file |
pMediaTypeID | integer | A media type ID |
Value
Name | Type | Description |
---|---|---|
the result | integer | The index of the newly create stream or 0 if an error occurred |
Related
command: mediaFoundationTranscode, mediaFoundationCreateWriter
Compatibility and Support
OS
windows