Author Topic: Looking for a webcam script  (Read 902 times)

0 Members and 1 Guest are viewing this topic.

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
Looking for a webcam script
OK, the place where I work got a "webcam" of sorts (it's actually a networked security camera). They want to use it as a proper webcam, but there's one problem: when the camera uploads images to a specified directory, it creates subfolders based on the date, and names the JPG files based on the time. :-/ So I can't just put one JPG filename into a webpage and have the page refresh every 5 seconds or anything.

Does anyone know of a script of some sort, be it Flash, Java/Javascript, or whatever, that is able to deal with this kind of situation (constantly changing filenames)? Preferably it would also be able to delete the previous day's folder of images.

If it helps any, here's a sample of the directory structure the camera creates:



[attachment deleted by admin]
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

  
Re: Looking for a webcam script
Looks like you need a webservice which returns the latest image, an IMG tag pointing to said service, and Javascript that refreshes the page every X seconds.
'And anyway, I agree - no sig images means more post, less pictures. It's annoying to sit through 40 different sigs telling about how cool, deadly, or assassin like a person is.' --Unknown Target

"You know what they say about the simplest solution."
"Bill Gates avoids it at every possible opportunity?"
-- Nuke and Colonol Drekker