Good CGI script for Indy web cam?

Good CGI script for Indy web cam?

Post by Josiah Fize » Tue, 06 Apr 1999 04:00:00



Any one out there have a good CGI script (not CRON) for using an Indy
Cam as a Web Cam? The one I've thrown together dont seem to work very
well on IE vs Netscape.
 
 
 

Good CGI script for Indy web cam?

Post by Dev Consol » Thu, 08 Apr 1999 04:00:00



> Any one out there have a good CGI script (not CRON) for using an Indy
> Cam as a Web Cam? The one I've thrown together dont seem to work very
> well on IE vs Netscape.

Read this:

http://support.sgi.com/surfzone/content/pipeline/html/19990201VideoWe...

In particular, behold:

      You can create a Web page that executes a common gateway
      interface (CGI) script to return a current snapshot to the
      calling Web page. The following script, named grabsnap.cgi,
      is an example of a simple CGI script:

      #!/bin/sh
      echo Content-Type: image/jpeg
      echo
      name=$REMOTE_HOST
      cd /data/video
      /usr/sbin/vidtomem -f $name 2>/dev/null
      /usr/sbin/dmconvert -f jfif ${name}-00000.rgb \
        ${name}.jpg 2>/dev/null
      cat "${name}.jpg"
      rm -f ${name}*.*

--
crw--w--w-    3 root     sys       58,  0 Apr  7 12:01 /dev/console

 
 
 

1. Indy Cam to Web?

Are there any instructions for hooking an indy cam up as a web cam, to
broadcast the captures every 5 minutes or so onto a web page?  Can
this be done?

Thanks,
Todd Jagger

2. Fonts in LW 5.6 Mac

3. Indy Cam to Web - Howto

4. Are volumetric shadows any use at all?

5. Indy Cam to Web page ...

6. interfaces

7. A NEW WEB CAM LIST: GLOVISION THE WEB CAM STATION

8. again this F a c e M a p

9. Would an Indy be a Good Web Server?

10. WOuld an Indy be a Good web Server??

11. Web Cam und Web Album

12. Indy Cam

13. INDY CAM on PC with Video Board