树莓派安装mjpg-streamer做网络视频监控

github官网:

https://github.com/jacksonliam/mjpg-streamer

sudo apt install cmake libjpeg8-dev

wget https://github.com/jacksonliam/mjpg-streamer.git

解压后进入:

这样就完成了

用浏览器打开IP:8080就出来了

但正如它主页里写的安全问题,这个网页不能暴露在外网,因为它没有安全权限控制,只能内网里玩玩。

WARNING: mjpg-streamer should not be used on untrusted networks! By default, anyone with access to the network that mjpg-streamer is running on will be able to access it.

 

http://gsyan888.blogspot.com/2013/04/raspberry-pi-webcam-mjpg-streamer.html

 

相关的软件:

motion

fswebcam

raspistill

raspivid