You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once a stream disconnects for some reason, it doesn't recover. It can take hours or days until it gets interrupted; but it does not recover itself -- go2rtc needs to be restarted.
I have a specific example of vno4-dome-panorama-low, but sometimes other streams fail (I just captured the full suite of logs with this one).
Here is the moment when it gets disconnected and a bit around (the last recorded frame is 21:31:38):
Feb 19 21:31:24 fwminex go2rtc[847109]: 21:31:24.785 TRC [rtsp] server request:
Feb 19 21:31:24 fwminex go2rtc[847109]: OPTIONS rtsp://localhost:8554/vno4-dome-panorama-low RTSP/1.0
Feb 19 21:31:24 fwminex go2rtc[847109]: User-Agent: FFmpeg Frigate/0.14.1
Feb 19 21:31:24 fwminex go2rtc[847109]: Session: 32236871
Feb 19 21:31:24 fwminex go2rtc[847109]: Cseq: 6
Feb 19 21:31:24 fwminex go2rtc[847109]:
Feb 19 21:31:24 fwminex go2rtc[847109]: 21:31:24.785 TRC [rtsp] server response:
Feb 19 21:31:24 fwminex go2rtc[847109]: RTSP/1.0 200 OK
Feb 19 21:31:24 fwminex go2rtc[847109]: Cseq: 6
Feb 19 21:31:24 fwminex go2rtc[847109]: Session: 32236871
Feb 19 21:31:24 fwminex go2rtc[847109]:
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.024 TRC [rtsp] server request:
Feb 19 21:31:38 fwminex go2rtc[847109]: TEARDOWN rtsp://localhost:8554/vno4-dome-panorama-low RTSP/1.0
Feb 19 21:31:38 fwminex go2rtc[847109]: Cseq: 7
Feb 19 21:31:38 fwminex go2rtc[847109]: User-Agent: FFmpeg Frigate/0.14.1
Feb 19 21:31:38 fwminex go2rtc[847109]: Session: 32236871
Feb 19 21:31:38 fwminex go2rtc[847109]:
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.024 DBG [rtsp] handle error="read tcp [::1]:8554->[::1]:38742: read: connection reset by peer"
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.024 DBG [streams] stop producer url=ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-orig#hardware=vaapi#video=h264#width=1280
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.024 TRC [exec] kill with signal=9
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.029 DBG [rtsp] handle error=EOF
Feb 19 21:31:38 fwminex go2rtc[847109]: 21:31:38.029 DBG [rtsp] disconnect stream=vno4-dome-panorama-orig
Feb 19 21:31:41 fwminex go2rtc[847109]: 21:31:41.017 TRC [rtsp] server request:
Feb 19 21:31:41 fwminex go2rtc[847109]: OPTIONS rtsp://localhost:8554/vno4-dome-panorama-orig RTSP/1.0
Feb 19 21:31:41 fwminex go2rtc[847109]: Session: 12820664
Feb 19 21:31:41 fwminex go2rtc[847109]: Cseq: 40
Feb 19 21:31:41 fwminex go2rtc[847109]: User-Agent: go2rtc/ffmpeg
Feb 19 21:31:41 fwminex go2rtc[847109]:
Feb 19 21:31:41 fwminex go2rtc[847109]: 21:31:41.017 TRC [rtsp] server response:
Feb 19 21:31:41 fwminex go2rtc[847109]: RTSP/1.0 200 OK
Feb 19 21:31:41 fwminex go2rtc[847109]: Cseq: 40
Feb 19 21:31:41 fwminex go2rtc[847109]: Session: 12820664
Feb 19 21:31:41 fwminex go2rtc[847109]:
Feb 19 21:31:43 fwminex go2rtc[847109]: 21:31:43.691 TRC [rtsp] server request:
Feb 19 21:31:43 fwminex go2rtc[847109]: OPTIONS rtsp://localhost:8554/vno4-dome-panorama-low RTSP/1.0
Feb 19 21:31:43 fwminex go2rtc[847109]: User-Agent: FFmpeg Frigate/0.14.1
Feb 19 21:31:43 fwminex go2rtc[847109]: Cseq: 1
When ffmpeg routinely tries to connect to it:
Feb 19 22:46:55 fwminex go2rtc[847109]: 22:46:55.412 TRC [rtsp] server request:
Feb 19 22:46:55 fwminex go2rtc[847109]: OPTIONS rtsp://localhost:8554/vno4-dome-panorama-low RTSP/1.0
Feb 19 22:46:55 fwminex go2rtc[847109]: User-Agent: FFmpeg Frigate/0.14.1
Feb 19 22:46:55 fwminex go2rtc[847109]: Cseq: 1
Feb 19 22:46:55 fwminex go2rtc[847109]:
Feb 19 22:46:55 fwminex go2rtc[847109]: 22:46:55.412 TRC [rtsp] server response:
Feb 19 22:46:55 fwminex go2rtc[847109]: RTSP/1.0 200 OK
Feb 19 22:46:55 fwminex go2rtc[847109]: Cseq: 1
Feb 19 22:46:55 fwminex go2rtc[847109]: Public: OPTIONS, SETUP, TEARDOWN, DESCRIBE, PLAY, PAUSE, ANNOUNCE, RECORD
Feb 19 22:46:55 fwminex go2rtc[847109]:
Feb 19 22:46:55 fwminex go2rtc[847109]: 22:46:55.413 TRC [rtsp] server request:
Feb 19 22:46:55 fwminex go2rtc[847109]: DESCRIBE rtsp://localhost:8554/vno4-dome-panorama-low RTSP/1.0
Feb 19 22:46:55 fwminex go2rtc[847109]: Accept: application/sdp
Feb 19 22:46:55 fwminex go2rtc[847109]: Cseq: 2
Feb 19 22:46:55 fwminex go2rtc[847109]: User-Agent: FFmpeg Frigate/0.14.1
Feb 19 22:46:55 fwminex go2rtc[847109]:
Feb 19 22:46:55 fwminex go2rtc[847109]: 22:46:55.413 DBG [rtsp] new consumer stream=vno4-dome-panorama-low
Feb 19 22:46:55 fwminex go2rtc[847109]: 22:46:55.413 TRC [streams] check cons=455 media=video, sendonly, ANY
Once a stream disconnects for some reason, it doesn't recover. It can take hours or days until it gets interrupted; but it does not recover itself -- go2rtc needs to be restarted.
I have a specific example of
vno4-dome-panorama-low
, but sometimes other streams fail (I just captured the full suite of logs with this one).Here is the moment when it gets disconnected and a bit around (the last recorded frame is 21:31:38):
When ffmpeg routinely tries to connect to it:
go2rtc config:
The
-orig
streams are h.265 (for bandwidth), which get transcoded to two h.264 streams for local processing.Camera
Dahua DH-SDT3E410-8P-MB-A-PV1
I put whatever I could find here, not sure what's useful.
vno4-dome-panorama-low
config:vno4-dome-panorama-orig
config:I would appreciate some guidance what to do to make it recover, or how to troubleshoot it further.
Thank you!
The text was updated successfully, but these errors were encountered: