다음을 통해 공유


The Filter Graph (Windows Embedded CE 6.0)

1/6/2010

Whenever a media file or stream is played, recorded, captured, broadcast, or processed in any way, it is done by means of connecting one or more filters together in a construct called a filter graph.

The graph-building process can be done manually by an application or automatically by the Graph Builder or Filter Graph Manager. In either case the process usually begins with the source filter and is always based on two main factors: the number of streams and their media types that a filter expects as input, and the number of streams and their media types that it outputs.

For example, consider a simple filter graph for playing back an AVI file with compressed video. A source filter, such as the File Source (Async) Filter, would read the bytes from the file and pass them on to the AVI Splitter Filter video compression scheme, parse the data into time-stamped media samples, and pass the video samples downstream to the AVI Decompressor Filter. For video, each sample contains one frame of video. The AVI Decompressor would find the correct codec to decompress the samples and pass the decompressed video frames to the video renderer filter, which will display the video on the computer screen.

See Also

Concepts

Elements of the Filter Graph