Редагувати

Поділитися через


Adding Transform Nodes with TopoEdit

A transform node represents a Media Foundation Transform (MFT) that processes media data it receives from a source node. When ready, the pipeline passes it to the output node for rendering. In Media Foundation, encoders, decoders, multiplexers, de-multiplexers, and audio video effects are implemented as MFTs. TopoEdit supports adding transform nodes that represent both registered and custom MFTs.

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

To add a registered MFT to the topology

  1. On the Topology menu, click Add Transform.

    The Select Transform dialog box opens. It displays a categorized list of registered MFTs that is generated by enumerating the registered entries in the registry by calling the MFTEnum function.

  2. Expand the category and select the MFT that you want to add to the topology.

  3. Click OK to close the dialog box and return to the Topology Pane.

TopoEdit creates the specified transform node. The Topology Pane shows the transform node as a green box that displays the name of the MFT.

To add a custom MFT to the topology

  1. On the Topology menu, click Add Custom MFT.

    This opens the Input Custom GUID dialog box.

  2. In the GUID: field, enter the GUID of the MFT 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 to close the dialog box and return to the Topology Pane.

TopoEdit creates the specified transform node. The Topology Pane shows the transform node as a green box that displays the name of the MFT.

Building Topologies by Using TopoEdit

Media Foundation Transforms

TopoEdit