AbelCam Forum
Download AbelCam buy Pro
 
 
 
Welcome Anonymous User
04/30/2024 - 12:35 PM
Quick Search:
Quick Jump:
 
Announcements
Latest Topics
 
Using current.jpg
By: ErikBo
Rank: Newbie
Topics: 3
From: Denmark
Added: 09/26/2007 - 04:49 PM

Using Logitech Sphere, I try to do following:
1. make a move: ex: http://localhost:8080/up0-3
2. wait for x seconds
3. using http://localhost:8080/current.jpg to display the picture after move

It seems that current.jpg is not that current, so I do not necessary get a picture from the new position.
I have tried various values of x
In addition I have tried to add ?a=Math.random to the jpg ref

Is'nt so that when firing the current.jpg I really get the current?
By: sse
Rank: Forum Addict
Topics: 73
From: n/a
Added: 09/26/2007 - 07:21 PM

Hello Erik

what is the frame rate you're using?

A suggestion to solve this:
In 2. instead of waiting, request a picture just like in 3., but don't use it.
In 3. you will get a live picture.


In order to avoid image processing that won't be used, AbelCam is not capturing at the regular frame rate when nobody is viewing.

Probably you don't get the latest ('current') image, because you are not requesting images regularly.

Adding Math.random is a good idea, probably you'll want to keep that.
By: ErikBo
Rank: Newbie
Topics: 3
From: Denmark
Added: 09/26/2007 - 10:33 PM

Thanks,

I increased the frame rate from 1 to 5 and now it working.

Another minor thing:
Using date in caption shows mm/dd/yyyy when AbelCam runs as a service on my win 2000.
Running as a desktop application shows dd/mm/yyyy. Just for your info.

Regards