Microsoft DirectX 8.1 (C++)

ASF Reader Filter

When given the name of an ASF file, the ASF Reader reads the file from disk, parses the compressed streams, and exposes an output pin for each one. This filter typically connects to audio and/or video codec filters, which do the decompression. Seeking is supported if the ASF file is seekable. The ASF Reader time stamps the samples before sending them downstream.

This filter depends on the Microsoft® Windows Media™ Software Development Kit (SDK). This filter is not the default source filter for ASF files. You must explicitly add it to the graph by its class identifier (CLSID). This filter exposes the Microsoft® DirectShow® IFileSourceFilter interface, and the Windows Media SDK IWMHeaderInfo interface.

This is a typical ASF filter graph for file playback:

ASF Reader Filter Graph

Filter interfaces IFileSourceFilter, IWMHeaderInfo
Input pin media types Not applicable.
Input pin interfaces Not applicable.
Output pin media types Varies depending on the streams within the ASF file.
Output pin interfaces IMediaSeeking
Filter CLSID CLSID_WMAsfReader {187463A0-5BB7-11d3-ACBE-0080C75E246E}
Property Page CLSID No property page.
Executable Qasf.dll
Merit MERIT_UNLIKELY
Filter Category CLSID_LegacyAmFilterCategory

See Also