Projects/SpaceCam

From Hackerspace Amersfoort
Revision as of 22:52, 18 January 2014 by AK47 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Project SpaceCam
Name SpaceCam
Start 2011/11/09
End
Contact AK47
Website http://cam.bitlair.nl
Information SpaceCam!
Status Abandoned


Status

This project is currently abandoned because Bitlair does not own the Honeywell cam anymore. We currently have to get a new cam.

Intro

On http://cam.bitlair.nl we currently have a stream running from our SpaceCam.

The camera we are using is a Honeywell HCX13M. The stream is multiplexed at another server using VLC.

MJPEG stream Honeywell HCX13M

At first it seems the Honeywell stream is only viewable from the Java applet in the webinterface. Using Wireshark we discovered the applet is actually pulling a MJPEG stream. This is the URL:

http://CAM_IP/now.jpg?snap=spush

Multiplexing in VLC

Multiplexing MJPEG in VLC can be a bit tricky. For this we are using CVLC (the command-line VLC). This is the complete line to setup the MJPEG stream via HTTP to port 8080:

cvlc http://CAM_IP/now.jpg?snap=spush --loop --sout '#standard{mux="mpjpeg",
access="http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a}",
dst="SERVER_IP:8080/now.mjpg"}'