标签: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
标签:http io strong for ar art amp ad
原文地址:http://my.oschina.net/floristgao/blog/304130