Dependence of Rasberi Pi requirements (RAM, CPU, etc.) and number of IP cameras (4Mp) connected to the network with stable streaming (Kinesis Video Streams) and with H.264 video encoding

0

How many IP cameras i can connect to the network with one rasberi pi, in order to have stable streaming using Kinesis Video Streams (max 5 seconds of delay) ? Minimum RAM (1Gb, 4Gb or 8GB) ?

icegas
已提問 7 個月前檢視次數 227 次
2 個答案
3

Hi, The number of IP cameras you can connect to the network with a single Raspberry Pi is determined by various parameters, including the resolution, frame rate, bitrate, and encoding of the video streams, network bandwidth and latency, and the Raspberry Pi's processing capacity and memory.

Using Kinesis Video Streams, a Raspberry Pi 4 with 4 GB of RAM can transmit up to four 1080p cameras at 30 frames per second. This may differ based on the quality and complexity of the video feeds, as well as network circumstances.

A Raspberry Pi 3 can use Kinesis Video Streams to broadcast one 1080p camera at 30 frames per second, but it may struggle with higher resolutions or many cameras.

Bandwidth (Mbps) = Resolution (MP) x Frame Rate (fps) x Bit Depth (bpp) x Compression Ratio

According to this estimation, a 4 MP camera using H.264 encoding at 30 frames per second and 8 bits per pixel would use around 16 Mbps of bandwidth, assuming a 20:1 compression ratio. This indicates that to broadcast four 4 MP cameras concurrently, you would want at least 64 Mbps of network bandwidth.

According to the resources I found, in order to broadcast four 4 MP cameras using Kinesis Video Streams with H.264 encoding and a maximum delay of 5 seconds, you would require a Raspberry Pi 4 with at least 4 GB of RAM and a network speed of at least 64 Mbps. This is merely a rough estimate, so to discover the best configuration for your setup, you might need to change the settings or test the performance on your own.

You may watch this tutorial for better understanding: https://aws.amazon.com/kinesis/video-streams/raspberry-pi-tutorial/

I hope this answer helps you. 😊

profile picture
已回答 7 個月前
  • How did you calculate amount of RAM for rasberi PI?

0

Actually exists websites where you can calculate bandwidth, for instance this one: https://www.cctvcalculator.net/en/calculations/bandwidth-calculator/

icegas
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南