1. sudo apt-get install Libv4l-dev Libjpeg-dev
2. Install SVN and configure the agent
sudo apt-get install subversion
sudo vi /etc/subversion/servers[global]http-proxy-host=172.16. 2.187 http-proxy-port=8080
3. Download code
SVN checkout http://Svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer-code
4. Install ImageMagick Otherwise the following error occurs
sudo apt-get install ImageMagick
Convert pictures/960x720_1.jpg-resize0x240! pictures/320x240_1.jpg/bin/sh1: Convert:not foundmake [1 127
5. CD Mjpg-streamer-code/mjpg-streamer
Make clean all
Make Use_libv4l2=true
echo $LD _library_path also need to add/user/local/lib path
Export Ld_library_path= $LD _library_path:/usr/local/lib
/home/odroid/catkin_ws/devel/lib:/home/odroid/catkin_ws/devel/lib/arm-linux-gnueabihf:/opt/ros/indigo/lib:/opt /ros/indigo/lib/arm-linux-gnueabihf
Test command mjpg_streamer-i "input_uvc.so-d/dev/video0-r 640x480-f"-o "output_http.so-p 8080-w/var/www/mjpg_streamer"
6 Creating a startup script
Ubuntu 14.10 under the source installation Mjpg-streamer and use