QuantumEntangledAndy / neolink

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

feature-mqtt build + idle_disconnect = No stream and # of RTSP clients increasing constantly #164

Closed anthonws closed 6 months ago

anthonws commented 1 year ago

Describe the bug Deployed the feature-mqtt build so that I can save battery on my Argus 2E. No stream is presented and # of rtsp clients keeps increasing (according to logs).

Some snippets of the log:

[2023-10-02T10:05:52Z DEBUG neolink::rtsp] Clearing old elements
[2023-10-02T10:05:52Z DEBUG neolink::rtsp] Building Unknown Pipeline
[2023-10-02T10:00:48Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 4999 millisecs,
                last outgoing request before 5000 millisecs
[2023-10-02T10:00:49Z DEBUG yaserde_derive] Struct BcXml @ 0: start to parse "body"
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched StartElement(body, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}), new depth 1
[2023-10-02T10:00:49Z DEBUG yaserde_derive] Struct LinkType @ 1: start to parse "LinkType"
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched StartElement(LinkType, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [version -> 1.1]), new depth 2
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched StartElement(type, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}), new depth 3
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched Characters(LAN), new depth 3
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched EndElement(type), new depth 2
[2023-10-02T10:00:49Z DEBUG yaserde_derive] Struct LinkType @ 1: success
[2023-10-02T10:00:49Z DEBUG yaserde::de] Fetched EndElement(LinkType), new depth 1
[2023-10-02T10:00:49Z DEBUG yaserde_derive] Struct BcXml @ 0: success
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Clearing old elements
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Building H264 Pipeline
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Building Aac pipeline
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] tapas_balcony: Number of rtsp clients: 3
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Clearing old elements
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Building H264 Pipeline
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] Building Aac pipeline
[2023-10-02T10:00:50Z DEBUG neolink::rtsp] tapas_balcony: Number of rtsp clients: 4
[2023-10-02T10:00:53Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5000 millisecs,
                last outgoing request before 5001 millisecs
[2023-10-02T10:00:53Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5000 millisecs,
                last outgoing request before 5001 millisecs
[2023-10-02T10:00:53Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5001 millisecs,
                last outgoing request before 5002 millisecs
[2023-10-02T10:00:54Z DEBUG yaserde_derive] Struct BcXml @ 0: start to parse "body"
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched StartElement(body, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}), new depth 1
[2023-10-02T10:00:54Z DEBUG yaserde_derive] Struct LinkType @ 1: start to parse "LinkType"
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched StartElement(LinkType, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}, [version -> 1.1]), new depth 2
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched StartElement(type, {"": "", "xml": "http://www.w3.org/XML/1998/namespace", "xmlns": "http://www.w3.org/2000/xmlns/"}), new depth 3
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched Characters(LAN), new depth 3
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched EndElement(type), new depth 2
[2023-10-02T10:00:54Z DEBUG yaserde_derive] Struct LinkType @ 1: success
[2023-10-02T10:00:54Z DEBUG yaserde::de] Fetched EndElement(LinkType), new depth 1
[2023-10-02T10:00:54Z DEBUG yaserde_derive] Struct BcXml @ 0: success
[2023-10-02T10:00:55Z DEBUG neolink::common::neocam] tapas_balcony: Idle
[2023-10-02T10:00:55Z DEBUG neolink::common::neocam] tapas_balcony: Disconnect On Request
[2023-10-02T10:00:55Z DEBUG rumqttc::state] Publish. Topic = neolink/tapas_balcony/status, Pkid = 14, Payload Size = 12
[2023-10-02T10:00:55Z DEBUG neolink_core::bc_protocol::connection::bcconn] BcConnection::shutdown Cancel
[2023-10-02T10:00:55Z DEBUG neolink_core::bc_protocol::connection::udpsource] UdpPayloadInner::new SendToSocket Cancel
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] Clearing old elements
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] Building H264 Pipeline
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] Building Aac pipeline
[2023-10-02T10:00:55Z DEBUG neolink::rtsp] tapas_balcony: Number of rtsp clients: 5
[2023-10-02T10:00:58Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 3202 millisecs,
                last outgoing request before 3203 millisecs
[2023-10-02T10:00:58Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5000 millisecs,
                last outgoing request before 5000 millisecs
[2023-10-02T10:00:58Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5001 millisecs,
                last outgoing request before 5001 millisecs
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] Clearing old elements
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] Building H264 Pipeline
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] buffer_size: 4194304
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] Building Aac pipeline
[2023-10-02T10:01:01Z DEBUG neolink::rtsp] tapas_balcony: Number of rtsp clients: 6
[2023-10-02T10:01:03Z DEBUG rumqttc::state] Pingreq,
                last incoming packet before 5001 millisecs,
                last outgoing request before 5001 millisecs

To Reproduce

  1. Deploy Neolink feature-mqtt build
  2. Config file:
bind = "0.0.0.0"
bind_port = 8889

[mqtt]
broker_addr = "192.168.1.10" # Address of the mqtt server
port = 1883 # mqtt servers port

[[cameras]]
name = "tapas_balcony"
username = "admin"
password = "xxxxxxx"
uid = "0000000000000"
stream = "subStream"
idle_disconnect = true
#use_splash = false
 [cameras.mqtt]
  enable_battery = true
  battery_update = 60000
  enable_preview = false
 [cameras.mqtt.discovery]
  topic = "homeassistant"
  features = ["reboot", "ir", "motion", "battery"]
 [cameras.pause]
  on_motion = true # Should pause when no motion
  on_client = true # Should pause when no rtsp client
  timeout = 2.1
  1. Use neolink stream in Frigate and then connect HA via Go2RTC

Expected behavior Expected stream to show up in Frigate/HA but also to be available via VLC, for example.

Versions Neolink 26f82f0395cbb258be585f571891d80a75c6a08a Reolink camera model and firmware: Argus 2E, firmware 0323_712_572_477

Log with RUST debug enabled in attach. _neolink_balcony_logs.txt

EDIT1: Uploaded correct log EDIT2: Added configuration

QuantumEntangledAndy commented 1 year ago

Ah this is interesting. I was wondering if some clients were creating multiple streams that were not being closed properly since that would explain the memory issues I have been seeing.

I don't seem to be getting multiple clients when I test through HA of ffmpeg directly. I may need to device an way to force a stream to drop if the client is not pulling frames, but I am not sure if I have access to that information through gstreamer

QuantumEntangledAndy commented 1 year ago

From neolink perspective your log seems to be ok. There's nothing to suggest that the frames aren't being pushed though. Although perhaps pushing the same frame 6times is causing too much lag.

QuantumEntangledAndy commented 1 year ago

I have an idea where I check if gstreamer reports that it's buffers are full for over 15s I abandon that client connection. But that might be too long and I'm not sure how it will behave since I cannot seem to test this setup atm. I'll see if I can get my frigate setup back up.

QuantumEntangledAndy commented 1 year ago

If you get a chance could you test this build

anthonws commented 1 year ago

Tested it with the same configuration (except now I could disable the splash screen without segfaulting).

Same behavior:

  1. Number of clients continues to increase, even tough I only have Frigate (1 stream) and me trying with VLC to open a stream directly
  2. Nothing is streamed either to Frigate or VLC
  3. It seems that VLC shows a frame for a tenth of a second and then retries (I could see several lines of "Building pipeline" which to me indicates a new stream beginning to be processes

Thanks for the efforts!!

Log: _neolink_balcony_logs_3_10_2023.txt

QuantumEntangledAndy commented 1 year ago

Ok from your log this happened:

Might be able to do this https://stackoverflow.com/questions/2256273/how-to-modify-h-264-header-such-that-the-decoder-will-repeat-the-previous-coded but would be nice to look into it more

QuantumEntangledAndy commented 1 year ago

So making a h264 skip frame is quite involved and a little out of my area. Will require some time for me to understand the H264 bitstream format to craft such a frame. In the mean time can you work with just client pause?

If not there is another option I could do but it would require a complete rencode where I decode the h264 frames and use gstreamers pause frame (only works on RAW frames not h264) then encode back to h264. Would the rencode be too much for your hardware?

QuantumEntangledAndy commented 1 year ago

Could you try out this build it is designed to repeat an IFrame if the connection is disconnected for >1s

anthonws commented 1 year ago

Will do! BTW, I forgot to mention that I am using go2rtc in Frigate. I will get go2rtc logs also. They might shed some light on the behaviors that we observed in the neolink log.

QuantumEntangledAndy commented 1 year ago

Any chance you can tell me if frigate works with the extra keyframe send? I am getting odd issues with the BI client now and I am wondering if its to do with the repeated IFrame

anthonws commented 1 year ago

@QuantumEntangledAndy Apologies for the delay in getting back to you (life got a bit in the way :S).

STATUS:

  1. No image in Frigate
  2. No image in VLC (errors out)
  3. A bunch of errors in neolink log, related to GStreamer-RTSP (see below)
[2023-10-12T09:52:34Z DEBUG neolink::rtsp::factory] Clearing old elements
(neolink:7): GLib-GObject-CRITICAL **: 09:52:34.491: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed
(neolink:7): GStreamer-RTSP-Server-CRITICAL **: 09:52:34.491: could not create element
[2023-10-12T09:52:34Z DEBUG neolink::rtsp::factory] Clearing old elements
(neolink:7): GLib-GObject-CRITICAL **: 09:52:34.494: g_object_force_floating: assertion 'G_IS_OBJECT (object)' failed
(neolink:7): GStreamer-RTSP-Server-CRITICAL **: 09:52:34.494: could not create element
[2023-10-12T09:52:36Z DEBUG neolink::common::streamthread] Watchdog kicking the stream
[2023-10-12T09:52:36Z DEBUG neolink::rtsp::gst::server] Cleaned up had no sessions to cleanup
[2023-10-12T09:52:36Z DEBUG rumqttc::state] Pingreq,

_neolink_balcony_debug_log_12_10_2023.txt

QuantumEntangledAndy commented 1 year ago

Oh your pulling my latest. I'm current doing some experimental stuff to see why gstreamer is not dropping the clients. And you pulled it on the part that had g-errors

anthonws commented 1 year ago

Ah! Apologies! Will get the specific version you pointed out. 1 sec.

anthonws commented 1 year ago

Here is the log for the image SHA in question.

STATUS

  1. Frigate and VLC can access stream
  2. Stream gets stuck (continuous Inserting Skip Frame)
  3. Image is no longer updated, even when opening new VLC instances or trying to view via Frigate

In my simple mind, a client request would be equal to me opening Home Assistance and checking the camera card page, or opening VLC, or going into Frigate. Truth be told, go2rtc might be creating a long term client session, that never gets closed. But in this case, using this image, neolink continues serving the Skip Frame (which I think it is an amazing way of saving camera battery for when there's no clients connected, and Frigate needs to process something and not error out).

_neolink_balcony_debug_log_2nd_12_10_2023.txt

Let me know if there's anything else I can be of assistance with.

A big thank you, as always.

EDIT 1:

Number of clients got to 3. From a HA + Frigate pov, it is only 1 client (go2rtc) and then another one for VLC.

[2023-10-12T10:36:26Z DEBUG neolink::rtsp::factory] Building Aac pipeline
[2023-10-12T10:36:26Z DEBUG neolink::rtsp::stream] New media
[2023-10-12T10:36:26Z DEBUG neolink::rtsp::stream] tapas_balcony: Number of rtsp clients: 3

EDIT 2:

From a Frigate perspective, I got no more errors, from 10:33 AM to 10:45 AM (when I stopped the neolink container).

2023-10-12 10:33:40.049109851  [2023-10-12 10:33:40] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x559058581100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:33:40.049118009  [2023-10-12 10:33:40] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:33:40.166953675  [2023-10-12 10:33:40] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:33:40.166960396  [2023-10-12 10:33:40] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:33:50.064845627  [2023-10-12 10:33:50] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:33:50.064862094  [2023-10-12 10:33:50] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:33:50.064870006  [2023-10-12 10:33:50] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x55eb1585a100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:33:50.064877466  [2023-10-12 10:33:50] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:45:04.563052600  [2023-10-12 10:45:04] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:45:04.563925128  [2023-10-12 10:45:04] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:45:04.565125695  [2023-10-12 10:45:04] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:45:10.179917431  [2023-10-12 10:45:10] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.

EDIT 3:

Funny thing, when viewing Frigate vs VLC SxS (after opening the stream in VLC after) the timeframe is a bit in the past. image

QuantumEntangledAndy commented 1 year ago

There's is an issue with streams not closing. I am suspecting it's upstream or I'm not configuring the upstream gatreamer right. It seems to work fine on my macOS but on Linux and windows it seems to only do a disconnect properly if the client sends the proper teardown request.

anthonws commented 1 year ago

Tried re-doing it and it reproes. One other relevant detail is that Frigate and VLC cannot connect to the neolink stream even after the container for neolink has started (and a couple of minutes have passed...).

Neolink started stream at 10:51:38 [2023-10-12T10:51:38Z DEBUG neolink::common::streamthread] Streaming START

Frigate started capture process for balcony camera at 10:51:43, but only around 10:53 it started receiving frames. Which were already skip frames AFAIU.

2023-10-12 10:51:43.260328455  [2023-10-12 10:51:43] frigate.app                    INFO    : Capture process started for tapas_balcony: 225
2023-10-12 10:51:43.841113546  10:51:43.840 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:51:43.844882514  10:51:43.844 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:51:43.844889627  10:51:43.844 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:51:43.849315830  [2023-10-12 10:51:43] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:51:43.850463629  [2023-10-12 10:51:43] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:51:47.296307560  [2023-10-12 10:51:47] frigate.detectors.plugins.openvino INFO    : Model Input Shape: {1, 300, 300, 3}
2023-10-12 10:51:47.302517129  [2023-10-12 10:51:47] frigate.detectors.plugins.openvino INFO    : Model Output-0 Shape: {1, 1, 100, 7}
2023-10-12 10:51:47.308119129  [2023-10-12 10:51:47] frigate.detectors.plugins.openvino INFO    : Model has 1 Output Tensors
2023-10-12 10:51:47.575252888  [INFO] Starting go2rtc healthcheck service...
2023-10-12 10:51:48.664613538  [2023-10-12 10:51:48] frigate.video                  ERROR   : tapas_hall: Unable to read frames from ffmpeg process.
2023-10-12 10:51:48.664621236  [2023-10-12 10:51:48] frigate.video                  ERROR   : tapas_hall: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:51:49.068227788  192.168.1.10 - - [12/Oct/2023:10:51:49 +0000] "GET /api/stats HTTP/1.1" 200 2160 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:51:54.352526592  10:51:54.352 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-10-12 10:51:58.262856561  192.168.1.10 - - [12/Oct/2023:10:51:58 +0000] "GET /api/stats HTTP/1.1" 200 2097 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:03.379429220  [2023-10-12 10:52:03] watchdog.tapas_hall            ERROR   : Ffmpeg process crashed unexpectedly for tapas_hall.
2023-10-12 10:52:03.380052960  [2023-10-12 10:52:03] watchdog.tapas_hall            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:03.380058372  [2023-10-12 10:52:03] ffmpeg.tapas_hall.detect       ERROR   : rtsp://192.168.1.10:8554/tapas_hall: Invalid data found when processing input
2023-10-12 10:52:03.453400827  [2023-10-12 10:52:03] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:03.453407996  [2023-10-12 10:52:03] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:03.453410304  [2023-10-12 10:52:03] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x55ee6efaa100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:03.453417133  [2023-10-12 10:52:03] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:03.886153296  10:52:03.879 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:03.956442965  10:52:03.955 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:03.956450393  10:52:03.956 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:03.973225307  [2023-10-12 10:52:03] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:03.973450843  [2023-10-12 10:52:03] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:52:07.267975382  192.168.1.10 - - [12/Oct/2023:10:52:07 +0000] "GET /api/stats HTTP/1.1" 200 2129 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:08.189529167  192.168.25.112 - - [12/Oct/2023:10:52:08 +0000] "GET /api/config HTTP/1.1" 200 7462 "http://192.168.1.10:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:08.193994572  192.168.25.112 - - [12/Oct/2023:10:52:08 +0000] "GET /api/logs/frigate HTTP/1.1" 200 938 "http://192.168.1.10:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:08.195824774  192.168.25.112 - - [12/Oct/2023:10:52:08 +0000] "GET /api/logs/go2rtc HTTP/1.1" 200 504 "http://192.168.1.10:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:08.258530414  192.168.25.112 - - [12/Oct/2023:10:52:08 +0000] "GET /api/logs/nginx HTTP/1.1" 200 546 "http://192.168.1.10:5000/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:10.062797178  192.168.25.112 - - [12/Oct/2023:10:52:10 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:10.076248249  192.168.25.112 - - [12/Oct/2023:10:52:10 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:13.566182948  [2023-10-12 10:52:13] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:13.566190536  [2023-10-12 10:52:13] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:13.566192848  [2023-10-12 10:52:13] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x55cd57fdf100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:13.566195063  [2023-10-12 10:52:13] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:13.654067202  10:52:13.653 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:13.656512252  10:52:13.656 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:13.656578983  10:52:13.656 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:13.659514275  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.659990238  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.660348923  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.660708922  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.661047329  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.661444532  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.661801276  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.662191554  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.662719362  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.663093796  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.663444577  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.663861439  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.664218906  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.664585711  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.664954202  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.665358393  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:13.665679983  [2023-10-12 10:52:13] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:52:13.778835028  192.168.25.112 - - [12/Oct/2023:10:52:13 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:13.868263370  192.168.25.112 - - [12/Oct/2023:10:52:13 +0000] "GET /api/config HTTP/1.1" 200 7462 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:14.151630974  192.168.25.112 - - [12/Oct/2023:10:52:14 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:14.168162215  192.168.25.112 - - [12/Oct/2023:10:52:14 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:14.952205370  [2023-10-12 10:52:14] frigate.comms.dispatcher       INFO    : Turning off detection for tapas_balcony
2023-10-12 10:52:15.377250790  [2023-10-12 10:52:15] frigate.comms.dispatcher       INFO    : Turning off recordings for tapas_balcony
2023-10-12 10:52:15.871110944  [2023-10-12 10:52:15] frigate.comms.dispatcher       INFO    : Turning off snapshots for tapas_balcony
2023-10-12 10:52:16.261717480  192.168.1.10 - - [12/Oct/2023:10:52:16 +0000] "GET /api/stats HTTP/1.1" 200 2129 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:16.653724539  [2023-10-12 10:52:16] frigate.comms.dispatcher       INFO    : Turning off detection for tapas_hall
2023-10-12 10:52:17.095017895  [2023-10-12 10:52:17] frigate.comms.dispatcher       INFO    : Turning off recordings for tapas_hall
2023-10-12 10:52:17.476289047  [2023-10-12 10:52:17] frigate.comms.dispatcher       INFO    : Turning off snapshots for tapas_hall
2023-10-12 10:52:18.613712601  192.168.25.112 - - [12/Oct/2023:10:52:18 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:18.651053670  192.168.25.112 - - [12/Oct/2023:10:52:18 +0000] "GET /ws HTTP/1.1" 101 406 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:18.857251279  192.168.25.112 - - [12/Oct/2023:10:52:18 +0000] "GET /api/config HTTP/1.1" 200 7468 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:19.165218190  192.168.25.112 - - [12/Oct/2023:10:52:19 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:19.172413453  192.168.25.112 - - [12/Oct/2023:10:52:19 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 17643 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:20.351168837  192.168.25.112 - - [12/Oct/2023:10:52:20 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:20.353099406  192.168.25.112 - - [12/Oct/2023:10:52:20 +0000] "GET /ws HTTP/1.1" 101 4 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:20.466778722  192.168.25.112 - - [12/Oct/2023:10:52:20 +0000] "GET /api/config HTTP/1.1" 200 7468 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:20.773275596  192.168.25.112 - - [12/Oct/2023:10:52:20 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:20.806979018  192.168.25.112 - - [12/Oct/2023:10:52:20 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 15872 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:21.451782732  192.168.25.112 - - [12/Oct/2023:10:52:21 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:21.452886364  192.168.25.112 - - [12/Oct/2023:10:52:21 +0000] "GET /ws HTTP/1.1" 101 53 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:21.558536297  192.168.25.112 - - [12/Oct/2023:10:52:21 +0000] "GET /api/config HTTP/1.1" 200 7468 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:21.960404956  192.168.25.112 - - [12/Oct/2023:10:52:21 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:22.059852583  192.168.25.112 - - [12/Oct/2023:10:52:22 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 15872 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:22.869736151  192.168.25.112 - - [12/Oct/2023:10:52:22 +0000] "GET /ws HTTP/1.1" 101 4 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:22.877431498  192.168.25.112 - - [12/Oct/2023:10:52:22 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:22.981705323  192.168.25.112 - - [12/Oct/2023:10:52:22 +0000] "GET /api/config HTTP/1.1" 200 7468 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:23.257384480  192.168.25.112 - - [12/Oct/2023:10:52:23 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:23.266424687  192.168.25.112 - - [12/Oct/2023:10:52:23 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 15868 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:23.654463757  [2023-10-12 10:52:23] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:23.665298027  [2023-10-12 10:52:23] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:23.665305418  [2023-10-12 10:52:23] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x55af2ddda100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:23.665307819  [2023-10-12 10:52:23] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:23.710790019  10:52:23.709 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:23.716177079  10:52:23.715 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:23.716184120  10:52:23.716 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:23.761830033  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.761836840  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.762757817  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.762762362  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.762764501  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.762766502  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763388064  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763391009  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763393073  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763395066  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763397056  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.763401033  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.766974058  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.771072568  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.772430115  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.773321503  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.780039986  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.782476773  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.790412775  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.791262994  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.792269712  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.793390891  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:23.795976306  [2023-10-12 10:52:23] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:52:24.078930521  192.168.25.112 - - [12/Oct/2023:10:52:24 +0000] "GET /ws HTTP/1.1" 101 4 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:24.080714339  192.168.25.112 - - [12/Oct/2023:10:52:24 +0000] "GET / HTTP/1.1" 200 6641 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:24.156883126  192.168.25.112 - - [12/Oct/2023:10:52:24 +0000] "GET /api/config HTTP/1.1" 200 7468 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:24.471130695  192.168.25.112 - - [12/Oct/2023:10:52:24 +0000] "GET //api/tapas_balcony/latest.jpg?h=405 HTTP/1.1" 200 11381 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:24.560751937  192.168.25.112 - - [12/Oct/2023:10:52:24 +0000] "GET //api/tapas_hall/latest.jpg?h=405 HTTP/1.1" 200 15902 "http://192.168.1.10:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0" "-"
2023-10-12 10:52:25.478354599  192.168.1.10 - - [12/Oct/2023:10:52:25 +0000] "GET /api/stats HTTP/1.1" 200 2129 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:33.752211293  [2023-10-12 10:52:33] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:33.752218773  [2023-10-12 10:52:33] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:33.752851040  [2023-10-12 10:52:33] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x56471c705100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:33.752855546  [2023-10-12 10:52:33] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:33.858295424  10:52:33.857 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:33.861030994  10:52:33.860 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:33.861038225  10:52:33.860 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:33.864499233  [2023-10-12 10:52:33] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:33.864506395  [2023-10-12 10:52:33] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:52:34.267220001  192.168.1.10 - - [12/Oct/2023:10:52:34 +0000] "GET /api/stats HTTP/1.1" 200 2130 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:43.262866200  192.168.1.10 - - [12/Oct/2023:10:52:43 +0000] "GET /api/stats HTTP/1.1" 200 2130 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:43.852903097  [2023-10-12 10:52:43] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:43.852910796  [2023-10-12 10:52:43] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:43.852913158  [2023-10-12 10:52:43] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x55fe58c25100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:43.852915409  [2023-10-12 10:52:43] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:43.962967267  10:52:43.962 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:43.965807875  10:52:43.965 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:43.965814762  10:52:43.965 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:43.968631462  [2023-10-12 10:52:43] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:43.968866352  [2023-10-12 10:52:43] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:52:52.463192254  192.168.1.10 - - [12/Oct/2023:10:52:52 +0000] "GET /api/stats HTTP/1.1" 200 2130 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:52:53.951998608  [2023-10-12 10:52:53] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:52:53.952005601  [2023-10-12 10:52:53] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:52:53.952108796  [2023-10-12 10:52:53] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x5579694e5100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:52:53.952434882  [2023-10-12 10:52:53] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:52:54.150380104  10:52:54.077 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:54.154257994  10:52:54.153 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:52:54.154270227  10:52:54.154 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:52:54.158269387  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.158924737  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.159358682  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.159782862  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.160215580  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.160679092  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.161222398  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.161678122  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.162172619  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.162645257  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.163248248  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.163688093  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.164110145  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.164548428  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.165104957  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.165551633  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.165987188  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.166439992  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.167127277  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.168082673  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.169478466  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.173616866  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:52:54.175479319  [2023-10-12 10:52:54] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
2023-10-12 10:53:01.362223590  192.168.1.10 - - [12/Oct/2023:10:53:01 +0000] "GET /api/stats HTTP/1.1" 200 2130 "-" "HomeAssistant/2023.9.3 aiohttp/3.8.5 Python/3.11" "-"
2023-10-12 10:53:03.974495317  [2023-10-12 10:53:03] watchdog.tapas_balcony         ERROR   : Ffmpeg process crashed unexpectedly for tapas_balcony.
2023-10-12 10:53:03.974502358  [2023-10-12 10:53:03] watchdog.tapas_balcony         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-12 10:53:03.974504715  [2023-10-12 10:53:03] ffmpeg.tapas_balcony.detect    ERROR   : [rtsp @ 0x56510702f100] method DESCRIBE failed: 404 Not Found
2023-10-12 10:53:03.974506897  [2023-10-12 10:53:03] ffmpeg.tapas_balcony.detect    ERROR   : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found
2023-10-12 10:53:03.989470318  10:53:03.989 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:53:03.991881543  10:53:03.991 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:53 > error="wrong response on DESCRIBE" url=rtsp://192.168.1.10:8889/tapas_balcony
2023-10-12 10:53:03.991886879  10:53:03.991 WRN [rtsp] error="source 0 error: wrong response on DESCRIBE" stream=tapas_balcony
2023-10-12 10:53:03.994690128  [2023-10-12 10:53:03] frigate.video                  ERROR   : tapas_balcony: Unable to read frames from ffmpeg process.
2023-10-12 10:53:03.994911265  [2023-10-12 10:53:03] frigate.video                  ERROR   : tapas_balcony: ffmpeg process is not running. exiting capture thread...
QuantumEntangledAndy commented 1 year ago

The ERROR : rtsp://192.168.1.10:8554/tapas_balcony: Server returned 404 Not Found suggests that it was able to connect to the rtsp server at this address, BUT it could not find anything at the /tapas_balcony url. Would like to see the neolink log during this time, since it suggests that the factory is not giving out a url for that which it should always do

Also please try this build when it finishes. It seems to consistently disconnect when the client does now (for me at least)

QuantumEntangledAndy commented 6 months ago

Going to close this one as we should now have a working client timeout, let me know if it still does strange things on latest