Is it possible to use a low-res Substream (for NVR detection) with Ring Cams? #975
Replies: 1 comment 8 replies
-
This topic is covered in the project readme, you are simply trying to do something that Ring cameras were not designed for and not well suited to do. If you attempt to stream continuously your doorbell pro will almost certainly overheat in the summer (I should know, I have one) and continuous streaming also blocks most Ring features, such as motion detection, etc. I strongly recommend that, if you want features like this, to simply purchase devices designed for this use case. However, if you are adventurous, I have been working on a solution to this which is currently implemented in the development version. I call this feature the "Snapshot Stream". Instead of attempting to stream video from the camera all the time, it instead uses the standard interval/motion snapshots, but creates a low-bitrate, 720p/5 FPS stream generated from the snapshots, which requires relatively low CPU usage even without acceleration. When the camera detects a motion/ding event, it starts a livestream but only grabs frames at 5 FPS and feeds those into the snapshot stream. I've worked hard to optimize the CPU usage and timing with this and, while it adds a small amount of latency, it seems to work fairly well. I was able to run 4 cameras concurrently with only a RPi4, and 8 cameras on a small x86 VM with only 2-vCPUs. Would love to have you test it, just know that the feature is still in development and may not be 100% stable. |
Beta Was this translation helpful? Give feedback.
-
Hi there - I have my Ring Doorbell Pro and my Ring Stickup Cam in use and everything is fine and connected to Home Assistant via Ring-MQTT ... Big Shout out to @tsightler - thank you very much for this cool addon!
But I have one thing that I cannot solve on my own yet (tried really much and researched a lot) and hope for someone to maybe have solved this already? Using Ring Cams 24/7 with a NVR (for detection, alert and recording) works fine but in contrast to other brands I am not able to "find" a RTSP-Substream-URL that works ... I want to use each cam with a main-stream in the original format (FullHD 1080p with audio) but for detection purpose (of the Coral TPU) I need a lower resolution sub-stream with only about 5 pics/sec or ffmpeg will run berserk on my RPI5 which has no hardware decoding for h264 :(
Ideas, Solutions or some other hint is more than welcome, thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions