Filter Graph
   HOME

TheInfoList



OR:

A filter graph is used in
multimedia Multimedia is a form of communication that uses a combination of different content forms such as text, audio, images, animations, or video into a single interactive presentation, in contrast to tradition ...
processing - for example, to capture video from a
webcam A webcam is a video camera which is designed to record or stream to a computer or computer network. They are primarily used in videotelephony, livestreaming and social media, and security. Webcams can be built-in computer hardware or peripheral ...
.
Filters Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component tha ...
take input, process it (or change the input), and then output the processed data. For example: a
video codec A video codec is software or hardware that compresses and decompresses digital video. In the context of video compression, ''codec'' is a portmanteau of ''encoder'' and ''decoder'', while a device that only compresses is typically called an '' ...
takes raw
uncompressed video Uncompressed video is digital video that either has never been compressed or was generated by decompressing previously compressed digital video. It is commonly used by video cameras, video monitors, video recording devices (including general-purp ...
and compresses it using a video standard such as
H.264 Advanced Video Coding (AVC), also referred to as H.264 or MPEG-4 Part 10, is a video compression standard based on block-oriented, motion-compensated coding. It is by far the most commonly used format for the recording, compression, and distr ...
. To compress a multimedia stream a filter graph could have two inputs: # Audio # 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 In electronics, a multiplexer (or mux; spelled sometimes as multiplexor), also known as a data selector, is a device that selects between several analog or digital input signals and forwards the selected input to a single output line. The sel ...
that would combine the two inputs and produce a single output. (An example of a multiplexer would be an MPEG transport stream creator.) Finally the multiplexer output feeds into a file
sink A sink is a bowl-shaped plumbing fixture for washing hands, dishwashing, and other purposes. Sinks have a tap (faucet) that supply hot and cold water and may include a spray feature to be used for faster rinsing. They also include a drain t ...
, 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. Pins or pads identify the connection points between nodes and edges.


Example of programs that use filter graphs

*
GStreamer GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. For instance, GStreamer can be used to build a system that reads files in one format, processes the ...
- Linux based multimedia framework. In Gstreamer a filter is called an element. Filter graphs can be built with th
GStreamer Editor
*
GraphEdit GraphEdit is a utility which is part of the Microsoft DirectShow SDK. It is a visual tool for building and testing filter graphs for DirectShow. Filters are displayed as boxes, with a text caption showing the name of the filter. Pins appear as sm ...
- Microsoft tool for building filter graphs
GraphStudioNext
- an open source tool to build and debug DirectShow filter graphs, replacement for
GraphEdit GraphEdit is a utility which is part of the Microsoft DirectShow SDK. It is a visual tool for building and testing filter graphs for DirectShow. Filters are displayed as boxes, with a text caption showing the name of the filter. Pins appear as sm ...
*
DirectShow DirectShow (sometimes abbreviated as DS or DShow), codename Quartz, is a multimedia framework and API produced by Microsoft for software developers to perform various operations with media files or streams. It is the replacement for Microsoft's ea ...
- Windows based multimedia framework.
GraphEditPlus
- a free tool for building DirectShow filter graphs and generating C++ source code for them.

- a graphic interface for learning, implementation and management of vision systems


See also

Explanation of filter graph in DirectShow article: DirectShow#Architecture


External links


DirectShow


Explanation of filter graph manager

Filters what they are

Example of filter graph usage

Data Flow in the Filter Graph
Graphics software Multimedia frameworks {{multimedia-software-stub