Closed cpadil closed 1 year ago
go2rtc doesn't work well with cheap / low quality cameras / streams like wyze, I wouldn't recommend running it that way
by the way, adding - "ffmpeg:bed_cam"
to your go2rtc config without any modifiers does nothing
go2rtc doesn't work well with cheap / low quality cameras / streams like wyze, I wouldn't recommend running it that way
Got it, so this means this an issue with go2rtc? Even though the original stream is still visible in go2rtc modes (me &webrc)
rtsp and mse / webrtc are different streams with different logic / technologies. This is also a common issue seen in the beta with cheap cameras like the wyze and similar
same/similar to my issue #5976? Looks the container didn't crash in this issue though.
same/similar to my issue #5976? Looks the container didn't crash in this issue though.
indeed, looks like a similar issue, but as you mentioned, in my case the container is not stopped... have you tried removing the input args? I'm not sure what is the difference with "preset-rtsp-generic" (default when nothing is mentioned) and "preset-rtsp-restream" which is mentioned in the documentation for a single connection to the camera
I'll test that and see if is more stable
same/similar to my issue #5976? Looks the container didn't crash in this issue though.
have you tried removing the input args? I'm not sure what is the difference with "preset-rtsp-generic" (default when nothing is mentioned) and "preset-rtsp-restream" which is mentioned in the documentation for a single connection to the camera
I didn't try. I remember I tried keeping go2rtc settings in the config but directly connecting to camera streams without using any go2rtc restreaming. My container still crashed. Using the same config file but removing go2rtc settings section, my Frigate docker runs just fine (This is how I am running now).
I bet there are people who do not use Frigate but use go2rtc directly to restream Wyze cam. But I just could not find any report that has the same issue as mine. Looks to me that the issue is with go2rtc plus Frigate plus Wyze plus my platform. I am thinking to install a go2rtc docker separately to restream my Wyze to see if it crashes.
BTW, also worth noting is that seems I had an out of memory issue that is not reported in your case. I have 6 cameras whereas you have 2. Not sure if you will eventually run out of memory if you let your system run longer.
As a side note, your detect fps seems too high. I remember it should be under 5.
The default is 5, typically that's enough but for fast objects like cars maybe 10 would be needed. Definitely not 20.
I can confirm that Frigate is more stable with the generic preset for RTSP using a single connection for the detection and live view (with go2rtc).
36+ hours without the error reported above.
Since Wyze V3 RTSP firmware does not allow to set the FPS, I've to set the fps to 20 (as per Wyze docs). If I don't set it to that I constantly get errors like "exceeded fps limit. Exiting ffmpeg..."
I'll try to modify this with the "wz_mini_hacks" since I do notice a relevant reduction in CPU usage with less fps.
For most users using good cameras, using the generic preset with the single stream method caused hitching in the recordings, just FYI
I can confirm that Frigate is more stable with the generic preset for RTSP using a single connection for the detection and live view (with go2rtc).
36+ hours without the error reported above.
Thanks for the update. Then looks this issue is not the same as mine (#5976). Mine crashes with go2rtc setting section in the config, even without actually using it (i.e., I still directly connect to cameras, not using any restreaming).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the problem you are having
Is important to note that after upgrading to v12 everything was working fine.
The problem started when I tried to enable go2rtc with a single connection to the camera. It actually works but just for ~24 hours, after that the stream to frigate gets interrupted and never gets back. However the go2rtc live view (webrtc & mse) STILL works. Seems that go2rtc is still working but frigate is not able to recover the connection.
In go2rtc logs there is a timeout warning. In frigate logs, it says that the camera exceeded fps limit, as per the system view, the camera is at ~100 fps which is imposible, the camera is a Wyze V3 with the rtsp firmware and is not capable of more than 20 fps.
The workaround is to restart frigate container, but the same issue happens after ~24 hours.
Installation: Proxmox -> LXC (Debian) -> Docker 2 cores 4 GB RAM i5 11600 Coral TPU M.2
Version
0.12.0-DA3E197
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker Compose
Coral version
M.2
Network connection
Wireless
Camera make and model
Wyze V3
Any other information that may be helpful
No response