共用方式為


Overview of GraphEdit

 
Microsoft DirectShow 9.0

Overview of GraphEdit

GraphEdit is a visual tool for building filter graphs. With GraphEdit, you can experiment with a filter graph before you write any application code. You can also load a filter graph that your application creates, to verify that your application is building the correct graph. If you develop a custom filter, GraphEdit provides a quick way to test it: Simply load a graph with your custom filter and try running the graph. If you are new to DirectShow, GraphEdit is a good way to become familiar with filter graphs and the DirectShow architecture.

The following illustration shows how GraphEdit represents a simple filter graph.

Simple filter graph in GraphEdit

Each filter is represented as a rectangle. Smaller squares along the edges of the filters represent pins. Input pins are on the left side of the filter, and output pins are on the right side. The arrows represent the connections between pins.

With GraphEdit, you can:

  • Create and modify filter graphs using a visual, drag-and-drop interface.
  • Simulate programmatic calls to build a graph, such as IGraphBuilder::RenderFile.
  • Run, pause, stop, and seek a graph.
  • See what filters are registered on your computer, and view registry information for each filter.
  • View filter property pages.
  • View the media types of pin connections.