Author Topic: Time out for finding Cameras  (Read 4115 times)

Conrad60

  • Newbie
  • *
  • Posts: 14
    • View Profile
Time out for finding Cameras
« on: November 27, 2011, 08:28:31 AM »
Hey,

it often happens, if I run iCamsource (2.4.2), that not all cameras are found in short time.
if so, iCamsource gives an output: 'URL not found, please click Help button bla bla', later on iCamsource finds the camera anyway (not always, but usually it does).

It seems to me, that if iCamsource reaches a kind of time out (during the search for cameras) and let this message pop up assuming the url is obsolete, wrong ore what ever...
In real though, iCamsourse just could not find the camera fast enough!
So, is there a possibility to adjust the 'time out' setting?
If not, could this become a future request?
Ore could it be set in the registry?

by the way, registry..... :o
have you ever thought about putting these kind of settings in an *.ini file
instead of writing it in the (windows) registry?

cu
Conrad

SKJM Support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
    • View Profile
Re: Time out for finding Cameras
« Reply #1 on: December 06, 2011, 05:00:22 AM »
Thank you for your post.

How many cameras are you running and what is the Brand/Model of each?

Also, what URL are you using and what radio button do you have selecting in iCamSource (MJPEG or JPEG)?

Conrad60

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Time out for finding Cameras
« Reply #2 on: December 09, 2011, 11:00:11 AM »
Hi,
if all cameras are connected, 10 cameras are running.
1 axis, 3 Foscam FI8918W and 6 Foscam FI8905.

I tried both settings (snapshot.cgi with JPEG and videostream.cgi with MJPEG)
If I use the snapshot settings, it seems to work faster in all, but it does not solve the issue...

cu
Conrad

SKJM Support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
    • View Profile
Re: Time out for finding Cameras
« Reply #3 on: December 09, 2011, 05:45:36 PM »
Thanks for that additional information.

What is the % CPU usage of the iCamSource application? It is possible the computer is struggling with 10 cameras running.

Please try running the iCamSource with just one camera (delete the others from your cameras list). If it works, we will continue adding cameras back on to your cameras list. Also, what is the fps setting for your Foscam cameras? As you add cameras back, please lower them to 2-5 fps.

You can adjust the frame rate of a Foscam camera by adding a parameter to the URL.

http://x.x.x.x/video.cgi?rate=<PARAM>

<PARAM> can be a value between 0 and 23, and each value corresponds to:
 
    0:maximum
    1:20 fps
    3:15 fps
    6:10 fps
    11:5 fps
    12:4 fps
    13:3 fps
    14:2 fps
    15:1 fps
    17:1 fp/2s
    19:1 fp/3s
    21:1 fp/4s
    23:1 fp/5s

So to connect to the camera at 2 fps, you would use http://x.x.x.x/video.cgi?rate=14 … or to connect at 5 fps, you would use http://x.x.x.x/video.cgi?rate=11

Conrad60

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Time out for finding Cameras
« Reply #4 on: December 10, 2011, 03:28:14 AM »
Hi,

in my case the CPU usage isn't much of a problem since I use an extra computer for the surveillance of my small business. If all things are running I get about 26% of CPU usage.
Starting the Program causes up to 90%  of CPU usage, falling down as soon as all cameras are found (ore get black due time out).

The Frame rate setting seems to be a good idea. The cameras it self are all set to 10 fps. But if I open Foscam FI8905 in IE browser, the frame rate is always back to 'max fps' it seems the fps settings are lost as soon as I leave the camera platform. The Axis and Foscam FI8918W cameras seem to store the fps settings properly (I suppose bad firmware in Foscam FI8905).

So, I'll try the additional parameter setting and be back a.s.p.  ;)

cu
Conrad

PS. what about iCamsource settings in an *.ini file?

Conrad60

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Time out for finding Cameras
« Reply #5 on: December 11, 2011, 02:20:00 PM »
Hi,

so I tried the settings you suggested and put the fps rate to 14 (=2fps) and that seems to help!
I also found out that axis has a similar setting by just putting the fps parameter option behind the '?'  It is plain, like: ?fps=3  means 3 frames per second and so on.

Thanks for this additional information.

cu
Conrad

SKJM Support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1917
    • View Profile
Re: Time out for finding Cameras
« Reply #6 on: December 12, 2011, 10:38:35 AM »
I'm glad you got it working!

Thanks for information on Axis cameras.

If you have any other issues or questions, please let us know.