PDA

View Full Version : LJ webcam - techno question


old_rookie
04-01-2010, 01:41 PM
Does anyone know how to grab a single image from the web-cam? I don't mean a screen shot, more something like this:

http://bigwatersedge.axiscam.net/axis-cgi/mjpg/image.cgi


I have a webcam application that goes out and grabs images once every 5 minutes or whatever setting you choose and saves the images. It would be cool to do that with the LJ webcam.

Nic D
04-01-2010, 01:56 PM
wait till the camera times out, then just drag it to your desktop

old_rookie
04-01-2010, 02:11 PM
wait till the camera times out, then just drag it to your desktop

If you mean to do that every 5 minutes, then I'll pass - if to get the image info, I found image is named video.jpg - I added that to the cgi url, but it didn't work.

fishes
04-01-2010, 02:24 PM
So are you trying to hit the LJ cam every 5 minutes, cache a still and render elsewhere? I might be able to help you if you provide more req's.

old_rookie
04-01-2010, 03:11 PM
So are you trying to hit the LJ cam every 5 minutes, cache a still and render elsewhere? I might be able to help you if you provide more req's.

Close. If I can grab a still image from the LJ cam once every 5 minutes using a url link or something similar, the software will automatically save it to a file. At a later point I'll put all the images together for a timelapse video.

robmandel
04-02-2010, 11:26 AM
maybe this helps:

the webcam page source includes a file called lajollawebcam.js

http://www.bigwatersedge.com/webcam/lajollawebcam.js (http://bigwatersedge.com/bwevb/view-source:http://www.bigwatersedge.com/webcam/lajollawebcam.js)</pre>
the javascript auto creates the IMG tag and cycles a new image.

the IMG tag code is in there. the only hangup might be the
"theDate.getTime().toString() which will be part of the document.write code.

however, I'd guess ?? that if you worked up the code from that (see code)

baseURL+=File+= etc. you'd be able to grab the image in a browser with javascript. now, can you use it in another application? well, once you can grab them from the internet, pretty much it's a scripting issue.

in fact, any app that can grab internet images could, the only hiccup will be the getTime() issue and filenames.

hope that helps.

teto116
04-02-2010, 12:38 PM
microsoft has a program called note one , it comes in the office home and student 2007 version. On that program, you just press the lil windows icon on your keyboard along with s, and ANYTHING on your screen freezes you just have to crop and paste. the only downside its like 100.bucks +-:hmmmm::hmmmm:

Iceman
04-02-2010, 06:04 PM
Way t' go Rob! :biggrinjester:

http://danielkennett.org/pictures/posts/regression/nerd.jpg

Nic D
04-02-2010, 08:20 PM
Way t' go Rob! :biggrinjester:

http://danielkennett.org/pictures/posts/regression/nerd.jpg

translation = nerd :D

old_rookie
04-03-2010, 01:25 PM
without the nerds we wouldn't have cheap computers to access this forum - or the LJ webcam, we wouldn't have the low priced, small fish-finders for the kayaks....

Useful Idiot
04-03-2010, 04:43 PM
Press "print screen" on your keyboard

Open image editing program

Edit>Paste as New Image

Crop to your liking.

:cheers1:

old_rookie
04-03-2010, 05:21 PM
Trying to get a url so that I can feed it to an automated program that will grab an image once every 5 minutes.

Nic D
04-03-2010, 06:43 PM
you can also just click on the webcam's image and drag it to your desktop.

old_rookie
04-05-2010, 08:53 AM
Found some info on the camera and tried doing this in the browser:

http://bigwatersedge.axiscam.net/axis-cgi/jpg/image.cgi?resolution=4CIF&camera=1
(http://bigwatersedge.axiscam.net/axis-cgi/jpg/image.cgi?resolution=4CIF&camera=1)

but it comes up with a blank screen. This seems to be the right way to do it (I found a manual on-line) - but nothing happens. (http://bigwatersedge.axiscam.net/axis-cgi/jpg/image.cgi?resolution=4CIF&camera=1)