No person detection (no boxes), camera motion works but cannot be used as PIR for light automation #21595
Replies: 1 comment
-
|
Your ffmpeg process is crashing repeatedly with hardware acceleration errors, which is preventing object detection from running. The logs show The core issue: Your ffmpeg process can't decode frames, so the detector never receives frames to analyze - hence no detection boxes appear. Solutions to try:
ffmpeg:
hwaccel_args: []
go2rtc:
streams:
udhaeng_main:
- "ffmpeg:http://<CAM_IP_1>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=<CAM_USER>&password=<CAM_PASSWORD>#video=copy#audio=copy#audio=opus"
udhaeng_sub:
- "ffmpeg:http://<CAM_IP_1>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<CAM_USER>&password=<CAM_PASSWORD>"
Once ffmpeg can successfully decode frames without crashing, object detection will begin working and you'll see detection boxes appear. 📚 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’m trying to use Frigate person detection as a replacement for camera PIR to trigger a light automation, but no detections ever occur.
Streams are working, recording works, MQTT works, and Frigate UI is reachable, but:
No green detection boxes appear
No person/car events are generated
As a result, my light automation never triggers
I have detect: enabled: true on the cameras and objects: track: [person, car] configured, but Frigate does not detect anything even when a person clearly walks in front of the camera.
I’m unsure whether this is a configuration issue, a go2rtc/RTSP issue, or a Frigate 0.16 behavior change.
Version
0.16.3
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 output not available. RTSP streams are working; issue is detection only.Frigate stats
Operating system
Home Assistant OS
Install method
Home Assistant Add-on
Object Detector
CPU (no coral)
Network connection
Wired
Camera make and model
Reolink PoE cameras Models: RLC-520A (2 units) Streams: h264Preview_01_main / h264Preview_01_sub via RTSP
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
Issue started after switching to Frigate Full Access and making config changes.
Setup previously worked with the same cameras and RTSP paths.
Rebooting Home Assistant and restarting the Frigate add-on did not resolve the issue.
Beta Was this translation helpful? Give feedback.
All reactions