Trying to use a Reolink E1 (no rtsp) but using 'neolink' docker as an intermediary - [Config Support]: #20612
-
Describe the problem you are havingIs this (reported by neolink log) anything that can be fixed on the frigett end ? [2025-10-22T09:57:59Z INFO neolink::rtsp::factory] Buffer full on vidsrc pausing stream until client consumes frames Version0.16.2-4d58206 Frigate config fileKitchen-Cam:
enabled: true
ui:
order: 4
genai: # <- Custom AI Prompts for objects can go here
enabled: false
prompt: Summarize what's happening in the camera feed (one sentence max).
Don't describe the scene! If there is a person, describe what they're
doing and what they look like. If they look like a courier mention that!
If nothing is happening, say so. Ignore the tortoise.
lpr:
enabled: false
ffmpeg:
output_args:
record: preset-record-generic
inputs:
- path: rtsp://10.10.10.9:8554/kitchen/Sub # <----- The stream you want to use for detection
input_args: preset-rtsp-generic
roles:
- detect
- record
# - path: rtsp://10.10.10.9:8554/kitchen/Sub # <----- The stream you want to use for recording
# input_args: preset-rtsp-generic
# roles:
# - record
detect:
enabled: true
width: 704
height: 480
fps: 6
objects:
track:
- person
- dog
filters:
person:
min_score: 0.65
record:
enabled: true
retain:
days: 1
mode: motion
alerts:
retain:
days: 1
detections:
retain:
days: 1
snapshots:
enabled: true
bounding_box: true
timestamp: true
retain:
default: 1
motion:
threshold: 30
contour_area: 20
lightning_threshold: 0.8
improve_contrast: true
mask:
0,0,1,0,1,1,0.783,1,0.638,0.575,0.258,0.535,0.286,0.533,0.386,0.384,0.235,0.326,0.157,0.37,0.027,0.565,0,0.587
zones:
Lounge-Kitchen:
coordinates:
0.813,1,0.005,0.997,0,0.597,0.162,0.372,0.234,0.329,0.387,0.328,0.305,0.513,0.658,0.522
loitering_time: 5
objects:
- person
- dog
inertia: 3
review:
alerts:
required_zones: Lounge-Kitchen
detections:
required_zones: Lounge-KitchenRelevant Frigate log output2025-10-22 17:21:53.144848712 [2025-10-22 17:21:53] frigate.storage WARNING : Kitchen-Cam has a bandwidth of 25414.79 MB/hr which exceeds the expected maximum. This typically indicates an issue with the cameras recordings.
2025-10-22 17:22:03.679032907 [2025-10-22 17:22:03] frigate.video ERROR : Kitchen-Cam: Unable to read frames from ffmpeg process.
2025-10-22 17:22:03.679664298 [2025-10-22 17:22:03] frigate.video ERROR : Kitchen-Cam: ffmpeg process is not running. exiting capture thread...
2025-10-22 17:22:13.130576724 [2025-10-22 17:22:13] watchdog.Kitchen-Cam ERROR : Ffmpeg process crashed unexpectedly for Kitchen-Cam.
2025-10-22 17:22:13.130947202 [2025-10-22 17:22:13] watchdog.Kitchen-Cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-10-22 17:22:13.131216395 [2025-10-22 17:22:13] ffmpeg.Kitchen-Cam.detect ERROR : [in#0 @ 0x55b74237d240] Error opening input: Operation not permitted
2025-10-22 17:22:13.131422676 [2025-10-22 17:22:13] ffmpeg.Kitchen-Cam.detect ERROR : Error opening input file rtsp://10.10.10.9:8554/kitchen/Sub.
2025-10-22 17:22:13.131763370 [2025-10-22 17:22:13] ffmpeg.Kitchen-Cam.detect ERROR : Error opening input files: Operation not permitted
2025-10-22 17:22:13.131968154 [2025-10-22 17:22:13] watchdog.Kitchen-Cam INFO : Restarting ffmpeg...
2025-10-22 17:22:17.975492657 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-10-22 17:22:17.975496072
2025-10-22 17:22:17.975498043 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-10-22 17:22:17.975499040
2025-10-22 17:22:26.399958203 [2025-10-22 17:22:26] frigate.video ERROR : Kitchen-Cam: Unable to read frames from ffmpeg process.
2025-10-22 17:22:26.400673917 [2025-10-22 17:22:26] frigate.video ERROR : Kitchen-Cam: ffmpeg process is not running. exiting capture thread...
2025-10-22 17:22:27.978685655 [ WARN:[email protected]] global cap.cpp:175 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2025-10-22 17:22:27.978689973
2025-10-22 17:22:27.978692243 OpenCV(4.11.0) /io/opencv/modules/videoio/src/cap_images.cpp:267: error: (-215:Assertion failed) number < max_number in function 'icvExtractPattern'
2025-10-22 17:22:27.978693486
2025-10-22 17:22:33.136822962 [2025-10-22 17:22:33] watchdog.Kitchen-Cam ERROR : Ffmpeg process crashed unexpectedly for Kitchen-Cam.
2025-10-22 17:22:33.137473857 [2025-10-22 17:22:33] ffmpeg.Loki-Cam.record ERROR : [h264 @ 0x557aa328ee00] no frame!
2025-10-22 17:22:33.138015207 [2025-10-22 17:22:33] watchdog.Kitchen-Cam ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-10-22 17:22:33.138787925 [2025-10-22 17:22:33] ffmpeg.Kitchen-Cam.detect ERROR : [in#0 @ 0x55b598a65240] Error opening input: Invalid data found when processing input
2025-10-22 17:22:33.139608698 [2025-10-22 17:22:33] ffmpeg.Kitchen-Cam.detect ERROR : Error opening input file rtsp://10.10.10.9:8554/kitchen/Sub.
2025-10-22 17:22:33.139984226 [2025-10-22 17:22:33] ffmpeg.Kitchen-Cam.detect ERROR : Error opening input files: Invalid data found when processing input
Then its sort of the same stuff repeated over and over.Relevant go2rtc log outputN/AFrigate statsN/AOperating systemUNRAID Install methodDocker Compose docker-compose file or Docker CLI commandUnraids built in docker install from CA.Object DetectorOpenVino Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The buffer full messages from neolink are not directly fixable from Frigate's end - they indicate that neolink is producing frames faster than Frigate can consume them(1). However, there are several configuration adjustments you can make to address the ffmpeg connection issues: For Reolink cameras, the documentation recommends using specific input arguments(1). You should modify your configuration to use UDP instead of the generic RTSP preset: ffmpeg:
inputs:
- path: rtsp://10.10.10.9:8554/kitchen/Sub
input_args: preset-rtsp-udp
roles:
- detect
- recordThe errors show "Operation not permitted" and "Invalid data found when processing input", which suggest connection stability issues(1). Since you're using neolink as an intermediary, you might also try:
go2rtc:
streams:
kitchen_cam:
- rtsp://10.10.10.9:8554/kitchen/Sub
cameras:
Kitchen-Cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/kitchen_cam
input_args: preset-rtsp-restream
roles:
- detect
- recordThe high bandwidth warning (25414.79 MB/hr) also suggests the stream may have quality issues that could be contributing to the connection problems(3). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Thanks autobot - this is what fixed it - no other changes needed. And I was about to replace the cam with a native rtsp one.
input_args: preset-rtsp-udp