I miei appunti su opensource software & opensource hardware

ZoneMinder (1.24.x) : Delay issue

Solution [1]:
cut off the <span> tag that display fps:
<div><SLANG>: <span></span> - <span></span> fps</div>
<div><SLANG>: <span></span> -  fps</div>
in file montage.php, view.php, etc

Solution [2]:
turning off mpeg streaming
setting pre-buffer on the monitor settings to something less

From what I can remember, it appears that zoneminder buffers the first 10 frames (internally) so the frame you see is always 10 frames behind real time.
This means that if you are capturing at 25 fps the image you see is 0.4 seconds behind reality. If you are capturing at 5fps you are 2 seconds behind and if at 1fps you are 10 seconds behind.

Solution [3]:
Delays with RTSP, HTTP, anything when the fps is above 6fps or zoneminder controls the fps. Try this and let us know how it goes.
Remote Protocol: HTTP
Remote Method: Simple
Remote Host Name: user:password@ip address
Remote Host Port: 80
Remote Host Path: /axis-cgi/mjpg/video.cgi?resolution=320×240&compression=20
Remote Image Colors: 24bit color
Capture Width: 320
Capture Height: 240
Maximum FPS: blank
Alarm Max FPS: blank

Solution [4]:
Options-> Web-> CAN_STREAM Override the automatic detection of browser streaming capability (?)
Change this to yes, it solved my problem.

It is camera setting its the PRE buffer

My solution
Set on ZM camera config:

…Maximum FPS: blank
Alarm Max FPS: blank

Set on remote ip camera:
Quality: Auto
FPS: 10

Set on Options -> Bandwidth -> (used bandwidth) -> WEB_L_VIDEO_MAXFPS to 10

[1] http://www.zoneminder.com/forums/viewtopic.php?t=15409
[2] http://www.zoneminder.com/forums/viewtopic.php?t=16007
[3] http://www.zoneminder.com/forums/viewtopic.php?t=15162
[4] http://www.zoneminder.com/forums/viewtopic.php?t=16020


Leave a Reply

Your email address will not be published. Required fields are marked *

× 3 = quindici

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>