Closed Dinth closed 10 months ago
Please use the recommended reolink config from the docs https://docs.frigate.video/configuration/camera_specific#reolink-cameras
I have updated it to match the reolink config in the doc:
go2rtc:
streams:
reolink_doorbell:
- "ffmpeg:https://10.10.25.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=***#video=copy#audio=copy#audio=opus"
reolink_doorbell_sub:
- "ffmpeg:https://10.10.25.12/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=***"
cameras:
reolink_doorbell:
enabled: True
objects:
track:
- person
ffmpeg:
inputs:
- path: rtsp://localhost:8443/reolink_doorbell?video=copy&audio=aac
roles:
- record
input_args: preset-rtsp-restream
- path: rtsp://localhost:8443/reolink_doorbell_sub?video=copy
roles:
- detect
input_args: preset-rtsp-restream
but somehow it only made things worse, now im constantly getting "No frames have been received" (at least from the substream, the main one seems to work ok). The log file shows a "Cannot assign requested address" errors now.
2024-01-04 19:02:07.695895990 [2024-01-04 19:02:07] watchdog.reolink_doorbell ERROR : Ffmpeg process crashed unexpectedly for reolink_doorbell.
2024-01-04 19:02:07.696183582 [2024-01-04 19:02:07] watchdog.reolink_doorbell ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-01-04 19:02:07.696466747 [2024-01-04 19:02:07] ffmpeg.reolink_doorbell.detect ERROR : [tcp @ 0x565408b07e40] Connection to tcp://localhost:8443?timeout=5000000 failed: Cannot assign requested address
2024-01-04 19:02:07.696691734 [2024-01-04 19:02:07] ffmpeg.reolink_doorbell.detect ERROR : rtsp://localhost:8443/reolink_doorbell_sub?video=copy: Cannot assign requested address
2024-01-04 19:02:07.714521819 [2024-01-04 19:02:07] watchdog.reolink_doorbell ERROR : No new recording segments were created for reolink_doorbell in the last 120s. restarting the ffmpeg record process...
2024-01-04 19:02:07.714798446 [2024-01-04 19:02:07] watchdog.reolink_doorbell INFO : Terminating the existing ffmpeg process...
2024-01-04 19:02:07.715026155 [2024-01-04 19:02:07] watchdog.reolink_doorbell INFO : Waiting for ffmpeg to exit gracefully...
2024-01-04 19:02:07.725465847 [2024-01-04 19:02:07] frigate.video ERROR : reolink_doorbell: Unable to read frames from ffmpeg process.
2024-01-04 19:02:07.726412652 [2024-01-04 19:02:07] frigate.video ERROR : reolink_doorbell: ffmpeg process is not running. exiting capture thread...
localhost:8443 is incorrect, should be 8554
Thanks! I dont know how this happened or where the 8443 came from :(
Describe the problem you are having
Ive got a problem with Reolink Doorbell 2K camera. Since i have added it to Frigate (and normally it showing up fine) two things happen:
I guess that the problem may lay in lack of reolink stream options passed to ffmpeg, but while its easy with normal camera config, im using go2rtc.
Version
0.12.1-367d724
Frigate config file
Relevant log output
Frigate stats
Operating system
Debian
Install method
Docker CLI
Coral version
USB
Any other information that may be helpful
No response