Adding Output Nodes with TopoEdit
Collapse the table of content
Expand the table of content

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 typeMenu/Toolbar CommandDescription
Audio streamOn 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 streamOn 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
  1. On the Topology menu, click Add Custom Sink.

    The Input Custom GUID dialog box opens.

  2. 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.
     
  3. 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.

Related topics

Building Topologies by Using TopoEdit
Streaming Audio Renderer
Enhanced Video Renderer
TopoEdit

 

 

Show:
© 2016 Microsoft