Microsoft DirectX 8.0

About Compression Filters

A compression filter is a specialized type of transform filter. Compression filters (compressors) accept data, use a compression scheme to transform the data, and pass the compressed data downstream.

Microsoft® DirectShow® includes an AVI Compressor filter and an ACM Wrapper filter, which will use any Microsoft Video for Windows® video or audio codec to compress data. You can write your own compressor filter if you need to compress data in a format that isn't supported by the default filters that DirectShow provides.

To begin writing a compression filter, write a transform filter that includes one input pin and one output pin. For more information about writing a transform filter, see the following articles.

After you've written a transform filter, you should review the following points when completing your compression filter.