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.

Members

The IConfigAsfWriter interface inherits from the IUnknown interface. IConfigAsfWriter also has these types of members:

Methods

The IConfigAsfWriter interface has these methods.

MethodDescription
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 system 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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Dshowasf.h

See also

Creating ASF Files in DirectShow

 

 

Show: