Share via


WMEncStreamEdit Interface

Windows Media Encoder SDK banner art

The WMEncStreamEdit interface provides fine control over stream configuration. For example, you can add streams from different input sources to generate a new output file. You can also separate streams from multiple bit rate (MBR) files into different files.

The WMEncStreamEdit interface exposes the following properties, methods, and events.

Property Description
OutputFile Specifies and retrieves the name of the output file.
OutputProfile Retrieves a WMEncProfile2 object based on the streams that are added.
ProgressPercent Retrieves a value indicating the progress of the stream edit process.
RunState Retrieves a value indicating the state of the stream edit process.
Method Description
AddStream Adds a stream from a specified file. 
GetStream Retrieves a specific stream that was added.
RemoveAllStreams Removes all streams that were added.
Start Starts the stream edit process.
Stop Stops the stream edit process.
Validate Validates the current settings.
Event Description
OnError Receives run-time error event notices.
OnStateChange Indicates whether the stream edit process has been started or stopped.

See Also