Microsoft DirectX 8.0 |
The AVI Compressor is a wrapper filter for installable video compressors that support the Video Compression Manager (VCM) interface. The VCM interface is not a part of the DirectShow architecture, so a "wrapper filter" is required to enable these compressors to function in the context of a filter graph. The AVI Compressor is used in graphs that create new compressed AVI files or recompress existing AVI files. The Capture Graph Builder can be instructed to add this filter to a capture graph.
The AVI Compressor's input pin connects upstream to a filter that sends it uncompressed video data. This can include VFW Capture filter or WDM Video Capture filter (each of which wraps a hardware video source), the AVI Splitter, the Color Space Converter or any other filter that can handle uncompressed video data. The AVI Compressor's downstream pin typically connects to the AVI MUX filter, which interleaves the compressed video with a compressed audio stream from the ACM Wrapper filter. The ACM Wrapper works with the Audio Compression Manager in the same way that the AVI Compressor works with the VCM.
If the compressor has a property page that allows the user to configure various compression parameters, an application can display it using the AVI Compressor's IAMVfwCompressDialogs interface.
Note: MPEG compressors and decompressors are never implemented as VCM codecs, but only as native DirectShow filters. Also, the Intel® Indeo® compressors and decompressors provided with DirectShow are implemented as native filters, not as VCM codecs.
Filter Interfaces | IAMVfwCompressDialogs, IBaseFilter, IPersistPropertyBag, ISpecifyPropertyPages |
---|---|
Input Pin Media Types | MEDIATYPE_Video, MEDIASUBTYPE_NULL |
Input Pin Interfaces | IMemInputPin, IPin, IQualityControl |
Output Pin Media Types | MEDIATYPE_Video, MEDIASUBTYPE_NULL |
Output Pin Interfaces | IAMStreamConfig, IAMVideoCompression, IMediaPosition, IMediaSeeking, IPin, IQualityControl |
Filter CLSID | CLSID_AVICo |
Property Page CLSID | No property page. |
Executable | qcap.dll |
Merit | MERIT_DO_NOT_USE |
Category | CLSID_VideoCompressorCategory |