image delay

Support and queries relating to all previous versions of ZoneMinder
Locked
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

image delay

Post by casall »

Hi guys!
Hopefully you can assist me with my little problem. I recently upgraded my zoneminder hardware from a pentium III, 650 Mhz with 512 Mb in memory to a bit more powerful pentium IV 3 Ghz, 4Gb memory and a lot more. All in all a much more powerful machine to have as a server for my 4 analog cameras that are connected through a Axis 240Q so all traffic is translated to IP before coming to the server. Now to the problem. I'm running the new system on a Ubuntu 7.04, while the old machine ran the Zoneminder installation setup (liveCD).

It was functioning quite well on my old machine (with a regular reboot) but on the new one the images are showing with a 3-12 second delay. While running a store and using the cameras to see if anyone is in the store, you basically have them at your office in that time.

I have tried to tweak the system around, but not having any luck I turn to you. Can anybody point me in the right direction. I don't think that I should have a lagging problem like this on a machine that is 4 times more powerful than the old one. But nothing I have tried have resulted in more current images than 3-12 second delay. Help would be greatly appreciated.

/Casall
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

What settings in ZM are different on the new machine vs the old one?
What streaming method are you using?
What are your setting for the bandwidth I'm assumming your using the high setting?

If your using mpeg streaming, most players buffer the stream before they begin playing :(
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

There are no settings different, I started out with the same settings as on the previous machine, I have however tweaked a lot around and don't have them anymore as I copied them. My old machine is gone to another place (Restin peace). I use 4 cameras set at low bandwidth and streaming jpeg images.

The cameras are set at 3 fps, with 7 fps on alarms. Ref image blend is set at 7, resolution 320X240.

Buffer settings: buffer size 40, warmup 25, pre event 15 post event 15, alarm fram count 1. Load on the machine is 0.4, disk usage 17%. Zoneminder version 1.22.3
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

as you are throttling on the server not on the ip server, are you using mjpeg or jpeg. if using mjpeg you can only throttle the fps on the sending device not the recieving
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

I am just using jpegs nothing fancy.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

shouldnt be a delay then

wanna post your path to be sure?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

not quite sure that I follow what you are referring to by posting my path, could you please be more specific?

/Casall
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

the path you are using in your zm setting to get the image from the cam
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

Sorry about my late reply but here is the path:
/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=1
/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=2
/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=3
/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=4

Hope this helps!

/Casall
W.
Posts: 108
Joined: Tue Apr 10, 2007 5:06 pm
Location: Latvia

Post by W. »

you are using mjpegs and not jpegs, try /axis-cgi/jpg/image.cgi path instead
if common sense is so uncommon, why is it called common then?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

as above, thats why i asked for your path
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
casall
Posts: 20
Joined: Sun Jan 14, 2007 11:18 pm

Post by casall »

Hi guys!
This seems to have solved it! Thanks for all your tips. I will check it during the next few days and keep you posted. Once again thank you all for your help and suggestions!

/Casall
Locked