Microsoft DirectX 9.0

AVI Decompressor Filter

The AVI Decompressor filter enables Video Compression Manager (VCM) codecs to join a filter graph. The application does not need to add the filter to the filter graph; it is pulled in automatically by the Filter Graph Manager when needed.

When the Filter Graph Manager is building a graph to render an AVI file, it checks the FOURCC in the file's AVI header to determine whether the video stream is compressed. If it is, the Filter Graph Manager adds the AVI Decompressor, which then searches the registry for an installed decompressor that can handle the file.

Note   MPEG decompressors are never implemented as VCM codecs, but only as native DirectShow filters.

On its upstream pin the AVI Decompressor typically connects to the AVI Splitter. On its output pin it typically connects to the Video Renderer or the AVI Mux Filter.

Filter Interfaces IBaseFilter
Input Pin Media Types Major type: MEDIATYPE_Video

Subtype:  Must correspond to the FOURCC code for the compression type. For more information, see FOURCC Codes.

Format type: FORMAT_VideoInfo

Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_NULL, FORMAT_VideoInfo
Output Pin Interfaces IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSID CLSID_AVIDec
Property Page CLSID No property page.
Executable quartz.dll
Merit MERIT_NORMAL
Filter Category CLSID_LegacyAmFilterCategory