Streaming Camera from Pi 2 Co-Processor to Driverstation

Has anyone had success streaming images from a co-processor to the driverstation?

I’d think that a program could be developed to mimic the Axis camera and provide an mjpeg stream. I found a class TCPImageFetcher in the SmartDashboard project ( but its not immediatly obvious what one would have to do to be compadible with the format it expects.

I’ve tried using mjpeg-streamer and pointing the driverstion at the Pi but no joy.

Another route would be using VLC on the driverstation and streaming using cvlc but that seems to introduce nearly 3 seconds of delay.

Here is the command i’m using
raspivid -o - -t 0 -n -w 640 -h 480 -fps 24 | cvlc stream:///dev/stdin --sout ‘#standard{access=http,mux=ts,dst=:8090}’ :demux=h264

What problems are you experiencing with mjpg-streamer?

I did some tests with a package called ‘motion’. When installed on your co-processor, it can act as a video frame server (http) that streams the output of USB and IP cameras in mjpeg format. Great tool, very well maintained and documented.