Skip to content

Commit

Permalink
update latest recommendations for reolink
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeblackshear committed Oct 4, 2021
1 parent 8b040f5 commit 4e99712
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
42 changes: 41 additions & 1 deletion docs/docs/configuration/camera_specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ output_args:
rtmp: -c:v libx264 -an -f flv
```

### RTMP Cameras (Reolink 410/520 and possibly others)
### RTMP Cameras

The input parameters need to be adjusted for RTMP cameras

Expand All @@ -28,6 +28,46 @@ ffmpeg:
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rw_timeout 5000000 -use_wallclock_as_timestamps 1 -f live_flv
```

### Reolink 410/520 (possibly others)

According to [this discussion](https://github.com/blakeblackshear/frigate/issues/1713#issuecomment-932976305), the http video streams seem to be the most reliable for Reolink.

```yaml
cameras:
reolink:
ffmpeg:
hwaccel_args:
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer+genpts+discardcorrupt
- -flags
- low_delay
- -strict
- experimental
- -analyzeduration
- 1000M
- -probesize
- 1000M
- -rw_timeout
- "5000000"
inputs:
- path: http:https://reolink_ip/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=password
roles:
- record
- rtmp
- path: http:https://reolink_ip/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password
roles:
- detect
detect:
width: 640
height: 480
fps: 7
```

![Resolutions](/img/reolink-settings.png)

### Blue Iris RTSP Cameras

You will need to remove `nobuffer` flag for Blue Iris RTSP cameras
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Cameras that output H.264 video and AAC audio will offer the most compatibility

I recommend Dahua, Hikvision, and Amcrest in that order. Dahua edges out Hikvision because they are easier to find and order, not because they are better cameras. I personally use Dahua cameras because they are easier to purchase directly. In my experience Dahua and Hikvision both have multiple streams with configurable resolutions and frame rates and rock solid streams. They also both have models with large sensors well known for excellent image quality at night. Not all the models are equal. Larger sensors are better than higher resolutions; especially at night. Amcrest is the fallback recommendation because they are rebranded Dahuas. They are rebranding the lower end models with smaller sensors or less configuration options.

Many users have reported various issues with Reolink cameras, so I do not recommend them. If you are using Reolink, I suggest the [Reolink specific configuration](configuration/camera_specific#reolink-410520-possibly-others). Wifi cameras are also not recommended. Their streams are less reliable and cause connection loss and/or lost video data.

Here are some of the camera's I recommend:

- [Loryta(Dahua) T5442TM-AS-LED](https://amzn.to/2Wck2hQ) (affiliate link)
Expand Down
Binary file added docs/static/img/reolink-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e99712

Please sign in to comment.