Ubuntu 14.10 under the source installation Mjpg-streamer and use

Source: Internet
Author: User
Tags imagemagick

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.