From a fresh Raspberry Pi OS install on a Raspberry Pi(2, 3 and 4), this tutorial will help you create an ONVIF Profile S+G compatible device. The set

Raspberry Pi ONVIF CCTV Camera and NVR

submited by
Style Pass
2021-09-26 11:30:07

From a fresh Raspberry Pi OS install on a Raspberry Pi(2, 3 and 4), this tutorial will help you create an ONVIF Profile S+G compatible device. The setup is simple and the only required steps are to download and install the deb package which will automatically begin the server. If you want the server to automatically setup your camera, you will need to have enabled it with raspi-config first.

These commands will instal l a service and you should now be able to find your device via ONVIF discovery with a program like ONVIF Device Manager. The default credentials are “admin” and “password” which can be changed using this tool over the ONVIF protocol.

You should also be able to stream over RTSP with a tool like VLC. Make sure you replace the username, password and hostname with the relevant data.

At the moment the Raspberry Pi is only streaming live, if you want to enable recording, the server will need a file to begin recording data to. The package installed earlier also contains a command line interface for interacting with Monocle servers. Use the command below to add a file, changing the “numchunks” argument which is effectively the total number of megabytes used to store data, thus 2048 represents 2GB. This will continuously record, deleting old data when necessary.

Leave a Comment