Projects/SpaceCam

From Hackerspace Amersfoort
Jump to navigation Jump to search


Project SpaceCam
Name SpaceCam
Start
End
Contact Gebruiker:AK47
Website http://cam.bitlair.nl
Information SpaceCam!
Status Beta


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"}'