motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.84k stars 898 forks source link

How to improve frame rates #2062

Open bobster316 opened 5 years ago

bobster316 commented 5 years ago

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: motioneyeos-raspberrypi4-dev20190813.img

Board Model

I am using the following board/model: Raspberry PI 4B.

Camera

I am using the following type of camera: Network Camera,

My camera model is: (insert your camera model, Wyze Cam v2

Network Connection

My motionEyeOS unit is connected to the network via WiFi

Peripherals

I am using the following peripherals that I consider relevant to this issue:

4 x Wyze Cam v2

Log Files

I consider the following log files relevant to this issue: N/A

I have a question regarding improvement off frame rate performance, Would it be possible to cluster multiple raspberry pi 4's, if yes how would i do it. i have seen articles about Docker and Kubernetes... how would that work?

skotl commented 5 years ago

Docker and Kubernetes are container-based services that manage multiple instances of (effectively) virtual machine instances. You wouldn't use either to cluster a collection of hardware servers, such as raspberry pi. Motioneyeos does support multiple machines running in a hub/slave type configuration - see articles like this one for more info: https://randomnerdtutorials.com/cctv-raspberry-pi-based-system-storage-motioneyeos/ I believe that this setup improves framerate as it takes some of the tasks of the pi's that are running the cameras and moves them to the hub device (although I've not tried it).