[Camera Support]: Help getting cameras working #15320
Replies: 3 comments 4 replies
-
Your config isn't using go2rtc here so it's unclear what the problem is. The logs are showing issues because your hardware can't decode the video. Set this in the config
|
Beta Was this translation helpful? Give feedback.
-
Thank you for your fast response, apologies if I wasnt clear; adding:
Does make the stream work (and no error logs), but then im not using hwaccel? So How do I get that working? I was asking that question first, because although the stream "works" with go2rtc, there are still errors in the logs. And by working I mean it says "no frames have been received, check error logs", but i can click through and view the stream (presumably because thats the browser decoding the raw camera stream and not ffmpeg?)
The point I was trying to make was that the below config worked ~6mo ago without turning hwaccel off
Did hwaccel get turned ON by default in an update? |
Beta Was this translation helpful? Give feedback.
-
OK thanks for the info, Here's the dump
My system also has an nVidia GPU, can't I try and use that? Hence me asking if AlexxIT/go2rtc#252 is relevant to me Thanks |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
I previously had Frigate working just fine, there have been no hardware changes.
About 6 months ago or whenever it was that Home Assistant started requiring go2rtc I migrated my config to use the go2rtc restreaming, and since then, ive had issues. The cameras display "no frames detected", but then when you click into that camera from the frigate dashboard you can see the video streamin. Detection seems to be working. However the logs are full of errors.
I've now got time to fix this, so I've gone back to basics.
For one camera, the url is: rtsp://192.168.xx.yy:zzz/chID=5&streamType=main
If I open this stream in VLC it tells me
If I set my config to the below, then I can't get the video to render at all and the log is full of errors:
With this config my logs show the same as with
hwaccel_args: preset-vaapi
(presumably thats the default) I get:if it add
hwaccel_args: []
then it starts working and theres no log errors.with
hwaccel_args: preset-intel-qsv-h264
I get:Am I suffering from this? AlexxIT/go2rtc#252
I'm running inside docker on a debian host, and I have mapped the following devices:
Thanks
Version
0.14.1-f4f3cfa
What browser(s) are you using?
No response
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Object Detector
CPU (no coral)
Network connection
Wired
Camera make and model
QVIS
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