Last 24hrs video for each Monitor
Posted: Sun Dec 05, 2010 3:06 pm
Hi all,
Here's my first contribution to ZoneMinder.
The following script (bash - created on Ubuntu 10.04-64bit) creates an AVI per ZoneMinder monitor that contains the events of the last 24hrs.
The resulting .avi can then be uploaded to PicasaWebAlbums by using the google-cli utility (http://code.google.com/p/googlecl/).
You will need to provide a Picasa user name and an Album named SecurityCam, and go through the process of creating a google token for the user that will run the script (/home/%user%/.google).
If you don't want to upload to Picasa, simply comment out the google line and the rm -rf lines.
Since the scripts was truncated by the BB code, here's a direct link.
http://code.google.com/p/zm24hrsvid/dow ... h&can=2&q=
Enjoy.
Here's my first contribution to ZoneMinder.
The following script (bash - created on Ubuntu 10.04-64bit) creates an AVI per ZoneMinder monitor that contains the events of the last 24hrs.
The resulting .avi can then be uploaded to PicasaWebAlbums by using the google-cli utility (http://code.google.com/p/googlecl/).
You will need to provide a Picasa user name and an Album named SecurityCam, and go through the process of creating a google token for the user that will run the script (/home/%user%/.google).
If you don't want to upload to Picasa, simply comment out the google line and the rm -rf lines.
Since the scripts was truncated by the BB code, here's a direct link.
http://code.google.com/p/zm24hrsvid/dow ... h&can=2&q=
Enjoy.