notification of a live webcam image

K

Kooner

Hello,

I have a webcam and was able to send images to my webpage that is
refreshed every 30s. My webcam is not always plugged in. My question
is,if someone visits my webpage, how will they know if the images are
really live or from a few days ago when my webcam was last plugged in?
Let's assume the date doesn't not appear on the images. Would I need
to insert some html or javascript code in my webpage to check if my
webcam is plugged in and then diplay the result on my web page to let
someone know that the images really are live?

Kooner
 
J

Jedi

Why don't you just create a simple JavaScript, or simply plain HTML, that
displays the date of creation of the page (image)?

Bodi
 
K

Kooner

My windows' clock is very slow. If my computer is left on for a few
days, my clock looses 10 minutes every hour. Only after I reset my
computer does my clock show the correct time. So how does a web page
know if a web cam image is live or not? Is there a command to query
the usb port to check if a web cam is plugged in?
Kooner
 
J

Jedi

I don't know of an intrinsic command to check for that, you could probably
accomplish it with some very complex java code, but that would require high
security settings, and MS probably disabled querying for things like that.

As for your clock, you could get one of those tiny freeware apps that
updates your clock from the Internet, that would solve a few of your
problems.

Bodi
 
A

Adrienne

Gazing into my crystal ball I observed (e-mail address removed) (Kooner) writing
in
My windows' clock is very slow. If my computer is left on for a few
days, my clock looses 10 minutes every hour. Only after I reset my
computer does my clock show the correct time.

Go to http://www.rocketsoftware.com/rockettime/ and download Rocket Time.
It adjusts your computer's clock against the atomic time servers.
 
O

Owen Jacobson

As for your clock, you could get one of those tiny freeware apps that
updates your clock from the Internet, that would solve a few of your
problems.

Or, if you have windows 2000 or XP, there's a built-in NTP client. Check
the documentation for the 'Windows Time' service.
 
C

Chuck

Adrienne said:
Gazing into my crystal ball I observed (e-mail address removed) (Kooner) writing
in

Go to http://www.rocketsoftware.com/rockettime/ and download Rocket Time.
It adjusts your computer's clock against the atomic time servers.

Of course, your other option is to replace the cmos battery and not have to
worry about the clock losing time that quickly.

Chuck
 
H

Hywel Jenkins

Hello,

I have a webcam and was able to send images to my webpage that is
refreshed every 30s. My webcam is not always plugged in. My question
is,if someone visits my webpage, how will they know if the images are
really live or from a few days ago when my webcam was last plugged in?
Let's assume the date doesn't not appear on the images. Would I need
to insert some html or javascript code in my webpage to check if my
webcam is plugged in and then diplay the result on my web page to let
someone know that the images really are live?

You're not going to solve this with HTML, are you? It can't be done.
You have a number of options:
- get your web cam software to add a time-stamp to the image file

- get your web cam software to craete the page for you and include the
timestamp

- use some server-side scripting to stat the file and get its time
stamp and output that to the HTML document

- don't worry about it. Does anyone (apart from you) really care when
it was last updated?
 
K

Kooner

Chuck said:
Of course, your other option is to replace the cmos battery and not have to
worry about the clock losing time that quickly.

Chuck

But I thought my clock is running slow because of the windows98
(software) clock. Isn't the cmos battery for the hardware clock? My
computer always shows the correct time when I first boot up. I though
this means the hardware clock is ok, so I wouldn't need to change the
battery.

Kooner
 
C

Chuck

Kooner said:
But I thought my clock is running slow because of the windows98
(software) clock. Isn't the cmos battery for the hardware clock? My
computer always shows the correct time when I first boot up. I though
this means the hardware clock is ok, so I wouldn't need to change the
battery.

Kooner

Oh. I thought you were saying your puter was losing time all around. In your
case, changing the battery wouldn't help. Sorry.

Chuck
 
U

user

Chuck said:
Oh. I thought you were saying your puter was losing time all around. In your
case, changing the battery wouldn't help. Sorry.

Chuck

Just out of curiosity,

Is there a way to make the windows clock work faster? I mean that
windows (or the computer for that matter) *thinks* 10 minutes elapse
when in real time only 5 have?

Just want to know if it's somehow possible :)
 
R

rf

[discussion of slow clock in a computer]
Just out of curiosity,

Is there a way to make the windows clock work faster? I mean that
windows (or the computer for that matter) *thinks* 10 minutes elapse
when in real time only 5 have?

Just want to know if it's somehow possible :)

Oddly enough yes it is very possible.

Go over to http://microsoft.com and look for SetSystemTimeAdjustment. One
can fiddle with this and achieve any number of weird effects. I suspect this
is what is wrong with the clock in the offending computer. Somebody has
installed some software that has fiddled with the time adjustment.

Cheers
Richard.
 
O

Owen Jacobson

[discussion of slow clock in a computer]

Topic? I can't even *see* the topic from here. ^_^
Go over to http://microsoft.com and look for SetSystemTimeAdjustment. One
can fiddle with this and achieve any number of weird effects. I suspect this
is what is wrong with the clock in the offending computer. Somebody has
installed some software that has fiddled with the time adjustment.

Or the system's Real-Time Clock bits are no longer the same speed they
were when Windows was installed.
 
R

rf

Owen Jacobson said:
[discussion of slow clock in a computer]

Topic? I can't even *see* the topic from here. ^_^
Go over to http://microsoft.com and look for SetSystemTimeAdjustment. One
can fiddle with this and achieve any number of weird effects. I suspect this
is what is wrong with the clock in the offending computer. Somebody has
installed some software that has fiddled with the time adjustment.

Or the system's Real-Time Clock bits are no longer the same speed they
were when Windows was installed.

?

The real time clock registers are reprogrammed at each boot.

Cheers
Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top