Comments (4)
The never ending recording is probably because your motion detection is quite sensitive.
area: 100
is quite low. If you turn on debugging you can see the motion area in realtime and tune it accordingly.
timeout: true
also tells Viseron to not stop recording until no motion is detected.
I should probably implement some sort of max length so this doesnt occur.
Regarding not being able to play the file while its being recorded is due to how the .mp4 container is designed.
I would need to look at another container, did some quick research and probably have to go with .mkv or .ts
from viseron.
I noticed this occurring periodically in my logs, while the motion ended several minutes ago. Might be a clue:
[2020-09-15 15:27:21] [lib.recorder.cam02 ] [ERROR ] - Timed out
[2020-09-15 15:28:25] [lib.recorder.cam02 ] [ERROR ] - Timed out
I haven't seen the usual Stopping recording in: x
messages, although I do see it for other cameras that have triggered and correctly stopped after the errant camera has been triggered.
Watching the motion_detect debug log, I do not see motion events for the camera that is stuck recording (cam02 here). I don't think it's refusing to stop because it sees motion.
from viseron.
Another clue... it appears that once object detection starts the recorder, the scene must have no motion to stop. I'm not sure that this is good, at least in its current form. I think that the intention is to stop recording timeout
seconds after any object detections have stopped triggering when object detection is the source of the recording, not after any motion has been seen.
Alternatively, perhaps the motion trigger settings can be split up so that they have one set of parameters to start a recording and another (perhaps less aggressive) set to stop recording. This would help prevent a windy day moving leaves around from creating gigantic recordings after a vehicle drives by.
Personally I prefer "timeout after last object has been detected" when object_detection causes the recording, and "alternate set of motion detection parameters" when object detection is not used, but perhaps I'm not seeing the bigger picture.
from viseron.
I hear what you're saying.
I think removing the timeout
option from motion_detection
would be a good idea, and then extend the settings under recorder
to set a timeout after last detected object as you describe, and then an optional timeout after last motion detected. Would also be good to implement a "max" timeout for the motion detection to nullify the never ending recording problem.
from viseron.
Related Issues (20)
- Container fails when adding codeprojectai: HOT 8
- Flashing or Lightning Motion Trigger HOT 2
- Is it possible to have motion-triggered recorder and continuous recording at the same time? HOT 1
- FFprobe command timed out (Ubiquiti UniFi Protect UVC G3 Flex) HOT 1
- coral.ai USB Accelerator in Proxmox VM matched/configured but not found/recognized? HOT 10
- Stuck in blank login page when opening in Home Assistant HOT 2
- not sure what the error messages mean and how to fix HOT 1
- Failed to retrieve result for object_detector - Frame is 2.8047475814819336 seconds old. Discarding HOT 5
- hevc_cuvid is not supported HOT 2
- Cameras on wifi report "could not get stream info" after recent power outage HOT 12
- Send license plate via MQTT HOT 1
- RTSP Not working with Yoosee Camera HOT 5
- RTSP stream not connecting HOT 8
- Trouble getting one RTMP REOLINK camera going - error - invalid data found when processing input HOT 2
- How to turn off recording。 HOT 1
- Need more graphics drivers and/or newer VA-API? HOT 9
- Requested feature to use a `custom_model` per camera? HOT 2
- How to make two AI detection models work under one camera.
- file permission setting for recording folders and files HOT 2
- How to make two AI detection models work under one camera. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viseron.