Sync and Tile Frames

Synchronize metadata & create video tiles/grids between nodes across one or more deployments on the same Gateway.

Overview

The Sync & Tile Frames node synchronizes metadata between nodes across one or more deployments on the same Gateway. It can also be used to create a grid or overlay multiple video streams in one.

Inputs & Outputs

  • Inputs: 1, Media Format: Raw Video
  • Outputs: 1, Media Format: Raw Video
  • Output Metadata: Sync Metadata

Pipeline usage

Use the same sync_key on Sync nodes that should exchange data; participating deployments must run on the same gateway. Place Sync after the nodes whose metadata should be published. Remote state appears under synced_deployments, keyed by the publishing deployment and Sync node, so downstream conditions must read that namespace rather than nodes or objects directly. Enable sync_pixels on publishers only when a preview or composite view is needed, because it adds image encoding, shared-memory, and composition work. sync_nodes limits node metadata but does not select object records.

Properties

PropertyDescriptionTypeDefaultRequired
sync_keyKey used to synchronize data between Sync nodes in one or more deployments. Must be unique per sync group.stringnullYes
sync_metaMetadata to sync. Options: All metadata (all): Sync all metadata; Objects only (objects): Only sync object detection metadata; Nodes only (nodes): Only sync node metadata.enumallYes
sync_nodesComma-separated list of specific nodes to sync. Empty means sync all nodes.stringnullNo
sync_pixelsWhether to publish video frame pixels from this node to othersboolfalseNo
preview_modeShow preview for published pixels. Options: None (null): No preview; Right thumbnails (thumbnail_right): Show thumbnails on right side; Bottom thumbnails (thumbnail_bottom): Show thumbnails on bottom; Grid view (grid): Show all streams in grid layout.enumnullNo
preview_dimsDimensions for preview thumbnails in width x height formatstring640x360No

Output Metadata

The fields below are declared by this node's metadata schema; the JSON values are representative examples.

PathTypeDescription
synced_deployments.<deploymentid_syncnodeid>.nodes.<node_id>.<node_property>stringNode property from a sync'd node

JSON example

{
  "synced_deployments": {
    "8121-2129-2912-2191_sync1": {
      "nodes": {
        "sync1": {
          "property": "value",
          "type": "sync"
        }
      }
    }
  }
}

Did this page help you?