码迷,mamicode.com
首页 > Web开发 > 详细

Get the webcam streamer

时间:2014-08-19 01:04:23      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:http   io   strong   for   ar   art   amp   ad   

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 have 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 it finishes you should be ready to start streaming your video. To do so, enter the following command:
./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so -w ./www"

8. Now you should be 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 be viewed from outsite your network you will need to port forward your router. This varies from router to router, so please search on google how to do it on yours.

//

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

Get the webcam streamer,布布扣,bubuko.com

Get the webcam streamer

标签:http   io   strong   for   ar   art   amp   ad   

原文地址:http://my.oschina.net/floristgao/blog/304130

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!