Get the webcam streamer

Source: Internet
Author: User
Tags imagemagick

In order to install it on your pi follow the steps:
1. Install Subversion:
sudo apt-get update
sudo apt-get install subversion

2. Go to the folder where you want to has the Mjpg-stremer, for EXAMPLE/HOME/PI
Cd/home/pi

3. Get Mjpg-streamer:
sudo svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer mjpg-streamer


4. Install Libjpeg8-dev
sudo apt-get install Libjpeg8-dev

5. Install ImageMagick
sudo apt-get install ImageMagick

6. Make the project:
CD Mjpg-streamer/mjpg-streamer
Make

7. when the it finishes you should is ready to start streaming your video. To does so, enter the following command:
./mjpg_streamer-i "./input_uvc.so"-o "./output_http.so-w./www"

8. Now you should is able to view the stream from other computer on your network. Open a Web browser and open the following link:
Http://{name or ip-address of the raspi}:8080

9. However, to-let the stream is viewed from outsite your network you'll need to port forward your router. This varies from router to router, so please search for Google how to do it on yours.

//

Sudo svn co https://svn.code.sf.net/p/mjpg-streamer/code/mjpg-streamer  mjpg-streamer

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.