About the WM ASF Reader Filter

 
Microsoft DirectShow 9.0

About the WM ASF Reader Filter

Playback of ASF files is handled by the WM ASF Reader filter. When the WM ASF Reader reads a file, it automatically creates an output pin for each stream, including Web streams, script command streams, and any other type of arbitrary stream. In the case of multiple bit rate files, pins are created only for the currently selected streams. To play an ASF file with the WM ASF Reader filter, call IGraphBuilder::RenderFile or IGraphBuilder::AddSourceFilter.

The WM ASF Reader supports the DirectShow IMediaSeeking interface, which enables applications to perform temporal seeking within the file. However, playback at speeds other than 1.0 (as specified in IMediaSeeking::SetRate) is not supported.

The WM ASF Reader filter also exposes several Windows Media Format SDK interfaces as described in the following table. These interfaces are documented in the Windows Media Format SDK documentation.

Interface How exposed Comments
IWMDRMReader Through IServiceProvider on filter Provided for applications that need to play content protected by Digital Rights Management (DRM). For more information, see DRM Support in QASF.
IWMHeaderInfo QueryInterface on filter Provided so that applications can read file and content attributes, as well as marker and script information and metadata.
IWMReaderAdvanced QueryInterface on filter Partially implemented on the filter so that applications can access the informational methods on the WM Reader object.
IWMReaderAdvanced2 QueryInterface on filter Partially implemented on the filter so that applications can access the informational methods on the Format SDK Reader Object.

See Also