- Filter graph
A filter graph is used in
multimedia processing. For example to capture video from awebcam . Filters take input, process it or change the input, and then output the process data. An example of a filter, would be avideo codec that takes raw uncompressedvideo and compresses it using a video standard such asH.264 . To compress a multimedia stream a filter graph could have two inputs:
# Audio
# VideoUsually these are expressed as file sources. The file sources would feed compression filters, the output of the compression filters would be feed to amultiplexer that would combine the two inputs and produce a single output. An example of a multiplexer would be anMPEG transport stream creator. Finally the multiplexer output would be fed to a file sink, which would create a file from the output.A filter graph in multimedia processing is a
directed graph . Edges represent one way data flow and nodes represent a data processing step. The term pins or pads are used to describe the connection point between nodes and edges.Example of programs that use filter graphs
*
GStreamer - Linux based multimedia framework. In Gstreamer a filter is called an element. Filter graphs can be built with the [http://gstreamer.freedesktop.org/modules/gst-editor.html GStreamer Editor] .
*GraphEdit - Microsoft tool for building filter graphs
*DirectShow - Windows based multimedia framework.
* [http://www.thedeemon.com/GraphEditPlus/ GraphEditPlus] - another tool for building DirectShow filter graphs and generating C++ source code for them.ee also
Explanation of filter graph in DirectShow article:
DirectShow#Architecture External links
DirectShow
* [http://www.gdcl.co.uk/fgman.htm Explanation of filter graph manager] [http://msdn2.microsoft.com/en-us/library/ms783670.aspx]
* [http://www.codeproject.com/useritems/Tanvon_DirectShowFilters.asp Filters what they are]
* [http://www.codeproject.com/directx/DirectShowVMR9.asp?df=100&forumid=141179&exp=0&select=1601363 Example of filter graph usage]
* [http://msdn2.microsoft.com/en-us/library/ms783237.aspx Data Flow in the Filter Graph]
Wikimedia Foundation. 2010.