Page 1 of 1

IP-Cam goes "offline"

Posted: Sun Jun 11, 2006 7:06 pm
by joky
Hi everyone,

i've a grand ipcam wifi wich goes offline about once or more in a hour - without problems in network-connection.

I changed the position of the access-point, the cam has a ping of about 2 ms.

I think there's a problem fetching the pictures over http, one of these queries is lost and it takes a time to cancel and reconnect.
Is there an other way, eg. continous JPEG-Streams? I've already seen IP Cams from Digitus wich has linux on it, maybe it's possible to create a ZM-optimized interface,...


greetings, erwin

Posted: Tue Jun 13, 2006 10:04 am
by zoneminder
Are you using an mpjpeg stream or fetching individual images? I know some cameras have a maximum view time, after which the stream times out and you can no longer access it. There is usually an option in the camer config to extend or disable this limit though.

Posted: Tue Jun 13, 2006 10:41 am
by joky
it's just simple still-images,..

Posted: Tue Jun 13, 2006 10:42 am
by jameswilson
I have an axis that does this too, i think that certain cams have bugs that dont like loads of stills being pulled of them, when my 206m does it it says too many users connected, i suppose it thinks that succesisve grabs are different clients, mjpeg solved this but i prefer the throtling power of stills

Posted: Wed Jun 14, 2006 7:23 am
by joky
so a mjpeg stream would be better?

now 6 additional cameras recieved, most of them are connected to a 100MBit Interface (1gb between switches and to the server). The Frame-Rate goes up, but the problems with cams going offline still exists.

The cam's are physically online and it is possible to access the picture thru a self-written pass-thru interface on the server or directly thru the browser.

On ZM i use the following settings:
HTTP until yesterday 1.1, now I switched down to 1.0
Timeout: 2500ms Default, yesterday 900ms, now 3000ms

Best Regards

@zoneminder: if you want to access my network just tell me, if you want to do tests on your own i'll send you such a cam
did you got my donation? hope it's enough for the first time,...

Posted: Wed Jun 14, 2006 9:05 am
by jameswilson
well in my case i odnt have an issue with mjpeg and i do with jpeg but this is a camera issue (there is a similar bug in the new 207's) I suspect your issue is your cams also, what happens when you try to connect to the cameras via a web browser when they fail?

Posted: Wed Jun 14, 2006 7:27 pm
by joky
thats the point:
THEY WORK!

i got an error on the cam-overview (source is red), but accessing the same cam from the same machine works!

best regards, erwin

Posted: Wed Jun 14, 2006 8:13 pm
by jameswilson
oh i see, what do the logs say when it fails, and if you restart zm do they start again

Posted: Fri Jun 16, 2006 11:46 am
by joky
hi,

i just recognised that zm shows the source "offline" - its IP is red - but zm still recieves frames from the camera.

But if it doesn't recieve images, a simple restart solves this problem,...

the only useful messages i get are the following:

Code: Select all

Jun 16 13:26:45 fileserver zma_m1[32071]: INF [C1-Garderobe_Ost: 026 - Starting new event 4792]
Jun 16 13:28:21 fileserver zmwatch[32125]: INF [Restarting capture daemon for C1-Garderobe_Ost, time since last capture 6 seconds (1150457301-1150457295)]
Jun 16 13:28:36 fileserver zmwatch[32125]: INF [Restarting capture daemon for C1-Garderobe_Ost, time since last capture 6 seconds (1150457316-1150457310)]
Jun 16 13:28:47 fileserver zmwatch[32125]: INF [Restarting capture daemon for C1-Garderobe_Ost, time since last capture 9 seconds (1150457327-1150457318)]
Jun 16 13:29:08 fileserver zmwatch[32125]: INF [Restarting capture daemon for C1-Garderobe_Ost, time since last capture 6 seconds (1150457348-1150457342)]
Jun 16 13:29:23 fileserver zmwatch[32125]: INF [Restarting capture daemon for C1-Garderobe_Ost, time since last capture 7 seconds (1150457363-1150457356)]
[repeated about 10-20 times]
best regards, Erwin