![]() |
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 (https://git.io/vzxAS) 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. https://github.com/robotpy/mjpg-streamer 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 |
Re: Streaming Camera from Pi 2 Co-Processor to Driverstation
What problems are you experiencing with mjpg-streamer?
|
Re: Streaming Camera from Pi 2 Co-Processor to Driverstation
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.
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome |
| All times are GMT -5. The time now is 00:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi