Filter graph


A filter graph is used in multimedia processing - for example, to capture video from a webcam. Filters take input, process it, and then output the processed data. For example: a video codec takes raw uncompressed video and compresses it using a video standard such as H.264. To compress a multimedia stream a filter graph could have two inputs:
  1. Audio
  2. Video
Usually these are expressed as file sources. The file sources would feed compression filters, the output of the compression filters would feed into a multiplexer that would combine the two inputs and produce a single output. Finally the multiplexer output feeds into a file sink, which would create a file from the output.
example of a filter graph.
A filter graph in multimedia processing is a directed graph. Edges represent one-way data flow and nodes represent a data-processing step. Pins or pads identify the connection points between nodes and edges.

Example of programs that use filter graphs