Reolink

From ZoneMinder Wiki
Jump to navigationJump to search

Reolink Cameras That Can Work With ZoneMinder

PoE camera: RLC-410, 520, 522, 423, 511, 510A, 520A, 810A, 820A, 1220A, 1210A;

WiFi camera: E1 Pro; E1 Zoom; 410W, 510W;

Learn more about these cameras in Reolink official site: https://reolink.com/

Please note:

  1. 1. The list doesn't include the discontinued products. If you want to learn about these discontinued device, please ask Reolink employee in reddit: https://www.reddit.com/r/reolinkcam/ . Thanks!
  1. 2. The models that have "A" in the name are the cameras having on-board Person/Vehicle Detection, that is, RLC-510A, 520A, 810A, 820A, 1220A, 1210A. You may not use this local smart detection with Zoneminder, but you can use the advanced AI powered detection feature supported by the ZM.
  1. 3. When there are new products, this list will be updated.


Reolink Cameras (Recommended)

The latest step-by-step guide here

https://www.reddit.com/r/reolinkcam/comments/jnurzm/adding_reolink_cameras_to_zoneminder_nvr/


RLC-410

There is a lengthy forum thread here: https://forums.zoneminder.com/viewtopic.php?f=10&t=25874

RLC-423

Soooo, after lots of reading and just as much trial and error, I came up with this config that seems to work best:

Source Type: ffmpeg
Source Path: rtmp://10.0.0.165:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=password
Method: UDP
Options: reorder_queue_size=5000,allowed_media_types=video,buffer_size=10000000
Capture Resolution: 640x480
Controllable: yes
Control Address: admin:password@10.0.0.165:8000
Auto Stop Timeout: 0.25

The high quality stream is "channel0_main", the low quality on "channnel0_sub". Strangely, the high quality channnel only works when I put the low quality resolution. So instead of 2560x1920 I need to put 640x480. That was a hard thing to find.

On the camera the following settings seem to provide the best results in ZM:

Clear Stream:
Resolution: 2560x1920
Frame Rate: 30
Maximum Bitrate: 6144
H2.64 Profile: Base

Fluent Stream:
Resolution: 640x480
Frame Rate: 7
Maximum Bitrate: 160
H2.64 Profile: Base

Ref: https://forums.zoneminder.com/viewtopic.php?f=14&t=30078

RLC-520

REOLINK-PoE-IP-Camera-Outdoor-5MP-rlc-520.jpg

Learn more about this camera: https://reolink.com/product/rlc-520/

First: In a browser connect to the cam, config.gear, IN: Network Settings, Advanced, Port Settings, enable RTMP and Save. IN: System, User Managment, Change Password and Save.

Source Type: ffmpeg
Source Path: rtmp://10.0.0.165:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=admin&password=password
Method: UDP

The default username/password on this model is "admin" and an empty password, but I had to set a password before the source path above would work.

If you want audio with the video recordings place this in the "Options" field of the "Source" tab:

allowed_media_types=video,audio

And use this option in the "Video Writer" field of the "Storage" tab:

H264 Camera Passthrough

RLC-810A

Camera detailed on: https://reolink.com/product/rlc-810a/ This is a 4K camera

Most of the information for the RLC-820A (below) is relevant for the 810A also. Make sure you have the latest firmware (from April 2022 as of this writing, version v3.1.0.956_22041503), as it has updates to the RTSP server that significantly improve usability. I still got some artifacts on the 4K stream with TCP method, but so far UDP has been clean, so I recommend that.

For use with ZoneMinder, I recommend RTSP for both the substream and main stream, as RTMP does not work for the 4K main stream. The substream is only 640x360, but this is sufficient for motion detection. Use one monitor for motion detection on the substream in Modect mode, and another monitor linked to the first one for saving 4K recordings of events. Make sure you have large enough pre- and post-event image buffers. I use 15 pre- and post-event frames on the substream (set at 7FPS) and 30 on the main stream (set at 15 FPS). The 4K stream is h265-encoded, so to avoid unnecessarily high CPU usage, turn off decoding on the main stream monitor and set the video writer as "Camera Passthrough." Unfortunately, you will probably not be able to view the 4k videos on the web interface due to the encoding, but you can view them in an offline player that supports that codec.

Here are the RTSP urls: rtsp://admin:password@IP:554//h264Preview_01_sub (substream) rtsp://admin:password@IP:554//h265Preview_01_main (main stream)

Note that RTSP is not enabled by default in the camera; you have to log into the web interface and enable it there. (The same probably applies to all other Reolink cameras.)

I did not need to set reorder_queue_size as mentioned for the RLC-820A below.

RLC-820A

Camera detailed on: https://reolink.com/product/rlc-820a/ This is a 4k camera

Camera firmware version 3.0.0.494 works. Camera firmware version 3.1.0.764 also works BUT you must go into the cameras Network Settings, Advanced, Ports and enable rtsp or rtmp. The main difference between firmware appears to be the addition of more hardware motion sensing analysis in the camera and that after a factory reset the camera boots with rtsp and rtmp disabled until you turn whichever one you are using back on.

Reports with some Reolink cameras say they get smearing using RTSP and recommend RTMP. I did not find this to be the case with this model of camera and apparently only the low res substream works with RTMP, the 4K stream only works with RTSP

Here are the links for RTSP (substitute your own information)

rtsp://admin:12345678@192.168.96.23:554//h264Preview_01_sub

rtsp://admin:12345678@192.168.96.23:554//h265Preview_01_main

With the 4K stream set reorder_queue_size=1000

or higher in Monitor->Source->Options

Older versions of ZM may require hard coding the CODEC to MJEPG. zm 1.36.14 worked with the Auto setting, however.