To make your Raspberry Pi a security officer you can connect the camera's to a NAS.
In my case I have a Synology NAS with Surveillance station installed. Surveillance station analyses the video stream and detects movement it will start recording 5 seconds prior to the detected movement. After it detects that nothing moves in the video stream, it will stop recording after 5 seconds.
For each webcam you need to add a camera in Surveillance station.
These are the settings for the camera:
Name | You can give your camera a name. Webcam |
IP-address | This is the IP address of the Raspberry Pi 192.168.0.200 |
Port | This is port number 8080 or 8081 or port you configured in startmjpgstreamer |
Brand | This option must be set to User Define |
Videoformat | This option must be set to MJPEG |
Sourcepath | This option must be set to /?action=stream |
Username | This is the username if the -c option is configured for output_http.so |
Password | This is the password if the -c option is configured for output_http.so |