After almost a week of daily attempts to get this working, I still cannot access even one of my 5+1 Reolink cameras via Frigate.
Based on Frigateās error logs, it seems that I may have entered incorrect IP addresses.
- the IP address in the
go2rtc
section refers to the actual camera. When entering the RTSP address in VLC, the cameraās output appears. - the IP address in the
cameras
section is the local address of the server on which docker (containing Frigate and Home Assistant) is running.
Iām hoping that somebody might be able to identify some glaring mistake that Iāve made and then perhaps help me to finally configure this properly. Many thanks in advance.
frigate.yml :
mqtt:
host: 10.57.8.4
user: me
password: mypassword
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: usb
go2rtc:
streams:
front-rlc-833a:
# - "ffmpeg:http://10.57.8.59/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=mypassword2#video=copy#audio=copy#audio=opus"
- rtsp://admin:[email protected]:554/h264Preview_01_sub
cameras:
front-rlc-833a:
ffmpeg:
inputs:
- path: rtsp://10.57.8.4:8554/front-rlc-833a
roles:
- detect
Frigate error logs :
2024-10-28 14:06:40.017501696 [INFO] Preparing Frigate...
2024-10-28 14:06:40.017532859 [INFO] Starting Frigate...
2024-10-28 14:06:57.387700503 [2024-10-28 14:06:57] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-10-28 14:06:57.387903024 [2024-10-28 14:06:57] frigate.util.config INFO : Checking if frigate config needs migration...
2024-10-28 14:06:57.396535510 [2024-10-28 14:06:57] frigate.util.config INFO : frigate config does not need migration...
2024-10-28 14:07:00.407857213 [rtsp @ 0x3cfd9f80] method DESCRIBE failed: 404 Not Found
2024-10-28 14:07:00.495364514 [2024-10-28 14:07:00] peewee_migrate.logs INFO : Starting migrations
2024-10-28 14:07:00.496615136 [2024-10-28 14:07:00] peewee_migrate.logs INFO : There is nothing to migrate
2024-10-28 14:07:00.504047072 [2024-10-28 14:07:00] frigate.app INFO : Recording process started: 369
2024-10-28 14:07:00.514340743 [2024-10-28 14:07:00] frigate.app INFO : Recording process started: 378
2024-10-28 14:07:00.518075791 [2024-10-28 14:07:00] frigate.app INFO : go2rtc process pid: 98
2024-10-28 14:07:00.585161404 [2024-10-28 14:07:00] detector.coral INFO : Starting detection process: 398
2024-10-28 14:07:03.744468051 [2024-10-28 14:07:00] frigate.app INFO : Output process started: 400
2024-10-28 14:07:03.744473473 [2024-10-28 14:07:00] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-10-28 14:07:03.744499840 [2024-10-28 14:07:00] frigate.app INFO : Camera processor started for front-rlc-833a: 418
2024-10-28 14:07:03.744703023 [2024-10-28 14:07:00] frigate.app INFO : Capture process started for front-rlc-833a: 420
2024-10-28 14:07:03.744768572 [2024-10-28 14:07:03] frigate.video ERROR : front-rlc-833a: Unable to read frames from ffmpeg process.
2024-10-28 14:07:03.744835640 [2024-10-28 14:07:03] frigate.video ERROR : front-rlc-833a: ffmpeg process is not running. exiting capture thread...
2024-10-28 14:07:03.749202445 [2024-10-28 14:07:03] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-10-28 14:07:14.568221914 [2024-10-28 14:07:14] frigate.util.services ERROR : Unable to poll vainfo: b"error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nerror: can't connect to X server!\nerror: failed to initialize display\n"
2024-10-28 14:07:14.709830061 [2024-10-28 14:07:14] frigate.util.services ERROR : Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found
2024-10-28 14:07:17.397595 2024-10-28 14:07:14.709835026
2024-10-28 14:07:20.655272308 [2024-10-28 14:07:20] watchdog.front-rlc-833a ERROR : Ffmpeg process crashed unexpectedly for front-rlc-833a.
2024-10-28 14:07:20.655531021 [2024-10-28 14:07:20] watchdog.front-rlc-833a ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-10-28 14:07:20.655702617 [2024-10-28 14:07:20] ffmpeg.front-rlc-833a.detect ERROR : [rtsp @ 0x564d0354ef40] method DESCRIBE failed: 404 Not Found
2024-10-28 14:07:20.655707545 [2024-10-28 14:07:20] ffmpeg.front-rlc-833a.detect ERROR : rtsp://10.57.8.4:8554/front-rlc-833a: Server returned 404 Not Found