Projects/SpaceCam: Difference between revisions

From Hackerspace Amersfoort
Jump to navigation Jump to search
(Nieuwe pagina aangemaakt met '{{Project |name=SpaceCam |URL=http://cam.bitlair.nl |contact=Gebruiker:AK47 |info=SpaceCam! |status=Beta }} On http://cam.bitlair.nl we currently have a stream running...')
 
Line 16: Line 16:


==Multiplexing in VLC==
==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 setup the MJPEG stream via HTTP to port 8080:
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"}'
  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"}'

Revision as of 20:59, 9 November 2011


NoPicture.png
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"}'