![]() This insures, that motion trigger on the substream will also trigger a recording on the main stream. ![]() Linked Monitors: Here select the “Front Garden Sub” we just set up. This is important as only with Nodect will Zoneminder not run analysis on the 4k stream, thus saving your CPU a lot of work. If so: Good lets continue with the main stream.Īgain click on add Camera. Click save and check if you can see the video coming from the camera inside ZM. The other tabs are all down to your personal preference. This will have zoneminder save the camera feed without transcoding, which once again is VERY CPU instensive. For me 640*480 Under storage its important to set the “Video Writer” to h264 passthrough. Method: TCP Capture Resolution: Set this to the same resolution you have set on the reolink cam. On the source tab add the rtmp url for the substream. This allows me to have 24h low resolution recordings of the substream and in turn triggers the main stream to record once motion is actually detected. For me its Front Garden Sub Set the source type to ffmpeg. So first let us setup the sub stream: Click on “Add” in the Zoneminder Console: Under General give the camera a recognizable name. So we will setup the sub stream for the motion detection and then trigger the main stream to record this movement. Doing this on a 4k stream is VERY CPU intensive. Now why do we need both the sub and the main stream? Zoneminder does image processing to recognize movement and then trigger recordings. Here is reolinks documentation on the rtmp stream: So in this case the URL for the Main Stream is: rtmp://10.10.30.13/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=YOURPASSWORD Sub Stream: rtmp://10.10.30.13/bcs/channel0_sub.bcs?channel=0&stream=1&user=admin&password=YOURPASSWORD Luckily someone on the zoneminder forum discovered that reolink also outputs rtmp streams which work a lot better. Switching back to Zoneminder: For the source path you would normally chose the rtsp streams however I and many others had some issues using the rtsp streams in zoneminder as I had frequent smearing on my rtsp stream. This is more than enough for my purposes. My main stream is 10fps my substream only 7. Settings – Recording – Encode I suggest lowering the fps as this saves a ton of bandwidth. For me its 10.10.30.13 as my cameras reside on a separate vlan which has internet access disabled for security reasons and paranoia □Īccess you reolink admin interface and set the output of your main and substream to the desired quality. If not check out these great tutorials on how to get zoneminder running: Īdding Reolink Cameras to Zoneminder is pretty easy as they support the onvif standard and provide both rtmp and rtsp streams (more on that later) First make sure you know the IP of your Reolink cameras in your network. For the sake of this tutorial I will just assume you have your zoneminder instance and your reolink cameras already set up. Zoneminder is a free open source NVR software which you can selfhost on your homeserver thus making you independent from cloud services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |