1.必要元件
sudo apt-get update sudo apt-get install subversion sudo apt-get install libv4l-dev sudo apt-get install libjpeg8-dev sudo apt-get install imagemagick
2.mjpg-streamer安裝
udo svn co https://svn.code.sf.net/p/mjpg-streamer/code/ mjpg-streamer cd mjpg-streamer/mjpg-streamer sudo make USE_LIBV4L2=true clean all sudo make DESTDIR=/usr install
sudo ./start.sh #啟用服務
http://192.168.1.38:8080/javascript.html