I am trying to think through something I would like to do, and thought I would toss the question out there for others to see if you had any good suggestions.
I currently run my 4 cameras in Mocord mode, so they are basically recording 24 hours a day.
I would like to grab a single frame every few minutes from each camera and upload it to a public facing website. That way I could set a few bookmarks on my Blackberry and be able to see if there were any cars in the driveway, is the garage door open, was the backdoor left open, etc.
I could just have four files uploaded from ZM to a website lets say every 5 minutes, then 5 minutes later, those files would be overwritten with the new ones, and so on.
Any ideas on how to do this easily?
Thanks,
Brian
Looking for ideas - Uploading images to a website
-
- Posts: 260
- Joined: Tue Aug 21, 2007 1:42 pm
- Location: Baltimore, MD
I would use the FTP upload option that is built into ZM.
Enable ZM_OPT_UPLOAD, set the other options, and then create a filter and select "Upload Results" and configure whatever else you need.
Looks like ZM uploads in tar or zip format. You could either hack this to upload the files directly, or, if this is a linux server, make a cron script to ssh to the remote server, remove the old files, and unzip the new ones.
Enable ZM_OPT_UPLOAD, set the other options, and then create a filter and select "Upload Results" and configure whatever else you need.
Looks like ZM uploads in tar or zip format. You could either hack this to upload the files directly, or, if this is a linux server, make a cron script to ssh to the remote server, remove the old files, and unzip the new ones.
I had looked at that, but thought it only uploaded events. Since I am running Mocord, it seems like everything would be an event.kylejohnson wrote:I would use the FTP upload option that is built into ZM.
Enable ZM_OPT_UPLOAD, set the other options, and then create a filter and select "Upload Results" and configure whatever else you need.
Looks like ZM uploads in tar or zip format. You could either hack this to upload the files directly, or, if this is a linux server, make a cron script to ssh to the remote server, remove the old files, and unzip the new ones.
You can have a second monitor for the camera, use the same parameters except its modect, and upload from that?btrotter wrote:I had looked at that, but thought it only uploaded events. Since I am running Mocord, it seems like everything would be an event.kylejohnson wrote:I would use the FTP upload option that is built into ZM.
Enable ZM_OPT_UPLOAD, set the other options, and then create a filter and select "Upload Results" and configure whatever else you need.
Looks like ZM uploads in tar or zip format. You could either hack this to upload the files directly, or, if this is a linux server, make a cron script to ssh to the remote server, remove the old files, and unzip the new ones.
There are a few ways to manage this:
As described above. Not likely what you are looking for.
Create a script on the ZM server and use zmu to grab an image from the monitor you want, and do as you please (ftp, ssh, scp , etc)
Create a script on the web server and retrieve a jpeg still through zms on the ZM server.
Pretty sure that you can find all this in the Wiki if you have any questions.
As described above. Not likely what you are looking for.
Create a script on the ZM server and use zmu to grab an image from the monitor you want, and do as you please (ftp, ssh, scp , etc)
Create a script on the web server and retrieve a jpeg still through zms on the ZM server.
Pretty sure that you can find all this in the Wiki if you have any questions.