I have a Vivotek FD8134V camera, 1280x800, among others, that is streaming at 30fps. Zoneminder tells me so in the log, says capturing and analyzing at 30fps.
So why is it that when Zoneminder saves an Event it not saving 30fps? It's saving from 4 to 30fps, what ever it feels like, not 30fps.
As an example I have an Event that is 811.75 seconds, that's what Zoneminder tells me. At 30fps that should be 24,352 frames. Zoneminder has 9,603 frames for that Event.
Why?
All during the time this Event was being captured the Zoneminder log says the camera was being captured and analyzed at 30fps. There are no indications in the log that packets were missed, frames were dropped, etc.
Zoneminder failed to save over half the frames!!
Now mind you, the server used for this is no slouch. It's a Phenom II x6 1090T with 32G DDR3 1333 RAM an Areca SAS RAID controller with Cache and battery backup ST3000VX000 SATA3 6G/s disks, the OS is on a Vertex 4 SSD as is the MySQL DB on it's own mount point.
This is what Bonnie using a 64G test (-s) shows the disk(s) Zoneminder uses all to itself capable of:
Code: Select all
kB/s CPU
Writing with putc()... 90440 85.1%
Rewriting... 136186 11.8%
Writing intelligently... 387145 27.4%
Reading with getc()... 105620 96.4%
Reading intelligently... 262197 11.0%
Estimated seek time: raw 1.640ms, eff 1.579ms
So, why is Zoneminder losing 60% of the frames for an Event and this seems to be typical. I used this camera as an example but it happens to all.