I am having a problem where my events are choppy - the moving object which is causing my monitor to alarm is jumping around the screen. I guess one explanation would be that I am capturing at too high of a FPS for my server to keep up, though my load is low so I do not think that is the case.
I have exported two such events to .avi to show you what I mean: http://www.fixertec.net/images/zoneminder/zm-chop.avi and http://www.fixertec.net/images/zoneminder/zm-chop2.avi
The camera is setup for RTSP with 10FPS / 15FPS Alarm.
Thanks for any help.
Choppy Events
-
- Posts: 260
- Joined: Tue Aug 21, 2007 1:42 pm
- Location: Baltimore, MD
My Solution was...
I was tearing my hair out with a similar problem. I'm using Axis 207/s cameras.
My analysis came down to, the "captured" frame rate was slower than real time, so it was always jumping ahead to keep in sync.
My solution was to change the camera URL from:
/axis-cgi/mjpg/video.cgi
to:
/axis-cgi/jpg/image.cgi?resolution=640x480
This way ZM will ask for individual images at its own rate.
Using the original URL, I believe zm was grabbing images from the stream, and thus loosing "Time" as it went. (It would lag by between 10 and 15 seconds.)
If you use the mjpg URL, set the frame rate [blank] then limit the frame rate in the camera, zm appears to keep time then, without lages. The disadvantage with this is you can not boost frame rate on an event.
My analysis came down to, the "captured" frame rate was slower than real time, so it was always jumping ahead to keep in sync.
My solution was to change the camera URL from:
/axis-cgi/mjpg/video.cgi
to:
/axis-cgi/jpg/image.cgi?resolution=640x480
This way ZM will ask for individual images at its own rate.
Using the original URL, I believe zm was grabbing images from the stream, and thus loosing "Time" as it went. (It would lag by between 10 and 15 seconds.)
If you use the mjpg URL, set the frame rate [blank] then limit the frame rate in the camera, zm appears to keep time then, without lages. The disadvantage with this is you can not boost frame rate on an event.