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
asked 7 months ago217 views
2 Answers
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
answered 7 months ago
  • 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
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions