[Camera Support]: Reolink Doorbell Camera crashes intermittently for no reason #22028
Replies: 2 comments 1 reply
-
|
Based on the error logs showing "Connection timed out" and "404 Not Found" errors from the go2rtc restream, this appears to be an issue with the camera stream becoming unavailable or the go2rtc restream failing. Here are several configuration adjustments to try: 1. Use the HTTP-FLV stream directly for detect instead of the RTSP restream: Your current configuration uses go2rtc to restream both the main and sub streams. For Reolink cameras experiencing intermittent issues, try using the HTTP-FLV stream directly for the detect role(1)(2): cameras:
reolink_doorbell:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/reolink_doorbell
input_args: preset-rtsp-restream
roles:
- record
- path: http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=*
input_args: preset-http-reolink
roles:
- detect2. Adjust the ffmpeg retry interval: The default retry interval is 10 seconds(3). For cameras that occasionally become unresponsive, you can increase this to reduce connection attempts: ffmpeg:
retry_interval: 303. Simplify your go2rtc configuration: Your go2rtc configuration includes both HTTP-FLV and RTSP sources for the same camera. Try simplifying to use only the HTTP-FLV source(2): go2rtc:
streams:
reolink_doorbell:
- ffmpeg:http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=*#video=copy#audio=copy#audio=opus
reolink_doorbell_sub:
- ffmpeg:http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=*4. Check camera-specific considerations: The documentation notes that Reolink cameras using HTTP-FLV streams require the The "Connection timed out" errors suggest the camera itself may be becoming unresponsive under load. Consider:
📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Since the previous configuration adjustments haven't resolved the intermittent crashes, here are additional troubleshooting steps: 1. Eliminate go2rtc from the equation temporarily: Test if the issue persists when connecting directly to the camera without go2rtc restreaming(1)(2): cameras:
reolink_doorbell:
ffmpeg:
inputs:
- path: http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=*
input_args: preset-http-reolink
roles:
- record
- path: http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=*
input_args: preset-http-reolink
roles:
- detect2. Increase timeout values: The default timeout is 10 seconds(4). Since your logs show "Connection timed out" errors, try increasing the timeout in the input args: cameras:
reolink_doorbell:
ffmpeg:
inputs:
- path: http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=*
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer
- -flags
- low_delay
- -strict
- experimental
- -fflags
- +genpts+discardcorrupt
- -use_wallclock_as_timestamps
- "1"
- -timeout
- "30000000"
roles:
- record3. Check network stability: The "Connection timed out" errors followed by "404 Not Found" suggest the camera is becoming completely unresponsive. Since you mentioned this fixes itself when you stop Frigate, consider:
4. Reduce stream load on the camera: Your configuration has go2rtc consuming the main stream, plus Frigate consuming both restreams. Try using only one connection to the camera(1): go2rtc:
streams:
reolink_doorbell:
- http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=*
cameras:
reolink_doorbell:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/reolink_doorbell
input_args: preset-rtsp-restream
roles:
- record
- detect5. Monitor go2rtc directly: Access the go2rtc web interface at 6. Consider hardware issues: Since you mentioned swapping the doorbell didn't help, but stopping Frigate does, the issue is likely configuration or network-related rather than hardware. However, the Reolink Video Doorbell WiFi on a wireless connection may be more prone to timeouts than wired cameras. If none of these resolve the issue, you may want to reach out for community support at GitHub(5). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I've been having this issue for a few months now, not sure when it started but definitely after I upgraded to 0.16.x.
My Reolink Doorbell would randomly crash for no reason, to the point where I cannot access it via the Reolink app or HTTP server, and Home Assistant marks it unavailable. I know it's Frigate's doing because it fixes itself after I stopped Frigate from running (sometimes I have to restart the doorbell). I've also tried swapping out the doorbell for a different one with no success. The logs mention ffmpeg crashing. I've included the error logs below.
Version
0.16.4-4131252
What browser(s) are you using?
No response
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
ffprobe is not installed in the image.Frigate stats
{ "cameras": { "reolink_doorbell": { "camera_fps": 5.0, "process_fps": 5.0, "skipped_fps": 0.0, "detection_fps": 2.9, "detection_enabled": true, "pid": 505, "capture_pid": 512, "ffmpeg_pid": 523, "audio_rms": 0.0, "audio_dBFS": 0.0, }, }, "detectors": { "cpu": { "inference_speed": 11.2, "detection_start": 0.0, "pid": 437 } }, "detection_fps": 2.9, "embeddings": { "face_recognition_speed": 0.0, "face_recognition": 0.0, "plate_recognition_speed": 0.0, "plate_recognition": 0.0, }, "cpu_usages": { "frigate.full_system": { "cpu": "5.4", "mem": "16.9" }, "1": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service", }, "17": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise s6-linux-init-shutdownd", }, "19": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B", }, "27": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise certsync-log", }, "28": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise frigate", }, "29": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise s6rc-fdholder", }, "30": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise s6rc-oneshot-runner", }, "31": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise nginx", }, "32": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise go2rtc-log", }, "33": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise frigate-log", }, "34": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise go2rtc", }, "35": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise certsync", }, "36": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise nginx-log", }, "37": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-supervise go2rtc-healthcheck", }, "48": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules", }, "49": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --", }, "96": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx", }, "97": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc", }, "98": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate", }, "100": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync", }, "128": { "cpu": "0.9", "cpu_average": "0", "mem": "0.1", "cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml", }, "136": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "bash ./run.user go2rtc-healthcheck", }, "137": { "cpu": "0.9", "cpu_average": "2", "mem": "1.0", "cmdline": "python3 -u -m frigate", }, "143": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: master process nginx", }, "199": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: worker process", }, "200": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: worker process", }, "201": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: worker process", }, "202": { "cpu": "0.1", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: worker process", }, "206": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "nginx: cache manager process", }, "365": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "bash ./run.user certsync", }, "397": { "cpu": "0.0", "cpu_average": "0", "mem": "0.6", "cmdline": "python3 -u -m frigate", }, "412": { "cpu": "0.3", "cpu_average": "0", "mem": "0.6", "cmdline": "frigate.recording_manager", }, "425": { "cpu": "0.1", "cpu_average": "0", "mem": "0.6", "cmdline": "frigate.review_segment_manager", }, "437": { "cpu": "12.1", "cpu_average": "4", "mem": "0.6", "cmdline": "frigate.detector.cpu ", }, "440": { "cpu": "0.1", "cpu_average": "10", "mem": "1.5", "cmdline": "frigate.embeddings_manager", }, "471": { "cpu": "0.4", "cpu_average": "0", "mem": "0.6", "cmdline": "frigate.output ", }, "505": { "cpu": "2.5", "cpu_average": "0", "mem": "0.6", "cmdline": "frigate.process:reolink_doorbell", }, "512": { "cpu": "0.5", "cpu_average": "0", "mem": "0.6", "cmdline": "frigate.capture:reolink_doorbell", }, "523": { "cpu": "1.0", "cpu_average": "0", "mem": "0.1", "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/reolink_doorbell_sub -r 5 -vf fps=5,scale=480:640 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:", }, "528": { "cpu": "1.4", "cpu_average": "1", "mem": "0.1", "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/reolink_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/reolink_doorbell@%Y%m%d%H%M%S%z.mp4", }, "537": { "cpu": "1.5", "cpu_average": "0", "mem": "0.1", "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -i http://192.168.11.40/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=*&password=* -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -application:a:1 lowdelay -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/d575330b35459b87f44a24f8fab19a87", }, "547": { "cpu": "0.0", "cpu_average": "0", "mem": "0.1", "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 480x640 -i pipe: -threads 1 -f mpegts -s 540x720 -codec:v mpeg1video -q 8 -bf 0 pipe:", }, "554": { "cpu": "0.0", "cpu_average": "0", "mem": "0.1", "cmdline": "/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:", }, "766": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "sleep 60", }, "848": { "cpu": "0.0", "cpu_average": "0", "mem": "0.0", "cmdline": "sleep 30s", }, }, "service": { "uptime": 100, "version": "0.16.4-4131252", "latest_version": "0.16.4", "storage": { "/media/frigate/recordings": { "total": 22881508.7, "used": 12560943.1, "free": 10320565.5, "mount_type": "nfs4", }, "/media/frigate/clips": { "total": 22881508.7, "used": 12560943.1, "free": 10320565.5, "mount_type": "nfs4", }, "/tmp/cache": { "total": 3814.7, "used": 3.0, "free": 3811.7, "mount_type": "tmpfs", }, "/dev/shm": { "total": 512.0, "used": 22.9, "free": 489.1, "mount_type": "tmpfs", }, }, "temperatures": {}, "last_updated": 1771337665, }, "processes": { "recording": { "pid": 412 }, "review_segment": { "pid": 425 }, "go2rtc": { "pid": 128 }, "embeddings": { "pid": 440 }, }, }Operating system
Debian
Install method
Docker Compose
Object Detector
CPU (no coral)
Network connection
Wired
Camera make and model
Reolink Video Doorbell WiFi (white version)
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions