Engineering and technology

delete events older than x days – ZoneMinder Forums

Is it possible make filter that deletes events older than for example five days?

I do mocord with four cameras daytime, and record one camera (other disabled) at night (motion detection does not work correctly at night)

I want to delete recorded events for this camera that are older than 5 days, so that they don’t fill my disk.

I know there is purgewhenfull filter, but this way I know that I have five days allways left. And it would not delete other camera events.

Source: delete events older than x days – ZoneMinder Forums

Video Generation Failed – ZoneMinder Forums

My setup:
Zoneminder v1.28.1
Ubuntu 14.04 Server

– First I open the event by clicking on the event number and the video starts to play
– Then I click the ‘Video’ link just above the video playing (this gives me the video popup)
– I accept the defaults and click the ‘Generate Video’ button
– Then I get the ‘Video Generation Failed!’ message

The System Log entry from Zoneminder Console:
“Unable to generate video, check /usr/share/zoneminder/events/2/15/04/16/10/51/59/ffmpeg.log for details”

– I don’t find an ffmpeg.log there, only the individual image files and the zmEventDetail.html and zmEventImages.html files

In the /var/log/apache2/error.log, I see these corresponding entries to my failed video export attempt:

Source: Video Generation Failed – ZoneMinder Forums

ZoneMinder Wiki – Wiki – Using a dedicated Hard Drive

On many installs you may wish to dedicate a hard drive or partition for Zoneminder events. There are many reasons why you may want to change the storage location – security, data segregation, preventing encroachment onto OS partition by zoneminder etc.

It’s not terribly difficult to do, but may be non-obvious to the untaught so here’s a brief guide.

Some commands here are based on Debian/Ubuntu installs

1. Become root or “sudo -s” to gain root privs.

2. Stop Zoneminder. “service zoneminder stop”, “/usr/bin/zmpkg.pl stop”, or “systemctl stop zoneminder”

3. Mount your new partition onto the root filesystem, ensuring it is automatically remounted at boot time by editing /etc/fstab — For the benefit of this guide, I’m calling my new partition /newdrive

Note this new partition can be a local drive, raid partition, lvm/md device, external NAS, SAN, NFS share or SMB share. The only condition is that the I/O throughput should be up to handling what Zoneminder will throw at it. For that speed reason, some favour non-journalled filesystems and accept the extra risk of data corruption

4. Locate Zoneminder’s “events” and “images” directories. In Debian and Ubuntu, these are under /var/cache/zoneminder. In CentOS and Fedora, these are under /var/lib/zoneminder.

If you wish to copy the data across, MOVE the events and images directories to /newdrive/zoneminder (Note this will take a long time on systems with many events). Also, DO NOT restart zoneminder until this entire process is completed. Doing so will cause all your events to be lost!

If you don’t wish to preserve the data, it is MUCH faster to simply delete or rename the original events and images dirs and create new directories in /newdrive/zoneminder. There is no need to remove the “orphaned” entries in the database, zmaudit will take care of those.

Eg:

mkdir /newdrive/zoneminder/events

mv /var/lib/zoneminder/events/* /var/lib/zoneminder/events_old/ — or — rm -rf /var/lib/zoneminder/events/

Add these lines in fstab to bind-mount an alternate location:

Source: ZoneMinder Wiki – Wiki – Using a dedicated Hard Drive

Building a better mousetrap [Resources_Hands On] – IEEE Xplore Document

Abstract:

Like virtually all New York City apartment dwellers, I am occasionally visited by a mouse looking for a new home. However, I was still surprised to hear a familiar scratching sound emanating from behind my desk late last year. This was because 12 months previously my unusually diligent landlord and I searched for every mouse-size gap in my newly renovated apartment and blocked them all with either metal plates or steel wool. . I put down poison and traps, but they were ignored. I started an increasingly frustrated search for the mouse’s entry point, until my suspicions fell on the gap between the bottom of our apartment’s front door and the sill. It looked just large enough for a small mouse to squeeze under, but I wasn’t sure. So, naturally, I set about building my own indoor wildlife camera system to catch the pest in the act of entering. . I could have tried hooking up our Nest Wi-Fienabled security camera, and set it for night vision and motion detection, but the Nest is really designed for monitoring rooms, not small areas like my doorsill. I also wondered if I could achieve my goals without sending a stream of live video from my home to some unknown data center. . Fortunately, I’d spotted what promised to be the ideal solution during the 2016 World Maker Faire in New York City last October. Singapore-based Annikken makes a line of shields that let Arduino microcontrollers communicate with a smartphone via Bluetooth. Previously, these shields worked with either Android or iOS mobile devices, but not both. At the Faire however, Annikken was demonstrating its latest product, the US $79 Annikken Andee U-AIO, which can communicate with both types of device (and the Apple Watch as well).

Published in: IEEE Spectrum Volume: 54Issue: 2, February 2017 )

Page(s): 19 – 20

Date of Publication: 31 January 2017 

Print ISSN: 0018-9235

 

DOI: 10.1109/MSPEC.2017.7833496

Publisher: IEEE

Sponsored by: IEEE

http://ieeexplore.ieee.org/document/7833496/?denied

[ubuntu] ZoneMinder: move Events storage location

I posted over in the ZoneMinder forums as well but no response: I have installed ZoneMinder 1.23.3 on my Ubuntu server 9.04, everything works great. In the Options, I moved the storage location for Events from its’ default over to my RAID volume, to keep it from eating up the space on my small OS drive. It stores the events, I can see them, but I cannot play them back in the browser. The likely suspect is that it needs a link between the old path and the new one, but I need the actual syntax on

Source: [ubuntu] ZoneMinder: move Events storage location

Connect to Revotech IP cameras

Try the following connection options in iSpy to connect to your Revotech IP camera. If VLC or FFMPEG options are available we recommend you try those first as they will often be faster and include audio support. If you don’t have VLC installed (or are experiencing problems with the VLC plugin) you may be able to use the same URL under the FFMPEG source type (VLC is based on FFMPEG).

The settings for Revotech cameras are built right into our open source surveillance software iSpy – click “Add” then “IP camera with wizard” to automatically setup your Revotech cameras. Start typing in the “Make” box to find your camera. If your camera is not listed in iSpy then click “Get Latest List” when on the add camera wizard. If you need to modify the URL then add or edit the Revotech camera in iSpy and you can modify the connection type and URL in the video source dialog (button is top of the first tab).

Source: Connect to Revotech IP cameras