Closed TyzzyT closed 9 months ago
I would suggest trying the i965 driver instead of iHD
environment_vars:
LIBVA_DRIVER_NAME: i965
That makes a huge difference. CPU usage is down to 16.6% and ffmpeg is able to keep up with the stream. Thanks Nick!
Describe the problem you are having
Since I updated from 0.13.0 beta 5 to 0.13.0 beta 6, my detection is not working anymore for one of the high-res camera's. The lower res camera is working fine.
It looks like a problem with ffmpeg. When using beta-6, the ffmpeg process is using 100.1% according to System dashboard and is having an FPS of 3.5 and after a while even lower (2.7), while I expect it to be 5 FPS. I'm using a high res stream for detection, which was working fine with beta-5. Even though CPU usage was high with beta 5 and before, it was always able to keep up with the stream speed. (~89% CPU, 5.2 FPS according to system dashboard) Also, when I look at the stream in Frigate UI the live viewing is working fine. When looking at the debug stream, it's 1 minute behind the live stream according to the timestamp. It looks like the CPU/ffmpeg is not able to keep up with the speed of the stream. I'm not sure what has changed between beta5 and beta6, but when switching back to beta-5 everything is working fine with the same config.
Version
0.13.0-614A36A
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Amcrest AD410
Any other information that may be helpful
Frigate is running within HA OS on a Dell Thin Client, with Intel J5005 CPU (4 core, 1.5 GHz)