IWMEncBasicEdit Interface

Windows Media Encoder SDK banner art

The IWMEncBasicEdit interface provides an Automation interface that allows you to perform postprocessing on a Windows Media file, such as modifying the attributes, specifying mark-in and mark-out times to change the length of the file, adding scripts and markers, and indexing the file so that users can use seek functions. An XML configuration file can be used to save and load certain settings.

Note   You cannot perform postprocessing on protected files.

In addition to the methods inherited from IDispatch, the IWMEncBasicEdit interface exposes the following methods.

Method Description
get_ConfigFile Retrieves the name of the XML file containing configuration data for the basic edit process.
get_Duration Retrieves the duration of the input file.
get_ErrorState Retrieves run-time errors for the basic edit process.
get_Index Retrieves a Boolean value indicating whether to index the input file.
get_MarkIn Retrieves a mark-in time indicating the start of the output file.
get_MarkOut Retrieves a mark-out time indicating the end of the output file.
get_MediaFile Retrieves the name of the Windows Media file to be edited.
get_OutputFile Retrieves the name of the output file.
get_Profile Retrieves the profile used by the input file that is currently loaded.
get_ProgressPercent Retrieves a value indicating the progress of the basic edit process.
get_RunState Retrieves a value indicating whether the basic edit process is running or stopped.
put_ConfigFile Specifies the name of the XML file containing configuration data for the basic edit process.
put_Index Specifies a Boolean value indicating whether to index the input file.
put_MarkIn Specifies a mark-in time indicating the start of the output file.
put_MarkOut Specifies a mark-out time indicating the end of the output file.
put_MediaFile Specifies the name of the Windows Media file to be edited.
put_OutputFile Specifies the name of the output file.
SaveConfigFile Saves the basic edit attributes of the input file that is currently loaded into a new configuration file.
SaveProfile Saves the profile of the input file that is currently loaded as a new profile.
Start Starts the basic edit process to modify the input file as specified.
Stop Stops the basic edit process.

See Also