Partager via


Windows Media Source Filter (Compact 7)

3/12/2014

This filter is the source filter for playback of Windows Media Advanced Streaming Format (ASF) files. The filter can playback a local file, or a stream broadcast with HTTP, Microsoft Media Server (MMS), or Multicast protocol. This filter can play a local file or stream a file over HTTP. It also supports server-side playlists over HTTP.

When this filter is given the name of a local ASF file or a URL for a remote stream it reads the file, parses the compressed data streams, and creates an output pin for each stream. This filter uses the available decoders, based on the media types. Windows provides WMA and WMV DirectX Media Objects (DMOs) in platform builder, as well an MP3 decoder filter. The audio pin always connects to the ASF Audio Compression Manager (ACM) Handler filter, and the video pin always connects to the ASF Image Compression Manager (ICM) Handler.

The following table shows the filter properties.

Filter property Description

Filter Interfaces

IBaseFilter Interface, IFileSourceFilter Interface, IAMChannelInfo, IAMExtendedSeeking Interface, IAMMediaContent Interface, IAMMediaContent2,

IAMNetShowConfig, IAMNetShowExProps, IAMNetShowPreroll,

IAMNetworkStatus, IAMOpenProgress, IAMRebuild, IAMSecureMediaContent, IAMStreamSelect Interface,

IBufferingTime, ISpecifyPropertyPages,

IAMNetShowThinning,

ISplitterTiming,

IWMediaStreamMonitor,

IWMediaStreamStatusMonitor,

IWMediaStreamSelector

Input Pin Media Types

Not applicable

Input Pin Interfaces

Not applicable

Output Pin Media Types

MEDIATYPE_NetShowPackets. The subtype depends on the stream being rendered on the pin and can be any subtype defined in the ASF specification.

Output Pin Interfaces

IMediaSeeking2,

IMediaSeeking,

IPin Interface,

ISplitterInfo, ISplitterTiming

Filter CLSID

CLSID_NetShowSource

Executable

Quartz.dll

Merit

MERIT_NORMAL

Remarks

This filter supports Digital Rights Management (DRM). For information on DRM see Windows Media DRM 10 for Network Devices.

The CLSID for the filter is defined in uuids.h.

The Windows Media Source Filter supports the IMediaSeeking scan, forward seek, and reverse seek functionality. In addition, the filter supports the IMediaSeeking2 flags to skip forward or backward in a server-side play list. To determine which capabilities are supported, call IMediaSeeking::GetCapabilities.

Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements.

See Also

Reference

Supported DirectShow Filters