Difference between revisions of "Equipment/Webcams"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 39: Line 39:
  
 
Currently http://hack.rs:8001 or http://knuth.london.hackspace.org.uk:8001
 
Currently http://hack.rs:8001 or http://knuth.london.hackspace.org.uk:8001
 +
 +
[http://lhs.tormentedtechnologies.com/daySoFar.avi The Day So Far]

Revision as of 07:54, 2 August 2010

The IP Secure300r webcam

The camera is one of these.

Warning

The java app on the main admin page of the camera tends to lockup firefox

Access

  • IP: 172.31.24.169
  • Host: netcam
  • Username: admin
  • Password: hackspace

Infrared led control

To toggle the ir leds:

wget netcam/goform/WebCam_MotoForm?MotoBut=Light --http-user=admin --http-password=hackspace

you will get a page returned as either:

webcam_logoIROff.htm (Meaning the leds are on)

or

webcam_logoIROn.htm (Meaning the leds are off)

How to get an image

  • Java a stream of width and size followed by JPEG.
  • M-JPEG returns a multipart/x-mixed-replace stream. However, the boundary provided is incorrect, which motion does not appreciate, so use:
  mkfifo campipe; nc -l -p 8011<campipe | nc netcam 80|sed -r 's/(boundary=)--sonixboundary/\1sonixboundry/'>campipe

And stream from there. On Babbage, the script netcamfix is started automatically from xinetd and does the same.

From outside the space

Currently http://hack.rs:8001 or http://knuth.london.hackspace.org.uk:8001

The Day So Far