Page 1 of 1
FTP Upload-only want to upload alarm frames, not every frame
Posted: Mon Sep 13, 2010 4:30 am
by btrotter
I decided to upload the images from ZM to an FTP site so they werent just sitting on my computer in my house waiting to get nabbed.
So I got an FTP server and set it up under the ZM config.
Then I went and setup a filter called "FTPfilter".
The variables are:
Date/Time greater than or equal to 09/10
and
Monitor Id equal to 2
and
Alarm Frames greater than or equal to 3
Upload all matches = checked
That should only upload events since Sept 10, on camera 2, and only events which have more than 3 alarm frames.
The problem is that it uploads every single frame in that event.
I only want it to upload the alarm frames.
By uploading every frame, it makes it so that it is dumping a 20Mb file up to the internet every 5-10 minutes. If I could only upload the alarm frames, that number would be significantly lowered.
How can I set ZM to only upload the alarm frames and not every frame in an event?
I am very interested in this too.
Posted: Wed Dec 22, 2010 8:02 pm
by nausser
I only have an interest of uploading my alarm frames when they are a certain duration. I'm getting constant uploads to my off site server with tar files over 200Mb. There is a duration option I was wondering about, however, I couldn't find much for documentation for this.
My ISP and I would really love someone who knows the answer to stumble upon this and leave their knowledge!
Thank you for any incite you may provide!
Posted: Thu Dec 23, 2010 7:26 am
by Flash_
This might work;
Create two monitors for each camera.
The first one is normal modect and doesn't send anything anywhere. This is the one you check normally.
The second you setup to send to ftp/phone whatever, but limit the entries under the camera's 'buffer' section. Limit pre and post to 1 or 2 frames so you only get 3+ frames per event. You may need to play with buffer size etc as well, but that should reduce what's sent out.
Posted: Thu Dec 23, 2010 8:30 am
by Dreded
I dont have time right now but in the next week or so Ill write a script that makes a h.264 video of the alarm frames only and uploads by FTP this would cut down the upload size drastically and Ill post the script here for you...
Flash_'s idea would work too... it would cause only alarm frames to be created in an event.. but it would lead to a lot of small uploads :p
@ Dreded
Posted: Thu Dec 23, 2010 2:46 pm
by nausser
I think I may hold out for your script. I would much rather have usable (by more people) video uploads than frames anyways.
I thank you both very much for your replies! I've deleted the filter for now because I just checked to find I uploaded over 16.2 Gigs overnight!
Happy holidays!!
Posted: Fri Dec 24, 2010 5:35 pm
by Dreded
perhaps you may want to setup the zones better so you dont get so many false alarms... I only get alerted if someone is currently where they shouldn't be :p
Posted: Fri Dec 24, 2010 6:04 pm
by nausser
I actually have a very small zone configured to trip an alarm. The alarm triggers very rarely. I may have a total of 10 - 20 alarm frames when someone walks around. I only get about 3 alarm frames when someone quickly walks by. The alarm frames seem to be tripping exactly as they should be. The only issue is it doesn't only upload the alarm frames. It uploads all frames in the event where the alarm frames were triggered.
Posted: Wed Jan 12, 2011 4:05 am
by nausser
Dreded wrote:I dont have time right now but in the next week or so Ill write a script that makes a h.264 video of the alarm frames only and uploads by FTP this would cut down the upload size drastically and Ill post the script here for you...
Any luck in finding time yet? Not pushing... just reminding.