Illustrated title card for the guide: Frigate NVR Reolink Setup: HTTP-FLV, RTSP and go2rtc
Camera Setup

Frigate NVR Reolink Setup: HTTP-FLV, RTSP and go2rtc

Set up a Reolink camera in Frigate. Choose HTTP-FLV or RTSP, then use go2rtc to route the main stream to recording and the substream to detection.

For a supported Reolink camera at 5 MP or below, start with HTTP-FLV. Use RTSP for older 6 MP and higher models. The latest 6 MP and higher models that support enhanced HTTP-FLV can also use that mode, which requires FFmpeg 8.0. With either source, point Frigate’s recording and detection inputs at go2rtc’s local RTSP restreams. Frigate’s Reolink guidance · Frigate restream setup

Choose HTTP-FLV or RTSP

Reolink cameraRecommended camera source for go2rtc
5 MP or lowerHTTP-FLV with H.264.
Latest 6 MP or higher models with enhanced HTTP-FLV support, such as the Duo 3RTSP or enhanced HTTP-FLV with H.265, which requires FFmpeg 8.0.
Older 6 MP or higher modelsRTSP.

Frigate 0.18 uses FFmpeg 8.0 by default. Frigate’s model and resolution table · Frigate’s FFmpeg version guidance

Enable the camera ports

For a camera with configurable ports, open Device Settings → Network → Advanced → Server Settings in Reolink Client. For HTTP-FLV, enable HTTP and RTMP, click Save, and reboot the camera. If you use RTSP and the camera allows you to toggle the port, enable RTSP and save. The Frigate wizard also needs HTTP to query the camera. Reolink port settings · Frigate’s Reolink troubleshooting · Reolink wizard prerequisites

Add a standalone camera with the wizard

  1. Under Settings → Global configuration → Camera management, click Add Camera. Enter the camera’s name, IP address and credentials. Choose Manual selection and select Reolink. This option picks HTTP-FLV for cameras at 5 MP or lower and RTSP for higher resolutions. Frigate’s Reolink wizard instructions · Frigate’s camera wizard
  2. Use Add Another Stream to add the substream. Assign record to the main stream and detect to the substream. Select Reduce connections to camera on each input to route it through go2rtc. Frigate’s stream configuration
  3. Preview both streams during validation. For HTTP-FLV, turn on Use stream compatibility mode if the wizard recommends it. Click Save New Camera. Frigate’s validation steps · Reolink compatibility mode guidance
  4. To override recording settings for this camera, select it under Settings → Camera configuration and open Recording. Turn on Enable recording and set the retention period you want. Camera-level recording settings · Retention controls

Configure HTTP-FLV manually with go2rtc

Use this example for a standalone camera that exposes HTTP-FLV. Merge the entries into go2rtc.streams and cameras in your existing Frigate YAML (config.yml or config.yaml). Replace CAMERA_IP, CAMERA_USER and CAMERA_PASSWORD with your camera’s details. URL-encode reserved characters in the password used in go2rtc.streams, such as @ as %40. Frigate configuration file location · go2rtc password handling

In this standalone example, the HTTP-FLV main stream uses channel0_main.bcs and the substream uses channel0_ext.bcs. The example enables object detection and sets one day of continuous recording retention for this camera. Frigate’s Reolink YAML · Frigate configuration reference · Continuous recording settings

go2rtc:
  streams:
    driveway:
      - "ffmpeg:http://CAMERA_IP/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=CAMERA_USER&password=CAMERA_PASSWORD#video=copy#audio=copy#audio=opus"
    driveway_sub:
      - "ffmpeg:http://CAMERA_IP/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=CAMERA_USER&password=CAMERA_PASSWORD"

cameras:
  driveway:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: true
    record:
      enabled: true
      continuous:
        days: 1

The ffmpeg: prefix tells go2rtc how to read HTTP-FLV. Frigate reads the two resulting RTSP feeds on 127.0.0.1:8554. Use preset-rtsp-restream on those inputs. Applying preset-http-reolink to an RTSP restream used for recording will cause a crash. go2rtc source handling · Frigate input presets

Switch the camera source to RTSP

If your standalone camera supports RTSP, replace the two sources under go2rtc.streams with Reolink’s standalone RTSP URLs. Keep driveway and driveway_sub as the stream names so the existing camera inputs still resolve. Use your configured RTSP port if it differs from the default 554. Reolink’s RTSP URL formats · Frigate restream setup

go2rtc:
  streams:
    driveway:
      - "rtsp://CAMERA_USER:CAMERA_PASSWORD@CAMERA_IP:554/Preview_01_main"
    driveway_sub:
      - "rtsp://CAMERA_USER:CAMERA_PASSWORD@CAMERA_IP:554/Preview_01_sub"

Set the ports on the recorder. In the newer Reolink NVR interface, open Settings → Network → Advanced → Port Settings. In the older PoE NVR interface, open Network → Advanced and click Set next to Port Settings. Reolink recorder port settings

For a camera reached through a supported Reolink NVR over HTTP-FLV, use the recorder’s IP and login in the source URLs. Frigate’s example uses channel3_main.bcs and channel3_ext.bcs for HTTP-FLV channel index 3. Substitute the index for your camera in both URLs. Reolink’s separate RTSP format uses numbered paths such as Preview_02_main and Preview_02_sub for NVR channel 2. Frigate’s NVR example · Reolink’s NVR RTSP URLs

For the HTTP-FLV example, replace the two stream entries with these and use rtsp://127.0.0.1:8554/driveway?video=copy&audio=aac for the recording input and rtsp://127.0.0.1:8554/driveway_sub?video=copy for detection. Frigate’s NVR source and input example

go2rtc:
  streams:
    driveway:
      - "ffmpeg:http://NVR_IP/flv?port=1935&app=bcs&stream=channel3_main.bcs&user=NVR_USER&password=NVR_PASSWORD"
      - "ffmpeg:driveway#audio=aac"
    driveway_sub:
      - "ffmpeg:http://NVR_IP/flv?port=1935&app=bcs&stream=channel3_ext.bcs&user=NVR_USER&password=NVR_PASSWORD"

Verify the streams in Frigate

After adding the YAML entries, restart Frigate and open the camera from the dashboard. On your Frigate instance, open /api/go2rtc/streams to inspect the named streams and their codecs. If a feed fails, open System Logs in the sidebar and select go2rtc. Frigate go2rtc setup · Restream status · go2rtc diagnostics

To check that footage is being saved, open the camera in Live and click History. Scrub the timeline to a time covered by your recording settings. Frigate recording playback

SymptomWhat to check
401 UnauthorizedCheck the login for the device in the source URL. Check URL encoding for reserved characters in the password.
Connection refused or timeoutCheck the device IP and port in the source URL.
404 Not FoundCheck the Reolink RTSP path, if used. In each local restream URL, match the name after :8554/ to its key under go2rtc.streams.

Frigate go2rtc error checks · Stream name matching

Evidence and limits. The examples were adapted from Frigate’s 0.18 documentation and Reolink’s port and RTSP guides. The steps were not run on camera or recorder hardware. Frigate’s Reolink configuration · Reolink port settings · Reolink RTSP guide

Sources

  1. Frigate's Reolink configuration
  2. Frigate restream setup
  3. Frigate's FFmpeg version guidance
  4. Reolink port settings
  5. Frigate's Reolink troubleshooting
  6. Reolink compatibility mode guidance
  7. Frigate's camera wizard
  8. Frigate's stream configuration
  9. Frigate's validation steps
  10. Camera-level recording settings
  11. Continuous recording settings
  12. Frigate configuration file location
  13. go2rtc password handling
  14. Frigate's NVR source and input example
  15. Frigate configuration reference
  16. go2rtc source handling
  17. Frigate input presets
  18. Reolink RTSP guide
  19. Frigate go2rtc setup
  20. Restream status
  21. Frigate go2rtc error checks
  22. Frigate recording playback
  23. Stream name matching

Related