Projects/SpaceCam: verschil tussen versies

Uit Hackerspace Bitlair
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...'
ย 
Regel 16: Regel 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"}'

Versie van 9 nov 2011 20:59


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

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