IWMEncSourceGroup Interface
The IWMEncSourceGroup interface manages a source group of media streams. Currently, a source group can contain no more than one audio, one script and one video stream. Only one source group can be encoded at a time, and a source group can be associated with only one profile. The IWMEncSourceGroup interface exposes the following properties and methods.
Property | Description |
AudienceCollection | Not implemented in this release. |
GroupTransformCollection | Retrieves a collection of group level transform plug-ins for the source group. |
Name | Specifies and retrieves the name of the source group. |
Method | Description |
AddSource | Adds a media stream to the source group. |
AutoSetFileSource | Automatically parses a multimedia file and adds up to one audio and one video stream from that file to the source group. |
get_AutoArchive | Retrieves a value that indicates the nature of the archiving operation if WMEncoder.EnableAutoArchive is set to true. |
get_Profile | Retrieves the profile for the source group. |
get_Source | Retrieves a specific media stream from the source group. |
get_SourceCount | Retrieves the number of streams of a specific type in the source group. Currently, this cannot exceed three. |
GetGroupTransformPlugin | Retrieves a specific group level transform plug-in. This is a non-Automation compliant method. |
GetGroupTransformPluginCount | Retrieves the number of transform plug-ins that can be applied to the source group. This is a non-Automation compliant method. |
PrepareToEncode | Creates an encoding session and initializes Windows Media Encoder. |
RemoveSource | Removes a media stream from the source group. |
set_AutoArchive | Specifies a value that indicates the nature of the archiving operation if WMEncoder.EnableAutoArchive is set to true. |
set_Profile | Specifies the profile for the source group. |
See Also