Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motion Detection #423

Open
ceewanna opened this issue Sep 5, 2023 · 4 comments
Open

Motion Detection #423

ceewanna opened this issue Sep 5, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@ceewanna
Copy link

ceewanna commented Sep 5, 2023

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.

@ceewanna ceewanna added the bug Something isn't working label Sep 5, 2023
@brianhackel
Copy link

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
Copy link

@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
Copy link

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
Copy link
Contributor

mkz212 commented Jul 29, 2024

🎉 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: #448 .

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants