Search found 53 matches

by montagdude
Mon Feb 11, 2019 5:01 pm
Forum: ZoneMinder 1.32.x
Topic: Video not recorded
Replies: 7
Views: 325

Re: Video not recorded

I really don't see how that patch could have any effect, as the value of staticConfig.video_file_format is '%s/%s' Or at least it is supposed to be. I don't see how it could be anything else. Somehow though it would have to be in order for the code to give the errors you have posted. I don't unders...
by montagdude
Fri Feb 01, 2019 4:55 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 11
Views: 3500

Re: Instant notification on alarm

I have ditched my perl script and switched to a Python script that uses the API. Inspired by asker's zmeventserver, I have also added object detection with OpenCV + YOLO v3 to eliminate false notifications, which is working really well. This method also has the benefit of not reading the shared memo...
by montagdude
Fri Feb 01, 2019 4:49 am
Forum: Feature Requests
Topic: Machine learning video detection
Replies: 8
Views: 4234

Re: Machine learning video detection

I have implemented something similar to asker in my own notification daemon. It uses the API and polls for new events at a user-specified frequency (by default, 3 seconds). When ZoneMinder is not running, it checks (by default) every 15 seconds to see if it has started up. If using object detection,...
by montagdude
Wed Jan 23, 2019 8:42 pm
Forum: ZoneMinder 1.32.x
Topic: no valid mp4s created
Replies: 16
Views: 1263

Re: no valid mp4s created

pingcam wrote:
Wed Jan 23, 2019 3:33 pm
@abi can this be related?

viewtopic.php?f=38&t=27927#p109118
I think it's different, because in my case no mp4 files were being written at all, and errors were showing up in the logs. But it could possibly be something similar, I guess.
by montagdude
Tue Jan 22, 2019 4:22 am
Forum: ZoneMinder 1.32.x
Topic: Video not recorded
Replies: 7
Views: 325

Re: Video not recorded

I got the video working. I had to add the following patch. Apparently staticConfig.video_file_format was not getting set properly for me, and I have no idea why, since it seems to be working everywhere else. Should I file as an issue on Github? --- src/zm_event.cpp 2019-01-21 23:17:19.881961455 -050...
by montagdude
Mon Jan 21, 2019 6:29 pm
Forum: ZoneMinder 1.32.x
Topic: Video not recorded
Replies: 7
Views: 325

Re: Video not recorded

Similar issue here. I am running ZoneMinder on Slackware. I just upgraded from 1.30.4 to 1.32.3. I have compiled it with ffmpeg, x264, and mp4v2 support. Everything seems to work fine with frames as it did in the previous version, including exporting the video after the fact, but if I try to get it ...
by montagdude
Fri Jan 18, 2019 1:37 pm
Forum: Feature Requests
Topic: Machine learning video detection
Replies: 8
Views: 4234

Re: Machine learning video detection

Awesome work. I will have to try it out when I get a chance. I don't even have any cameras outdoors, but it's still not possible to eliminate false alarms on cloudy, windy days, so this seems really promising.
by montagdude
Mon Mar 05, 2018 1:31 am
Forum: ZoneMinder 1.30.x
Topic: Often get empty "New Event", zero length
Replies: 14
Views: 1234

Re: Often get empty "New Event", zero length

I get them sometimes here on Slackware 14.2, but only when ZoneMinder is being shut down just as an event is starting, which I think is expected. That doesn't sound like the issue you are experiencing.
by montagdude
Wed Feb 14, 2018 6:06 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 11
Views: 3500

Re: Instant notification on alarm

Here is my latest version of the script. The differences compared to the previous one are (going from memory, because I'm too lazy to do a diff): 1. Exit and start the watcher script when ZoneMinder is not running or when zmMemVerify fails for a monitor. 2. Use an smtp client to send the email inste...
by montagdude
Wed Feb 07, 2018 7:03 pm
Forum: ZoneMinder 1.30.x
Topic: How to avoid recording snow and rain?
Replies: 3
Views: 662

Re: How to avoid recording snow and rain?

Set your alarm frame count to 3 under each monitor config buffers tab I'm not the OP or in the same situation, but thanks for this suggestion. I knew there was an option like that in the filters, but I didn't know you could keep prevent an event from being recorded in the first place based on alarm...
by montagdude
Mon Feb 05, 2018 8:36 pm
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 11
Views: 3500

Re: Instant notification on alarm

However, every time it calls zmMemVerify when zmc is not running (e.g. ZoneMinder is stopped), I get an error message in the log. Should I be using a different method or calling this method differently so as not to return a log entry? Personally, I have my script set up to check whether ZoneMinder ...
by montagdude
Thu Jan 25, 2018 5:43 pm
Forum: Feature Requests
Topic: Machine learning video detection
Replies: 8
Views: 4234

Re: Machine learning video detection

After having run ZoneMinder for several months, I agree that this would be a really killer feature even if the current motion detection settings are retained. Imagine that when you view an event, there are buttons to "Mark real alarm" and "Mark false alarm," which if you click, ZoneMinder will add t...
by montagdude
Mon Jan 15, 2018 3:06 pm
Forum: ZoneMinder 1.30.x
Topic: Can't initiate email notifications
Replies: 23
Views: 3076

Re: SOLVED

Educational process for sure. I had not realized that in order to automate filters one had to set/check "Run filter in background." Thought that their existence as filters would mean they were all considered for every event. Seems obvious now, but... The documentation mentions this but only in a mo...
by montagdude
Thu Jan 11, 2018 3:05 am
Forum: ZoneMinder 1.30.x
Topic: Insanely long alarm times
Replies: 5
Views: 686

Re: Insanely long alarm times

What is your post event image count (under Monitor -> Buffers)? You can also look at the frames for one of your long events and see how many non-alarm frames occur between alarm frames. Events that should really be multiple events will get combined into one if the post event image count does not get...
by montagdude
Mon Jan 08, 2018 5:04 am
Forum: ZoneMinder 1.30.x
Topic: Stream gets behind watching live video
Replies: 1
Views: 318

Re: Stream gets behind watching live video

Have you tried reducing the framerate further? For security video you shouldn't really need more than 3 FPS or so. Also, is the camera wired or wireless? If wireless, you can try moving the router so as to improve the signal.