Equipment/Webcams/IPSecure300r: Difference between revisions
From London Hackspace Wiki
No edit summary |
m (Reverted edits by 203.122.32.204 (Talk) to last revision by Ms7821) |
||
Line 1: | Line 1: | ||
[http://www. | =The IP Secure300r webcam= | ||
The camera is [http://www.geniusnet.com/geniusOnline/online.portal?_nfpb=true&productPortlet_actionOverride=/portlets/productArea/category/queryPro&_windowLabel=productPortlet&productPortletproductId=1144147&_pageLabel=productPage&test=portlet-action 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=== | |||
* [http://netcam/cgi-bin/getimage Single JPEG] | |||
* [http://netcam/cgi-bin/getimage?java=1 Java] a stream of width and size followed by JPEG. | |||
* [http://netcam/cgi-bin/getimage?motion=1 M-JPEG] returns a multipart/x-mixed-replace stream. However, the boundary provided is incorrect, which <code>motion</code> 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 [http://localhost:8011/cgi-bin/getimage?motion=1 there]. On [[Babbage]], the script <code>netcamfix</code> is started automatically from <code>xinetd</code> and does the same (this feeds into motion). |
Revision as of 08:09, 15 October 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 (this feeds into motion).