Adding Output Nodes with TopoEdit

In a topology, an output node represents a media sink that receives media data from a transform node and presents it for playback. The type of output node depends on the media type of the source node.

The following table shows the menu/toolbar command for adding an output node to the topology.

Source media type Menu/Toolbar Command Description
Audio stream On the Topology menu, click Add SAR. Creates an output node for the Streaming Audio Renderer (SAR) that plays an audio stream through an audio device such as a sound card.
Video stream On the Topology menu, click Add EVR. Creates an output node for the enhanced video renderer (EVR) that displays frames for a video stream.
Custom media sink

    - On the Topology menu, click Add Custom Sink.
    The Input Custom GUID dialog box opens.
    -
    In the GUID: field, enter the GUID of your custom sink that you want to add to the topology.
    Note: TopoEdit expects the GUID in the format "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}". Otherwise, it fails to add the node and displays an "Invalid GUID" error message.
    - Click OK.
Creates an output node for the stream sink for a custom media source.
The custom sink must support CoCreateInstance so that the sink can be specified with a CLSID.

TopoEdit creates the specified output node. The Topology Pane shows the output node as a green box that shows the name of the stream sink.

For information about adding output nodes programmatically by using Media Foundation APIs, see Creating Output Nodes.

Building Topologies by Using TopoEdit

Streaming Audio Renderer

Enhanced Video Renderer

TopoEdit