IConfigAsfWriter Interface

 
Microsoft DirectShow 9.0

IConfigAsfWriter Interface

The IConfigAsfWriter interface configures the WM ASF Writer filter. It provides methods for getting and setting the profiles and indexing mode.

When the WM ASF Writer filter is created, it is configured automatically with a default ASF audio-visual profile based on the incoming streams. A profile describes various attributes of an ASF file such as bit rate, number and type of streams, compression quality, and so on. The filter uses the profile to determine what kind of ASF file to write, how many input pins to create, and what media types to accept. When the WM ASF Writer filter is first created, it is configured automatically with the following default profile: WMProfile_V80_256Video. However, using this profile is not recommended because it does not use the Windows Media Audio and Video 9 Series codecs.

In addition to the methods inherited from IUnknown, the IConfigAsfWriter interface exposes the following methods.

Method Description
ConfigureFilterUsingProfile Sets an ASF profile on the WM ASF Writer filter.
ConfigureFilterUsingProfileGuid Sets a predefined system profile on the filter. (Deprecated.)
ConfigureFilterUsingProfileId Sets a Windows Media Format 4.0 profile on the filter. (Deprecated.)
GetCurrentProfile Retrieves the application-defined ASF profile.
GetCurrentProfileGuid Retrieves the GUID of the filter's current sytem profile, if any. (Deprecated.)
GetCurrentProfileId Retrieves the identifier of the filter's profile, only when the filter is using a Windows Media Format 4.0 profile. (Deprecated.)
GetIndexMode Retrieves the current index mode.
SetIndexMode Enables the application to control whether the file will be indexed and therefore seekable.

Requirements

Header: Include Dshowasf.

Library: None.

See Also