QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
330 stars 45 forks source link

neolink 0.6.x not working with Frigate #155

Closed skywurz closed 1 year ago

skywurz commented 1 year ago

Describe the bug After upgrading to 0.6.x connecting via go2rtc does not work so well

To Reproduce Steps to reproduce the behavior. Example:

  1. Have a working system 0.5.x
  2. Upgrade Neolink to 0.6.x
  3. Things stop working well
  4. downgrade to 0.5.18 everything works great.

Expected behavior Camera streams to load

Versions NVR software: Frigate Neolink software: 0.6.1 Reolink camera model and firmware: Reolink Lumus Firmware Version v2.0.0.705_21052800

Neolink Logs

[2023-09-24T16:41:40Z INFO  neolink::utils] cage: Connected and logged in
[2023-09-24T16:41:40Z INFO  neolink::common::camthread] cage: Camera time is already set: 2023-09-24 10:41:42.0 +07:00:00
[2023-09-24T16:41:40Z INFO  neolink::utils] sidegate: Connected and logged in
[2023-09-24T16:41:40Z INFO  neolink::common::neocam] cage: Model Reolink Lumus
[2023-09-24T16:41:40Z INFO  neolink::common::neocam] cage: Firmware Version v2.0.0.705_21052800
[2023-09-24T16:41:40Z INFO  neolink::common::camthread] sidegate: Camera time is already set: 2023-09-24 10:41:40.0 +07:00:00
[2023-09-24T16:41:40Z INFO  neolink::common::neocam] sidegate: Model Reolink Lumus
[2023-09-24T16:41:40Z INFO  neolink::common::neocam] sidegate: Firmware Version v2.0.0.705_21052800
[2023-09-24T16:41:41Z INFO  neolink::rtsp] garageside: Avaliable at /garageside/sub, /garageside/Sub, /garageside/subStream, /garageside/SubStream, /garageside/Substream, /garageside/substream

(neolink:7): GLib-GObject-CRITICAL **: 09:41:41.252: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:41:41.252: could not create element

(neolink:7): GLib-GObject-CRITICAL **: 09:41:41.254: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:41:41.254: could not create element
[2023-09-24T16:41:41Z INFO  neolink::rtsp] cage: Avaliable at /cage/sub, /cage/Sub, /cage/subStream, /cage/SubStream, /cage/Substream, /cage/substream

(neolink:7): GLib-GObject-CRITICAL **: 09:41:41.495: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:41:41.495: could not create element
[2023-09-24T16:41:41Z INFO  neolink::rtsp] garagegate: Avaliable at /garagegate/main, /garagegate/Main, /garagegate/mainStream, /garagegate/MainStream, /garagegate/Mainstream, /garagegate/mainstream, /garagegate
[2023-09-24T16:41:41Z INFO  neolink::rtsp] garagegate: Avaliable at /garagegate/sub, /garagegate/Sub, /garagegate/subStream, /garagegate/SubStream, /garagegate/Substream, /garagegate/substream
[2023-09-24T16:41:41Z INFO  neolink::rtsp] garageside: Avaliable at /garageside/main, /garageside/Main, /garageside/mainStream, /garageside/MainStream, /garageside/Mainstream, /garageside/mainstream, /garageside
[2023-09-24T16:41:41Z INFO  neolink::rtsp] cage: Avaliable at /cage/main, /cage/Main, /cage/mainStream, /cage/MainStream, /cage/Mainstream, /cage/mainstream, /cage

(neolink:7): GLib-GObject-CRITICAL **: 09:41:41.888: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:41:41.888: could not create element
[2023-09-24T16:41:42Z INFO  neolink::rtsp] sidegate: Avaliable at /sidegate/main, /sidegate/Main, /sidegate/mainStream, /sidegate/MainStream, /sidegate/Mainstream, /sidegate/mainstream, /sidegate
[2023-09-24T16:41:42Z INFO  neolink::rtsp] sidegate: Avaliable at /sidegate/sub, /sidegate/Sub, /sidegate/subStream, /sidegate/SubStream, /sidegate/Substream, /sidegate/substream
[2023-09-24T16:46:56Z INFO  neolink] Neolink 21ffcf3809f547fc02d8da5e4953e52483491814 release
[2023-09-24T16:46:56Z INFO  neolink::rtsp] Starting RTSP Server at 0.0.0.0:6554
[2023-09-24T16:46:56Z INFO  neolink::rtsp] cage: Rtsp Staring
[2023-09-24T16:46:56Z INFO  neolink::rtsp] sidegate: Rtsp Staring
[2023-09-24T16:46:56Z INFO  neolink::rtsp] garagegate: Rtsp Staring
[2023-09-24T16:46:56Z INFO  neolink::rtsp] garageside: Rtsp Staring
[2023-09-24T16:46:56Z INFO  neolink::utils] sidegate: Connecting to camera at Address: 192.168.6.212:9000
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] sidegate: Trying TCP discovery
[2023-09-24T16:46:56Z INFO  neolink::utils] garagegate: Connecting to camera at Address: 192.168.6.211:9000
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] garagegate: Trying TCP discovery
[2023-09-24T16:46:56Z INFO  neolink::utils] cage: Connecting to camera at Address: 192.168.6.213:9000
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] cage: Trying TCP discovery
[2023-09-24T16:46:56Z INFO  neolink::utils] garageside: Connecting to camera at Address: 192.168.6.210:9000
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] garageside: Trying TCP discovery
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] garagegate: TCP Discovery success at 192.168.6.211:9000
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] sidegate: TCP Discovery success at 192.168.6.212:9000
[2023-09-24T16:46:56Z INFO  neolink::utils] garagegate: Logging in
[2023-09-24T16:46:56Z INFO  neolink::utils] sidegate: Logging in
[2023-09-24T16:46:56Z INFO  neolink_core::bc_protocol] garageside: TCP Discovery success at 192.168.6.210:9000
[2023-09-24T16:46:56Z INFO  neolink::utils] garageside: Logging in
[2023-09-24T16:46:56Z INFO  neolink::utils] garageside: Connected and logged in
[2023-09-24T16:46:56Z INFO  neolink::common::camthread] garageside: Camera time is already set: 2023-09-24 9:46:57.0 +08:00:00
[2023-09-24T16:46:56Z INFO  neolink::utils] garagegate: Connected and logged in
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] garageside: Model Reolink Lumus
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] garageside: Firmware Version v2.0.0.705_21052800
[2023-09-24T16:46:56Z INFO  neolink::common::camthread] garagegate: Camera time is already set: 2023-09-24 9:46:57.0 +08:00:00
[2023-09-24T16:46:56Z INFO  neolink::utils] sidegate: Connected and logged in
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] garagegate: Model Reolink Lumus
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] garagegate: Firmware Version v2.0.0.705_21052800
[2023-09-24T16:46:56Z INFO  neolink::common::camthread] sidegate: Camera time is already set: 2023-09-24 10:46:56.0 +07:00:00
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] sidegate: Model Reolink Lumus
[2023-09-24T16:46:56Z INFO  neolink::common::neocam] sidegate: Firmware Version v2.0.0.705_21052800
[2023-09-24T16:46:57Z INFO  neolink::rtsp] garageside: Avaliable at /garageside/main, /garageside/Main, /garageside/mainStream, /garageside/MainStream, /garageside/Mainstream, /garageside/mainstream, /garageside
[2023-09-24T16:46:57Z INFO  neolink::rtsp] garageside: Avaliable at /garageside/sub, /garageside/Sub, /garageside/subStream, /garageside/SubStream, /garageside/Substream, /garageside/substream
[2023-09-24T16:46:57Z INFO  neolink::rtsp] garagegate: Avaliable at /garagegate/main, /garagegate/Main, /garagegate/mainStream, /garagegate/MainStream, /garagegate/Mainstream, /garagegate/mainstream, /garagegate
[2023-09-24T16:46:57Z INFO  neolink::rtsp] garagegate: Avaliable at /garagegate/sub, /garagegate/Sub, /garagegate/subStream, /garagegate/SubStream, /garagegate/Substream, /garagegate/substream

(neolink:7): GLib-GObject-CRITICAL **: 09:46:57.318: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:46:57.318: could not create element
[2023-09-24T16:46:57Z INFO  neolink::rtsp] sidegate: Avaliable at /sidegate/main, /sidegate/Main, /sidegate/mainStream, /sidegate/MainStream, /sidegate/Mainstream, /sidegate/mainstream, /sidegate
[2023-09-24T16:46:57Z INFO  neolink::rtsp] sidegate: Avaliable at /sidegate/sub, /sidegate/Sub, /sidegate/subStream, /sidegate/SubStream, /sidegate/Substream, /sidegate/substream
[2023-09-24T16:46:57Z INFO  neolink_core::bc_protocol] cage: TCP Discovery success at 192.168.6.213:9000
[2023-09-24T16:46:57Z INFO  neolink::utils] cage: Logging in

(neolink:7): GLib-GObject-CRITICAL **: 09:46:57.673: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:46:57.673: could not create element
[2023-09-24T16:46:57Z INFO  neolink::utils] cage: Connected and logged in
[2023-09-24T16:46:58Z INFO  neolink::common::camthread] cage: Camera time is already set: 2023-09-24 10:46:59.0 +07:00:00
[2023-09-24T16:46:58Z INFO  neolink::common::neocam] cage: Model Reolink Lumus
[2023-09-24T16:46:58Z INFO  neolink::common::neocam] cage: Firmware Version v2.0.0.705_21052800

(neolink:7): GLib-GObject-CRITICAL **: 09:46:58.329: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed

** (neolink:7): CRITICAL **: 09:46:58.329: could not create element
[2023-09-24T16:46:58Z INFO  neolink::rtsp] cage: Avaliable at /cage/sub, /cage/Sub, /cage/subStream, /cage/SubStream, /cage/Substream, /cage/substream
[2023-09-24T16:46:58Z INFO  neolink::rtsp] cage: Avaliable at /cage/main, /cage/Main, /cage/mainStream, /cage/MainStream, /cage/Mainstream, /cage/mainstream, /cage

------------------------------------------------------------------------------

go2rtc log

------------------------------------------------------
2023-09-24 09:41:40.230143128  09:41:40.229 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/garagegate/mainStream
2023-09-24 09:41:40.234519937  09:41:40.234 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/cage/mainStream
2023-09-24 09:41:40.273378465  09:41:40.273 WRN [rtsp] error="unknown error" stream=reo_garage_side_doorm
2023-09-24 09:41:40.274296678  ERROR: MP4 unsupported codec: 96 L16/16000/2
2023-09-24 09:41:40.314066010  09:41:40.314 WRN [rtsp] error="exec: exit status 1" stream=reo_garage_side_doors
2023-09-24 09:41:40.332226503  09:41:40.332 WRN [rtsp] error="exec: exit status 1" stream=reo_garage_side_doorm
2023-09-24 09:41:40.418090387  09:41:40.418 WRN [rtsp] error="exec: exit status 1" stream=reo_garage_side_gates
2023-09-24 09:41:40.441760789  09:41:40.441 WRN [rtsp] error="exec: exit status 1" stream=reo_side_gates
2023-09-24 09:41:41.890443691  09:41:41.890 WRN [rtsp] error="exec: exit status 1" stream=reo_side_gatem
2023-09-24 09:41:53.044694688  ERROR: MP4 unsupported codec: 97 L16/16000/2
2023-09-24 09:42:07.363612402  ERROR: MP4 unsupported codec: 97 L16/16000/2
2023-09-24 09:42:24.105002029  ERROR: MP4 unsupported codec: 97 L16/16000/2
2023-09-24 09:42:26.655229570  ERROR: MP4 unsupported codec: 97 L16/16000/2
2023-09-24 09:42:35.583312593  09:42:35.583 WRN [rtsp] error="unknown error" stream=reo_garage_side_doors
2023-09-24 09:42:45.780283156  09:42:45.780 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:43:15.831202384  09:43:15.831 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:43:34.475860756  09:43:34.475 INF [streams] can't get track error="get track from none state"
2023-09-24 09:43:35.866267405  09:43:35.866 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:43:40.839922738  09:43:40.839 WRN [rtsp] error="unknown error" stream=reo_garage_side_doors
2023-09-24 09:43:45.887378983  09:43:45.887 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:44:05.927463547  09:44:05.927 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:44:15.851281466  09:44:15.851 WRN [rtsp] error="unknown error" stream=reo_garage_side_gates
2023-09-24 09:44:20.476368091  09:44:20.476 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:44:46.008253990  09:44:46.008 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:44:56.011927699  09:44:56.011 WRN [rtsp] error="unknown error" stream=reo_cages
2023-09-24 09:44:56.026284388  09:44:56.026 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:45:36.176530673  09:45:36.176 WRN [rtsp] error="exec: exit status 1" stream=reo_cages
2023-09-24 09:45:56.027239347  09:45:56.027 WRN [rtsp] error="unknown error" stream=reo_garage_side_gates
2023-09-24 09:46:26.180888484  09:46:26.180 WRN [rtsp] error="unknown error" stream=reo_cages
2023-09-24 09:46:36.212283481  09:46:36.212 WRN [rtsp] error="unknown error" stream=reo_side_gates
2023-09-24 09:46:56.106906788  09:46:56.106 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/cage/mainStream
2023-09-24 09:46:56.107657751  09:46:56.107 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/garageside/mainStream
2023-09-24 09:46:56.107661197  09:46:56.107 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/garageside/substream
2023-09-24 09:46:56.107665169  09:46:56.107 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/sidegate/mainStream
2023-09-24 09:46:56.107809674  09:46:56.107 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/garagegate/mainStream
2023-09-24 09:46:56.149948598  09:46:56.149 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/cage/subStream
2023-09-24 09:46:56.152164888  09:46:56.151 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:rtsp://192.168.1.174:6554/sidegate/subStream
2023-09-24 09:47:07.110258730  09:47:07.110 WRN [streams] json locked
2023-09-24 09:47:26.205436812  09:47:26.205 WRN [rtsp] error="unknown error" stream=reo_garage_side_gates
2023-09-24 09:47:45.913524494  09:47:45.913 WRN [rtsp] error="unknown error" stream=reo_garage_side_doors
2023-09-24 09:48:06.357399843  09:48:06.357 WRN [rtsp] error="unknown error" stream=reo_side_gates
-------------------------------------------------------------------------------

Frigate log
---------------------------------------------------------------------
2023-09-24 09:51:16.216759062  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_garage_side_door: Unable to read frames from ffmpeg process.
2023-09-24 09:51:16.216994850  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_garage_side_door: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:16.554077198  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_garage_side_gate: Unable to read frames from ffmpeg process.
2023-09-24 09:51:16.554240850  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_garage_side_gate: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:16.627099538  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_side_driveway_gate: Unable to read frames from ffmpeg process.
2023-09-24 09:51:16.627256835  [2023-09-24 09:51:16] frigate.video                  ERROR   : reo_side_driveway_gate: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:17.027169667  [2023-09-24 09:51:17] frigate.video                  ERROR   : reo_cage: Unable to read frames from ffmpeg process.
2023-09-24 09:51:17.027238236  [2023-09-24 09:51:17] frigate.video                  ERROR   : reo_cage: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:21.105618726  [2023-09-24 09:51:21] watchdog.reo_garage_side_door  ERROR   : Ffmpeg process crashed unexpectedly for reo_garage_side_door.
2023-09-24 09:51:21.105717531  [2023-09-24 09:51:21] watchdog.reo_garage_side_door  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:21.105773918  [2023-09-24 09:51:21] ffmpeg.reo_garage_side_door.detect ERROR   : rtsp://127.0.0.1:8554/reo_garage_side_doors: Invalid data found when processing input
2023-09-24 09:51:21.443603604  [2023-09-24 09:51:21] watchdog.reo_garage_side_gate  ERROR   : Ffmpeg process crashed unexpectedly for reo_garage_side_gate.
2023-09-24 09:51:21.443657276  [2023-09-24 09:51:21] watchdog.reo_garage_side_gate  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:21.443709208  [2023-09-24 09:51:21] ffmpeg.reo_garage_side_gate.detect ERROR   : rtsp://127.0.0.1:8554/reo_garage_side_gates: Invalid data found when processing input
2023-09-24 09:51:21.517218645  [2023-09-24 09:51:21] watchdog.reo_side_driveway_gate ERROR   : Ffmpeg process crashed unexpectedly for reo_side_driveway_gate.
2023-09-24 09:51:21.517293525  [2023-09-24 09:51:21] watchdog.reo_side_driveway_gate ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:21.517348118  [2023-09-24 09:51:21] ffmpeg.reo_side_driveway_gate.detect ERROR   : rtsp://127.0.0.1:8554/reo_side_gates: Invalid data found when processing input
2023-09-24 09:51:21.929731935  [2023-09-24 09:51:21] watchdog.reo_cage              ERROR   : Ffmpeg process crashed unexpectedly for reo_cage.
2023-09-24 09:51:21.929807817  [2023-09-24 09:51:21] watchdog.reo_cage              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:21.929854463  [2023-09-24 09:51:21] ffmpeg.reo_cage.detect         ERROR   : rtsp://127.0.0.1:8554/reo_cages: Invalid data found when processing input
2023-09-24 09:51:21.948448001  [2023-09-24 09:51:21] watchdog.reo_cage              ERROR   : No new recording segments were created for reo_cage in the last 120s. restarting the ffmpeg record process...
2023-09-24 09:51:21.948527289  [2023-09-24 09:51:21] watchdog.reo_cage              INFO    : Terminating the existing ffmpeg process...
2023-09-24 09:51:21.948593326  [2023-09-24 09:51:21] watchdog.reo_cage              INFO    : Waiting for ffmpeg to exit gracefully...
2023-09-24 09:51:26.232893917  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_garage_side_door: Unable to read frames from ffmpeg process.
2023-09-24 09:51:26.233150540  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_garage_side_door: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:26.573713472  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_garage_side_gate: Unable to read frames from ffmpeg process.
2023-09-24 09:51:26.573890080  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_garage_side_gate: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:26.645329371  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_side_driveway_gate: Unable to read frames from ffmpeg process.
2023-09-24 09:51:26.645487034  [2023-09-24 09:51:26] frigate.video                  ERROR   : reo_side_driveway_gate: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:27.059012349  [2023-09-24 09:51:27] frigate.video                  ERROR   : reo_cage: Unable to read frames from ffmpeg process.
2023-09-24 09:51:27.059076306  [2023-09-24 09:51:27] frigate.video                  ERROR   : reo_cage: ffmpeg process is not running. exiting capture thread...
2023-09-24 09:51:31.122404305  [2023-09-24 09:51:31] watchdog.reo_garage_side_door  ERROR   : Ffmpeg process crashed unexpectedly for reo_garage_side_door.
2023-09-24 09:51:31.122460914  [2023-09-24 09:51:31] watchdog.reo_garage_side_door  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:31.122524722  [2023-09-24 09:51:31] ffmpeg.reo_garage_side_door.detect ERROR   : rtsp://127.0.0.1:8554/reo_garage_side_doors: Invalid data found when processing input
2023-09-24 09:51:31.461815712  [2023-09-24 09:51:31] watchdog.reo_garage_side_gate  ERROR   : Ffmpeg process crashed unexpectedly for reo_garage_side_gate.
2023-09-24 09:51:31.462027113  [2023-09-24 09:51:31] watchdog.reo_garage_side_gate  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:31.462118428  [2023-09-24 09:51:31] ffmpeg.reo_garage_side_gate.detect ERROR   : rtsp://127.0.0.1:8554/reo_garage_side_gates: Invalid data found when processing input
2023-09-24 09:51:31.535624578  [2023-09-24 09:51:31] watchdog.reo_side_driveway_gate ERROR   : Ffmpeg process crashed unexpectedly for reo_side_driveway_gate.
2023-09-24 09:51:31.535628575  [2023-09-24 09:51:31] watchdog.reo_side_driveway_gate ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-24 09:51:31.535630061  [2023-09-24 09:51:31] ffmpeg.reo_side_driveway_gate.detect ERROR   : rtsp://127.0.0.1:8554/reo_side_gates: Invalid data found when processing input
QuantumEntangledAndy commented 1 year ago

From what I can see if your log you are just connecting before it is ready. Originally I planned to not let the stream be visible before it was ready and it would return a 404 however an early tester found that BI would not retry a stream if a 404 was returned. So instead an invalid stream is now created. This means that at the beginning before the stream is ready you will get these errors.

What happens after you get the "Avaliable at" message?

QuantumEntangledAndy commented 1 year ago

I'll add back in the splash screen instead then you will get the "Stream Not Ready" static instead of an invalid

QuantumEntangledAndy commented 1 year ago

Ok splash screen is back let me know if that keeps your errors quite by trying out 0.6.2

skywurz commented 1 year ago

Sorry for the late reply. I saw your first comment and tried delaying connection etc but could never get the all streams to connect.

0.6.2 solved my issue

I installed 0.6.2 and all cameras load into my nvr within seconds .

skywurz commented 1 year ago

Thank you so much for your work on this project and fixing this issue!!!