Use Motion to do real-time monitoring
The first step update
sudo apt-get update sudo apt-get upgrade -y
The second step installation motion
sudo apt-get install motion
The third step is to modify motion configuration
sudo vim /etc/motion/motion.conf
The main changes include the following several
background daemon on # width 640 # pixels wide height 480 # pixels high frameRate 100 # reduces the frame rate delay Stream - localhost only native OFF # access ffmpeg_output_movies off # save video
The fourth step to start the service
sudo Motion # start sudo Service STOP # Stop Motion
The fifth step web access
The use of IP in the browser: Port will be able to see the screen.
via
http://shumeipai.nxez.com/2016/09/01/raspberry-pi-motion-cameras-for-remote-monitoring.html