Video Feed
The Video Feed component acts as an entry point for cameras. It connects to an IP video camera, DVR (Digital Video Recorder) or other device capable of streaming video using the RTSP (Real-Time Streaming Protocol), RTMP (Real-Time Messsaging Protocol) or HTTP/HTTPS protocols, captures images at the specified frame rate (FPS, Frames Per Second) and prepares these images to be processed by the next components.
Credits Used
Each Video Feed takes up 5 credits, considering a frame rate of 5 FPS and a resolution of 640 x 480 pixels per frame. See section Understanding the Concept of Credits for more information.
Component Parameters
Parameter | Description | Example | Required? |
Component Name | Internal name for the component. Used by our API to select the component for metrics acquisition. | RTSPStreamReceiver | Yes. Filled automatically. |
Component ID | Numerical identifier for the component. Used by our API to select the component for metrics acquisition. | 9 | Yes. Filled automatically. |
Name | A descriptive name to identify the video component or source. | Camera_Warehouse | No |
URL | Video stream address. |
| Yes |
FPS | Number of frames per second that will be extracted from the stream. | 5 | Yes |
Resolution | Selects the resolution of the frames extracted from the stream. Default uses the stream's original resolution, other values allow you to select a specific resolution. | 640x480 | Yes |
RTSP format | Video stream format, can be h264 or h265 | h264 | Yes |
Notes
The URL parameter may contain information such as the username and password for accessing the stream (in the case of protected streams), as well as the connection port. For example, in the URL rtsp://admin:passwd123@192.168.15.100:554 the user (admin), and the password (passwd123) are specified before the @. The connection port (554) is the last parameter, specified after the colon (:).
A higher FPS value will increase consumption of bandwidth (when transferring images to the AIBox) and processing power (in the AIBox). Likewise, higher Resolution demands more processing power. We recommend starting with a low FPS (e.g., 5 FPS) and a resolution of 640x480 pixels, and adjusting these parameters according to the model's needs. The CPU usage of an AIBox can be found in the Fleet Management module in the AIOS interface, see more details in the section 2.2 Fleet Management in this documentation.
If you experience errors or slowness in an RTSP stream, try switching between the h264 and h265 formats.
The RTSP format parameter is irrelevant for RTMP, HTTP or HTTPS streams.
Metrics and Visualizations
This component does not generate metrics and visualizations that can be displayed in widgets on an application. See sections Working With Applications, Working With Widgets and Metrics and Visualizations of this documentation for more information.