Video Source Node

Use a IP Camera, USB Camera or RTSP Stream as an input video source.

Overview

Outputs video frames at the configured frame rate & resolution, or at the source's native framerate / resolution if not configured.

Inputs & Outputs

  • Inputs : 1, Media Format : Any
  • Outputs : 1, Media Format: Same as Input
  • Output Metadata : Video source information

Properties

Property

Value

source_type

Type of video source : stream or camera

Note: Console provides a way to select from amongst IP Camera Streams, RTSP Streams and USB Cameras and populates source type and source id only when you deploy a Pipeline. This property is not available in the Pipeline node editor.

Source type Camera is only used for usb cameras.

source_id

UUID of the source to use (Stream ID or Camera ID)

Note: Console provides a way to select from amongst IP Camera Streams, RTSP Streams and USB Cameras and populates source type and source id only when you deploy a Pipeline. This property is not available in the Pipeline node editor.

framerate

Outputs video converted to this frame rate, irrespective of the source's native frame rate.

For USB Cameras, this node will select a frame rate from the set of frame rates that the camera supports, that is greater than or equal to the requested frame rate here.

resolution

Outputs video converted to this resolution, irrespective of the source's native resolution.

For USB Cameras, this node will select a resolution from the set of frame rates that the camera supports, that is greater than or equal to the requested resolution here.

Metadata

Metadata Property

Description

nodes.<node_id>

Describes the Video source properties.
Format : as defined below.

<node_id> for Video Source Nodes is of the form videoX (ex. video1)

<node_id>.type

Node Type : video_source

<node_id>.source_id
Ex. video1.source_id

Unique Source Identifier
93077c84-b9ce-409f-966f-bdf2bbc7c242

<node_id>.source_type
Ex. video1.source_type

Type of video source.
stream, camera

<node_id>.source_name
Ex. video1.source_name

Name of the video source as set in the Console
Parking Lot test video

<node_id>.uri

Full URI for the video source.
Note: Credentials will be redacted from this URI for security purposes.

'nodes':{
  'video1':{
    'type': 'video_source', 
    'source_id': '6372b7e6-e5d6-45b8-b31b-c400a3754ff4', 
    'source_name': 'Milestone-AXIS P1455-LE (172.16.0.38) - Camera 1', 
    'source_type': 'stream',     
    'uri': 'rtsp://172.16.0.45:554/live/658040e2-fe47-4d4b-9a27-2217af4c4193'
  }
}

Did this page help you?