This uses wayyy fewer CPU cycles than the VLC streaming, and it seems like there is significantly less latency, though I have yet to test it properly on the rover over sputnik. It seems unlikely that setup-tools will be able to automatically install this so we're stuck manually compiling for now:
Get the code via svn:
$ svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer/ mjpg-streamer
Installing mjpg_streamer:
$ cd mjpg-stream$ sudo make install
This guide helped explain the major functionality for me. I've written a VideoStream class so we could use handle multiple webcam streaming without too much of a hassle.
This uses wayyy fewer CPU cycles than the VLC streaming, and it seems like there is significantly less latency, though I have yet to test it properly on the rover over sputnik. It seems unlikely that setup-tools will be able to automatically install this so we're stuck manually compiling for now:
Get the code via svn:
$ svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer/ mjpg-streamer
Dependencies (assuming debian, use package manager equivalent)
$ sudo apt-get install libjpeg8-dev imagemagick libv4l-dev
Installing mjpg_streamer:
$ cd mjpg-stream
$ sudo make install
This guide helped explain the major functionality for me. I've written a VideoStream class so we could use handle multiple webcam streaming without too much of a hassle.