FTP Upload-only want to upload alarm frames, not every frame

Forum for questions and support relating to the 1.24.x releases only.
Locked
btrotter
Posts: 57
Joined: Tue Jan 15, 2008 3:31 pm

FTP Upload-only want to upload alarm frames, not every frame

Post 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?
nausser
Posts: 18
Joined: Sat Oct 09, 2010 9:08 pm
Location: South Florida

I am very interested in this too.

Post 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!
Time never ceases to accelerate.
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post 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.
Dreded
Posts: 26
Joined: Fri Dec 03, 2010 1:33 am

Post 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
nausser
Posts: 18
Joined: Sat Oct 09, 2010 9:08 pm
Location: South Florida

@ Dreded

Post 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!!
Time never ceases to accelerate.
Dreded
Posts: 26
Joined: Fri Dec 03, 2010 1:33 am

Post 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
nausser
Posts: 18
Joined: Sat Oct 09, 2010 9:08 pm
Location: South Florida

Post 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.
Time never ceases to accelerate.
nausser
Posts: 18
Joined: Sat Oct 09, 2010 9:08 pm
Location: South Florida

Post 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.
:)
Time never ceases to accelerate.
Locked