seydx / camera.ui

NVR like user Interface for RTSP capable cameras
https://github.com/seydx/camera.ui
MIT License
700 stars 111 forks source link

Motion Detection #423

Open ceewanna opened 1 year ago

ceewanna commented 1 year ago

This might not be a bug but from my testing so far it seems the system never seems to capture the start of the event. For instance, I am walking to the desk at a distance of around less than 6 meters. The vdo only shows when I am already at the desk but doesn't show when I was walking there.

This same event is easily captured in another system. I am working on. I am probably new to the settings. I have increased the sensitivity to 90 while the pixel difference has been around 5-16. forceCloseTimer is kept at 3 mins while dwellTimer has been decreased to the minimum 15 sec. There is prebufferLength: 4 which seems to be fixed by the system because it gets reset to 4 regardless of the value set in the xml file.

brianhackel commented 10 months ago

I'm having a similar issue with raspberry pi camera v3 and raspberry pi v4 board using HKSV. it detects the motion and completes the recording, but i always seem to lose the beginning of the recording (or maybe the motion is not "detected" until later). It would seem from the documentation that the "prebuffer" length is the number of seconds BEFORE MOTION IS DETECTED that should be saved to the beginning of the recording. I have the prebuffer set to the max of 8 seconds and even tried using forcePrebuffer=true to no avail. Otherwise, video is good, recordings in HKSV are excellent quality, just seem to be missing the first 3-4 seconds after motion should have been detected.

brianhackel commented 10 months ago

@seydx: is the objective of "prebuffering" to have the recording session "stretch into the past" by a few seconds to be sure you capture the beginning of the motion event? Also, does the prebuffering work with HSV? If not, is there a way to delay the main stream but not the substream so that motion captured by the substream gets recorded by HSV via the main stream (which is delayed by 2 seconds or so)? Thanks!

brianhackel commented 10 months ago

This was useful. i was able to create a new rtsp stream for HSV and delay it a few seconds via GStreamer in MediaMTX.

mkz212 commented 3 months ago

🎉 A new version of camera.ui

A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).