Closed caublet closed 1 year ago
You need to provide go2rtc logs
2023-04-20 12:28:18.448611632 [INFO] Preparing go2rtc config...
2023-04-20 12:28:18.719076264 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2023-04-20 12:28:18.781703586 [INFO] Starting go2rtc...
2023-04-20 12:28:18.868637799 12:28:18.868 INF go2rtc version 1.2.0 linux/amd64
2023-04-20 12:28:18.869251379 12:28:18.869 INF [api] listen addr=:1984
2023-04-20 12:28:18.869778208 12:28:18.869 INF [rtsp] listen addr=:8554
2023-04-20 12:28:18.870371786 12:28:18.870 INF [srtp] listen addr=:8443
2023-04-20 12:28:18.870845445 12:28:18.870 INF [webrtc] listen addr=:8555
2023-04-20 12:28:25.003790790 12:28:25.003 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:47418->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
2023-04-20 12:28:25.086608176 12:28:25.086 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:42796->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:28:25.091993888 12:28:25.091 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:42784->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:28:28.484527979 [INFO] Starting go2rtc healthcheck service...
2023-04-20 12:28:45.115967070 12:28:45.115 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:46234->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
2023-04-20 12:28:45.157363441 12:28:45.157 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:44022->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:28:45.162073502 12:28:45.157 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:44026->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:28:55.086966660 12:28:55.086 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:49824->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:28:55.109155911 12:28:55.108 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:38756->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
2023-04-20 12:28:55.180816921 12:28:55.180 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:49830->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:29:05.127396125 12:29:05.127 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:58388->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:29:05.128116634 12:29:05.127 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:58398->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:29:05.188883411 12:29:05.188 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:49936->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
2023-04-20 12:29:15.121436563 12:29:15.121 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:46734->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
2023-04-20 12:29:15.170478603 12:29:15.170 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:50142->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:29:15.172110017 12:29:15.172 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:50128->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:29:25.215715636 12:29:25.215 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:36116->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/1
2023-04-20 12:29:25.216198891 12:29:25.215 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:36104->192.168.1.21:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.21:554/Streaming/Channels/2
2023-04-20 12:29:25.225170706 12:29:25.224 WRN github.com/AlexxIT/go2rtc/cmd/streams/producer.go:133 > error="read tcp 172.22.0.2:56482->192.168.1.25:554: i/o timeout" url=rtsp://frigate:BLANKED@192.168.1.25:554/Streaming/Channels/2
Lots of timeouts, maybe your camera has not great networking or it doesn't work well with go2rtc. Does it work if you point frigate cameras section directly at the camera stream?
yes!
Also look at the config for v0.11. That worked for me before.
Then maybe try
go2rtc:
streams:
Ssolfenetre:
- "ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.1.25:554/Streaming/Channels/1"
# - "ffmpeg:Ssolfenetre#audio=aac"
SsolfenetreSub:
- "ffmpeg:rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.1.25:554/Streaming/Channels/2"
I've switched config to this and worked
ffmpeg:
inputs:
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.1.25:554/Streaming/Channels/1
roles:
- rtmp
- record
- path: rtsp://frigate:{FRIGATE_RTSP_PASSWORD}@192.168.1.25:554/Streaming/Channels/2
roles:
- detect
Also, I've tried what you suggested by prefixing stream path with "ffmpeg:" and it worked.
Great, that's what is suggested then, seems go2rtc without ffmpeg does not like the stream coming from your camera.
Feel free to create a new issue if something else comes up
Describe the problem you are having
Not sure it's the video.. I' trying to upgrade to 0.12.0-DA3E197. I'vve launched a 2nd Frigate Docker container as v0.12 on the same Portainer host on another port and I've switched my config to use go2rtc.
I get 2 of my 4 cameras working. For the 2 other other ones, I get the same error message on non-standard resolution cameras :
I know I'm doing it right because I have 2 cams working.
Is there any options to fix this? Was working on v0.11
0.11 Config :
Version
0.12.0-DA3E197
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Proxmox
Install method
Docker Compose
Coral version
CPU (no coral)
Network connection
Wired
Camera make and model
Anpviz IPC-D352VU-S
Any other information that may be helpful
No response