IP-Cam goes "offline"

Support and queries relating to all previous versions of ZoneMinder
Locked
joky
Posts: 11
Joined: Sun Feb 12, 2006 9:38 am

IP-Cam goes "offline"

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
joky
Posts: 11
Joined: Sun Feb 12, 2006 9:38 am

Post by joky »

it's just simple still-images,..
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
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
joky
Posts: 11
Joined: Sun Feb 12, 2006 9:38 am

Post 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,...
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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?
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
joky
Posts: 11
Joined: Sun Feb 12, 2006 9:38 am

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

oh i see, what do the logs say when it fails, and if you restart zm do they start again
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
joky
Posts: 11
Joined: Sun Feb 12, 2006 9:38 am

Post 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
Locked