kaffetorsk / arlo-streamer

Continuous stream for Arlo cameras
MIT License
30 stars 5 forks source link

Login Issue #17

Closed chicknlil closed 6 months ago

chicknlil commented 7 months ago

Hello!

This is probably a me issue rather than a you issue, but I thought I'd ask here, since this is my current point of failure.

Quick background: I have HA running as a VM on Proxmox on one miniPC. On another (new) miniPC, I have docker on debian. To the best of my (admittedly, not good) knowledge, I have opened the necessary ports both ways for HA to communicate with Frigate, and thus, my MQTT. I am also learning Linux on the fly (oh boy!) so I most assuredly am making mistakes.

My docker-compose for arlo-streamer and rtmp-server looks like this (with apologies for any formatting errors, as I'm typing this on my Windows PC):

services:
  arlo-streamer:
    image: kaffetorsk/arlo-streamer
    restart: unless-stopped
    env_file: .streamer-env
    extra_hosts:
      - "my.ha.instance:8123" #For reaching mqtt
      - "host.docker.internal:host-gateway"

  rtmp-server:
    image: alqutami/rtmp-hls
    restart: unless-stopped
    volumes:
      - ./config/rtmp/nginx.conf:/etc/nginx/nginx.conf
    ports:
      - 1935:1935
    environment:
      - MTX_PROOCOLS=tcp

Likewise, my .streamer-env is largely copied from your examples:

ARLO_USER=speedy47@gmail.com
ARLO_PASS=redacted
IMAP_HOST=imap.gmail.com
IMAP_USER=speedy47@gmail.com
IMAP_PASS=redacted
FFMPEG_OUT="-c:v copy -c:a copy -f flv rtmp:host.docker.internal:1935/live/{name}"
MQTT_BROKER=ha.instance.ip
PYAARLO_BACKEND=sse
PYAARLO_REFRESH_DEVICE=3
PYAARLO_STREAM_TIMEOUT=180

This top 5 is exactly what I was using in the HA integration (from the Pyaarlo creator). I can login no problem on the HA side, it detects all 8 of my cameras, life is good.

When I try to do it with arlo-streamer, I get a [WARNING] pyaarlo: error in new response={'meta': {'code': 401, 'error': 9015, 'message': 'Password not correct'}}

Prior to that, I'm also getting a [WARNING] pyaarlo: body-error=JSONDecodeError

I'm positive the passwords are correct. I've checked and double checked the .streamer-env file with the information I regenerated yesterday (new Arlo password, new GApps password) - everything matches. I've tried wrapping both passwords in quotes. Still tells me it's not correct.

I'm at a loss at this point - any ideas?

YpNo commented 7 months ago

Hi @chicknlil, I think that your have been detected as bot by Arlo's Cloudflare... I had approximatively the same issue. The first thing, I think, is to try forcing CURVE to use 'secp384r1'. But arlo-streamer doesn't allow to do it. I can try to push a PR for reach this goal.

By the way, i've created a PR on the PyAarlo repository to enhance the Cloudflare "Undetection" but it is a bit slow about validation : https://github.com/twrecked/pyaarlo/pull/144

chicknlil commented 7 months ago

I'm glad that it isn't necessarily something I did.

Do you think that the "arlo account" that I was using, I was also using for HA, has any bearing? I can easily create another Arlo account with another gmail address, share the relevant camaras to it, and do that as well if you think it might help.

YpNo commented 7 months ago

Hi @chicknlil, Could you send your logs with the parameter DEBUG=true ?

Thanks.

YpNo commented 7 months ago

I'm glad that it isn't necessarily something I did.

Do you think that the "arlo account" that I was using, I was also using for HA, has any bearing? I can easily create another Arlo account with another gmail address, share the relevant camaras to it, and do that as well if you think it might help.

Oh yes, you have to use dedicated account for "technical" usage. You cannot login twice on different devices with the same account. Personally, I am using dedicated gmail and arlo account.

chicknlil commented 7 months ago

Tell me where I'm putting the parameter and I for sure will. 😁

YpNo commented 7 months ago

Tell me where I'm putting the parameter and I for sure will. 😁

in your .streamer-env file

chicknlil commented 7 months ago

Oh yes, you have to use dedicated account for "technical" usage. You cannot login twice on different devices with the same account. Personally, I am using dedicated gmail and arlo account.

Apologies, I think I failed to explain myself properly there. I do have 2 Arlo accounts currently: the main, which lives on my phone, and a secondary, shared from the main, that feeds HA. I was asking if I should create a tertiary, that feeds Frigate, with just the cameras I'm concerned about.

I've got the debug line in now (am now answering these on my phone rather than my Windows laptop), but will wait for your answer to that question before I proceed.

chicknlil commented 7 months ago

I've looked for a log file (perhaps I'm looking in the wrong place?) but don't see one. This is however what the terminal captured.

root@debian:/media/ben/frigate# docker compose up
[+] Running 2/0
 βœ” Container frigate-rtmp-server-1    Created                              0.0s 
 βœ” Container frigate-arlo-streamer-1  Created                              0.0s 
Attaching to arlo-streamer-1, rtmp-server-1
arlo-streamer-1  | 2024-04-14 11:36:42,666 [INFO] pyaarlo: pyarlo 0.8.0.2 starting...
arlo-streamer-1  | 2024-04-14 11:36:42,793 [WARNING] pyaarlo: body-error=JSONDecodeError
arlo-streamer-1  | 2024-04-14 11:36:44,014 [WARNING] pyaarlo: error in new response={'meta': {'code': 401, 'error': 9015, 'message': 'Password not correct'}}
arlo-streamer-1  | 2024-04-14 11:36:45,235 [WARNING] pyaarlo: error in new response={'meta': {'code': 401, 'error': 9015, 'message': 'Password not correct'}}
arlo-streamer-1  | 2024-04-14 11:36:46,236 [ERROR] pyaarlo: authentication failed
arlo-streamer-1  | 2024-04-14 11:36:46,535 [WARNING] pyaarlo: error in new response={'meta': {'code': 401, 'error': 9015, 'message': 'Password not correct'}}
  Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 2/2
 βœ” Container frigate-rtmp-server-1    Stopped                              0.2s 
 βœ” Container frigate-arlo-streamer-1  Stopped                              3.0s 
canceled

That was with a new account/email address, with just the 2 cameras I'm concerned with, but also with quotation marks wrapped around the passwords. A subsequent attempt, with the quotation marks removed, found me already locked out, so I'm not sure if that was the issue.

If I've failed to provide you what you were looking for, please let me know. I'm not trying to be obtuse; I'm just very much learning and don't know enough to not know.

Thank you for the time and patience you've shown with me thus far!

YpNo commented 7 months ago

You don't need to use another account. It won't solve your problem :)

Ok, you have the logs during the docker compose up. But I am not sure the debug mode is enabled. Could you provide the content of your .streamer-env file ? When you containers are up, you can also doing something like that to get container logs: docker logs frigate-arlo-streamer-1 -f

I'm almost sure that it is cloudflare bot detection issue. @kaffetorsk could you check the PR ?

chicknlil commented 7 months ago

Oyyyy. Operator error here. I had 2 versions of .streamer-env it seems. The one I was editing was not in the same location as my docker-compose.yml so no wonder I wasn't getting any changes no matter what I did.

It connected and saw my cameras when I actually put the .streamer-env in the right spot.

Few dumb questions if you'd be so kind...

I see plenty of reference to navigating to Frigate's IP - where would I find that? Is that the network IP of the minipc Frigate etc is on?

The connection to MQTT on my HA miniPC was refused, I'm presuming because there were no credentials supplied in the .streamer-env. It seems that adding a MQTT-USER and MQTT-PASS fields rectified that, but are my expectations correct there?

Finally, is arlo-streamer using the most recent release of pyaarlo? Because I know that release (in the last month or so) added support to my doorbell, which arlo-streamer doesn't seem to be seeing.

Again, very much appreciative of you, your efforts, and your patience!

chicknlil commented 7 months ago

I've noticed when I try running Frigate now, it gets hung on the ...healthcheck. I'm not at that computer so I can't recall which one, RTC maybe? That's not expected, is it?

YpNo commented 7 months ago

Hi,

Oyyyy. Operator error here. I had 2 versions of .streamer-env it seems. The one I was editing was not in the same location as my docker-compose.yml so no wonder I wasn't getting any changes no matter what I did.

It connected and saw my cameras when I actually put the .streamer-env in the right spot.

Happy to know you solved your issue :)

Few dumb questions if you'd be so kind...

I see plenty of reference to navigating to Frigate's IP - where would I find that? Is that the network IP of the minipc Frigate etc is on?

It depends on where your frigate runs. Normally, it is the IP of your docker's host + the port exposed by frigate (5000). So: http://:5000

The connection to MQTT on my HA miniPC was refused, I'm presuming because there were no credentials supplied in the .streamer-env. It seems that adding a MQTT-USER and MQTT-PASS fields rectified that, but are my expectations correct there?

First, Have you a MQTT serveur running somewhere ? If no, you have to run once. If yes, you have to set the two parameters, yes. It depends, as well, if your MQTT server force you to authenticate. Some MQTT server are "opened". Ah, and if your MQTT server listen on IP other than 127.0.0.1.

Finally, is arlo-streamer using the most recent release of pyaarlo? Because I know that release (in the last month or so) added support to my doorbell, which arlo-streamer doesn't seem to be seeing.

Normally, yes. The version is not fixed in the requirements.txt. You can try, these kind of command to force your container to be updated:

docker compose pull frigate-arlo-streamer-1
docker compose up -d --force-recreate frigate-arlo-streamer-1
chicknlil commented 7 months ago

So I inspected the frigate container while it was running - is that the docker host IP? Because if so, I'm having no success getting that to open on that device. It can't connect. So I think I'm doing something wrong.

Yes, MQTT is running within my HA (Home Assistant) instance (192.168.1.xx). So I directed it to that IP, gave it access to the MQTT login parameters in HA, and it seems to be working.

I'll poke around at this some more and see if I can't figure out where I'm going wrong.

Much obliged for your help!

YpNo commented 7 months ago

Did you setup frigate in your docker compose ? in your first message you gave the content of your docker-compose file but I don't see any frigate part.

chicknlil commented 7 months ago

I had it in a separate docker-compose, based on this.

chicknlil commented 7 months ago

Well, I've got Frigate's GUI up now, as evidenced below...

image

But it's definitely having an issue with my doorbell:

2024-04-15 19:36:48.627732569  [INFO] Preparing Frigate...
2024-04-15 19:36:48.668863354  [INFO] Starting Frigate...
2024-04-15 19:36:50.379622988  [2024-04-15 19:36:50] frigate.app                    INFO    : Starting Frigate (0.13.2-6476f8a)
2024-04-15 19:36:50.393232469  [tcp @ 0x31c4f00] Connection to tcp://host.docker.internal:1935?tcp_nodelay=0 failed: Connection refused
2024-04-15 19:36:50.393236219  [rtmp @ 0x3157d40] Cannot open connection tcp://host.docker.internal:1935?tcp_nodelay=0
2024-04-15 19:36:50.396499142  [ERROR:0@0.733] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-04-15 19:36:50.396501965  
2024-04-15 19:36:50.396505476  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtmp://host.docker.internal:1935/live/front_window_camera in function 'icvExtractPattern'
2024-04-15 19:36:50.396507012  
2024-04-15 19:36:50.396507645  
2024-04-15 19:36:50.399222319  [tcp @ 0x3280b80] Connection to tcp://host.docker.internal:1935?tcp_nodelay=0 failed: Connection refused
2024-04-15 19:36:50.399225969  [rtmp @ 0x3240cc0] Cannot open connection tcp://host.docker.internal:1935?tcp_nodelay=0
2024-04-15 19:36:50.399297159  [ERROR:0@0.736] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-04-15 19:36:50.399299384  
2024-04-15 19:36:50.399301496  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtmp://host.docker.internal:1935/live/doorbell in function 'icvExtractPattern'
2024-04-15 19:36:50.399302375  
2024-04-15 19:36:50.399303108  
2024-04-15 19:36:50.421863517  [2024-04-15 19:36:50] peewee_migrate.logs            INFO    : Starting migrations
2024-04-15 19:36:50.427779905  [2024-04-15 19:36:50] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-04-15 19:36:50.431567497  [2024-04-15 19:36:50] frigate.app                    INFO    : Recording process started: 298
2024-04-15 19:36:50.433671741  [2024-04-15 19:36:50] frigate.app                    INFO    : go2rtc process pid: 89
2024-04-15 19:36:50.455618210  [2024-04-15 19:36:50] detector.coral                 INFO    : Starting detection process: 308
2024-04-15 19:36:50.460280292  [2024-04-15 19:36:50] frigate.app                    INFO    : Output process started: 310
2024-04-15 19:36:50.462545143  [2024-04-15 19:36:50] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-04-15 19:36:50.473025331  [2024-04-15 19:36:50] frigate.app                    INFO    : Camera processor started for front_window_camera: 317
2024-04-15 19:36:50.486160055  [2024-04-15 19:36:50] frigate.app                    INFO    : Camera processor started for doorbell: 318
2024-04-15 19:36:50.486164620  [2024-04-15 19:36:50] frigate.app                    INFO    : Capture process started for front_window_camera: 319
2024-04-15 19:36:50.494528564  [2024-04-15 19:36:50] frigate.app                    INFO    : Capture process started for doorbell: 326
2024-04-15 19:36:50.518800329  [2024-04-15 19:36:50] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-15 19:36:50.518989121  [2024-04-15 19:36:50] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:36:50.519508479  [2024-04-15 19:36:50] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:36:50.519718141  [2024-04-15 19:36:50] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:36:53.686986664  [2024-04-15 19:36:53] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-04-15 19:37:10.513252945  [2024-04-15 19:37:10] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-15 19:37:10.513752201  [2024-04-15 19:37:10] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:37:10.514052983  [2024-04-15 19:37:10] ffmpeg.front_window_camera.detect ERROR   : [tcp @ 0x5634d6118440] Connection to tcp://host.docker.internal:1935?tcp_nodelay=0 failed: Connection refused
2024-04-15 19:37:10.514113744  [2024-04-15 19:37:10] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x5634d6117900] Cannot open connection tcp://host.docker.internal:1935?tcp_nodelay=0
2024-04-15 19:37:10.514331689  [2024-04-15 19:37:10] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1935/live/front_window_camera: Connection refused
2024-04-15 19:37:10.516815026  [2024-04-15 19:37:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:37:10.517233922  [2024-04-15 19:37:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:37:10.517734502  [2024-04-15 19:37:10] ffmpeg.doorbell.detect         ERROR   : [tcp @ 0x55f7d8272400] Connection to tcp://host.docker.internal:1935?tcp_nodelay=0 failed: Connection refused
2024-04-15 19:37:10.518033839  [2024-04-15 19:37:10] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x55f7d8271900] Cannot open connection tcp://host.docker.internal:1935?tcp_nodelay=0
2024-04-15 19:37:10.518144947  [2024-04-15 19:37:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Connection refused
2024-04-15 19:37:30.531949445  [2024-04-15 19:37:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:37:30.531955278  [2024-04-15 19:37:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:37:30.533285189  [2024-04-15 19:37:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:37:30.534115022  [2024-04-15 19:37:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:37:40.535250484  [2024-04-15 19:37:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:37:40.535694962  [2024-04-15 19:37:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:37:40.535950611  [2024-04-15 19:37:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:38:00.548832475  [2024-04-15 19:38:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:38:00.548944598  [2024-04-15 19:38:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:38:00.551427470  [2024-04-15 19:38:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:38:00.551900372  [2024-04-15 19:38:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:38:10.552686287  [2024-04-15 19:38:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:38:10.552930227  [2024-04-15 19:38:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:38:10.553101301  [2024-04-15 19:38:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:38:30.566435522  [2024-04-15 19:38:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:38:30.566666018  [2024-04-15 19:38:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:38:30.568037548  [2024-04-15 19:38:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:38:30.568357595  [2024-04-15 19:38:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:38:40.570250752  [2024-04-15 19:38:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:38:40.570431709  [2024-04-15 19:38:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:38:40.570588862  [2024-04-15 19:38:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:39:00.582651062  [2024-04-15 19:39:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:39:00.583074854  [2024-04-15 19:39:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:39:00.584677669  [2024-04-15 19:39:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:39:00.585116850  [2024-04-15 19:39:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:39:10.585843262  [2024-04-15 19:39:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:39:10.586013907  [2024-04-15 19:39:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:39:10.586249237  [2024-04-15 19:39:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:39:30.594861039  [2024-04-15 19:39:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:39:30.595139218  [2024-04-15 19:39:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:39:30.596869174  [2024-04-15 19:39:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:39:30.597316664  [2024-04-15 19:39:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:39:40.599397452  [2024-04-15 19:39:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:39:40.599545282  [2024-04-15 19:39:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:39:40.599732523  [2024-04-15 19:39:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:40:00.613814988  [2024-04-15 19:40:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:40:00.614287960  [2024-04-15 19:40:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:40:00.615392421  [2024-04-15 19:40:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:40:00.615905895  [2024-04-15 19:40:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:40:10.616848196  [2024-04-15 19:40:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:40:10.617088219  [2024-04-15 19:40:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:40:10.617168579  [2024-04-15 19:40:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:40:30.630010350  [2024-04-15 19:40:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:40:30.630543623  [2024-04-15 19:40:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:40:30.632043078  [2024-04-15 19:40:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:40:30.632172876  [2024-04-15 19:40:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:40:40.634409901  [2024-04-15 19:40:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:40:40.634799761  [2024-04-15 19:40:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:40:40.634930239  [2024-04-15 19:40:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:41:00.649409531  [2024-04-15 19:41:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:41:00.649625745  [2024-04-15 19:41:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:41:00.651568588  [2024-04-15 19:41:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:41:00.651785900  [2024-04-15 19:41:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:41:10.654237064  [2024-04-15 19:41:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:41:10.654820039  [2024-04-15 19:41:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:41:10.654834216  [2024-04-15 19:41:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:41:30.669047736  [2024-04-15 19:41:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:41:30.669301126  [2024-04-15 19:41:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:41:30.670787860  [2024-04-15 19:41:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:41:30.671435484  [2024-04-15 19:41:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:41:40.673635246  [2024-04-15 19:41:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:41:40.673645516  [2024-04-15 19:41:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:41:40.673649740  [2024-04-15 19:41:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:42:00.689959935  [2024-04-15 19:42:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:42:00.690339064  [2024-04-15 19:42:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:42:00.692349040  [2024-04-15 19:42:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:42:00.692732989  [2024-04-15 19:42:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:42:10.694295416  [2024-04-15 19:42:10] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:42:10.694606794  [2024-04-15 19:42:10] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:42:10.694852776  [2024-04-15 19:42:10] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:42:30.711835417  [2024-04-15 19:42:30] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:42:30.712052066  [2024-04-15 19:42:30] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:42:30.714038007  [2024-04-15 19:42:30] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:42:30.714203513  [2024-04-15 19:42:30] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-15 19:42:40.716329492  [2024-04-15 19:42:40] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-15 19:42:40.716620308  [2024-04-15 19:42:40] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-15 19:42:40.716731615  [2024-04-15 19:42:40] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1935/live/doorbell: Input/output error
2024-04-15 19:43:00.732841826  [2024-04-15 19:43:00] watchdog.doorbell              INFO    : No frames received from doorbell in 20 seconds. Exiting ffmpeg...
2024-04-15 19:43:00.732846026  [2024-04-15 19:43:00] watchdog.doorbell              INFO    : Waiting for ffmpeg to exit gracefully...
2024-04-15 19:43:00.732966378  [2024-04-15 19:43:00] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-15 19:43:00.733211247  [2024-04-15 19:43:00] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
YpNo commented 7 months ago

Hi,

Could you try to change the nginx port (arlo-streamer side) to 1933 (or other than 1935) ? I think that Frigate is using that port as well. Don't forget to change the port in your frigate's camera configuration as well.

chicknlil commented 7 months ago

I'm not sure I did it right in the docker compose for rtmp-server ... is it 1933:1935?

If so, then this was my logs...


2024-04-16 18:17:41.725686686  [INFO] Preparing Frigate...
2024-04-16 18:17:41.753274716  [INFO] Starting Frigate...
2024-04-16 18:17:43.009498394  [2024-04-16 18:17:43] frigate.app                    INFO    : Starting Frigate (0.13.2-6476f8a)
2024-04-16 18:17:43.017906592  [rtmp @ 0x2e6fb80] Cannot read RTMP handshake response
2024-04-16 18:17:43.018271167  [ERROR:0@0.535] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-04-16 18:17:43.018273967  
2024-04-16 18:17:43.018278157  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtmp://host.docker.internal:1933/live/front_window_camera in function 'icvExtractPattern'
2024-04-16 18:17:43.018279509  
2024-04-16 18:17:43.018280151  
2024-04-16 18:17:43.020710310  [rtmp @ 0x2f3fc40] Cannot read RTMP handshake response
2024-04-16 18:17:43.020817610  [ERROR:0@0.538] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-04-16 18:17:43.020820401  
2024-04-16 18:17:43.020822359  OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtmp://host.docker.internal:1933/live/doorbell in function 'icvExtractPattern'
2024-04-16 18:17:43.020823185  
2024-04-16 18:17:43.020823919  
2024-04-16 18:17:43.042829118  [2024-04-16 18:17:43] peewee_migrate.logs            INFO    : Starting migrations
2024-04-16 18:17:43.047946027  [2024-04-16 18:17:43] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-04-16 18:17:43.051409541  [2024-04-16 18:17:43] frigate.app                    INFO    : Recording process started: 299
2024-04-16 18:17:43.053636377  [2024-04-16 18:17:43] frigate.app                    INFO    : go2rtc process pid: 88
2024-04-16 18:17:43.072145444  [2024-04-16 18:17:43] detector.coral                 INFO    : Starting detection process: 309
2024-04-16 18:17:46.265949665  [2024-04-16 18:17:43] frigate.app                    INFO    : Output process started: 311
2024-04-16 18:17:46.266055291  [2024-04-16 18:17:43] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-04-16 18:17:46.266498264  [2024-04-16 18:17:43] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:17:46.267044850  [2024-04-16 18:17:43] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:17:46.267053249  [2024-04-16 18:17:43] frigate.app                    INFO    : Camera processor started for front_window_camera: 318
2024-04-16 18:17:46.267057515  [2024-04-16 18:17:43] frigate.app                    INFO    : Camera processor started for doorbell: 319
2024-04-16 18:17:46.267306691  [2024-04-16 18:17:43] frigate.app                    INFO    : Capture process started for front_window_camera: 321
2024-04-16 18:17:46.267503802  [2024-04-16 18:17:43] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:17:46.267673034  [2024-04-16 18:17:43] frigate.app                    INFO    : Capture process started for doorbell: 325
2024-04-16 18:17:46.267832052  [2024-04-16 18:17:43] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:17:46.273804405  [2024-04-16 18:17:46] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-04-16 18:18:03.123491424  [2024-04-16 18:18:03] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:03.123501559  [2024-04-16 18:18:03] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:03.123505872  [2024-04-16 18:18:03] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x55ff7e0ae900] Cannot read RTMP handshake response
2024-04-16 18:18:03.123509689  [2024-04-16 18:18:03] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:03.132527195  [2024-04-16 18:18:03] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:03.132540524  [2024-04-16 18:18:03] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:03.132544800  [2024-04-16 18:18:03] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x564b702f0900] Cannot read RTMP handshake response
2024-04-16 18:18:03.132548896  [2024-04-16 18:18:03] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: End of file
2024-04-16 18:18:03.148776838  [2024-04-16 18:18:03] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:03.148785216  [2024-04-16 18:18:03] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:03.148788862  [2024-04-16 18:18:03] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:03.148843787  [2024-04-16 18:18:03] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:13.144533803  [2024-04-16 18:18:13] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:13.144994769  [2024-04-16 18:18:13] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:13.145271071  [2024-04-16 18:18:13] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x55da11609900] Cannot read RTMP handshake response
2024-04-16 18:18:13.145326777  [2024-04-16 18:18:13] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:18:13.153541610  [2024-04-16 18:18:13] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:13.153809535  [2024-04-16 18:18:13] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:13.153816527  [2024-04-16 18:18:13] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x557011134900] Cannot read RTMP handshake response
2024-04-16 18:18:13.154036791  [2024-04-16 18:18:13] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:13.170431042  [2024-04-16 18:18:13] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:13.170616098  [2024-04-16 18:18:13] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:13.170622845  [2024-04-16 18:18:13] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:13.170731193  [2024-04-16 18:18:13] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:23.162330622  [2024-04-16 18:18:23] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:23.170998940  [2024-04-16 18:18:23] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:23.174317451  [2024-04-16 18:18:23] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:23.174327446  [2024-04-16 18:18:23] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x562d44eb4900] Cannot read RTMP handshake response
2024-04-16 18:18:23.174331160  [2024-04-16 18:18:23] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:18:23.174334435  [2024-04-16 18:18:23] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:23.174337696  [2024-04-16 18:18:23] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x564257485900] Cannot read RTMP handshake response
2024-04-16 18:18:23.174343292  [2024-04-16 18:18:23] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:23.193807187  [2024-04-16 18:18:23] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:23.194710191  [2024-04-16 18:18:23] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:23.195993462  [2024-04-16 18:18:23] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:23.196170089  [2024-04-16 18:18:23] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:33.183207326  [2024-04-16 18:18:33] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:33.183555141  [2024-04-16 18:18:33] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:33.184065415  [2024-04-16 18:18:33] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:33.184277247  [2024-04-16 18:18:33] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x559d222b2900] Cannot read RTMP handshake response
2024-04-16 18:18:33.184799336  [2024-04-16 18:18:33] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:33.184944320  [2024-04-16 18:18:33] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:33.191774586  [2024-04-16 18:18:33] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x56224815a900] Cannot read RTMP handshake response
2024-04-16 18:18:33.192564839  [2024-04-16 18:18:33] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:18:33.211406125  [2024-04-16 18:18:33] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:33.211628018  [2024-04-16 18:18:33] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:33.211844227  [2024-04-16 18:18:33] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:33.211914076  [2024-04-16 18:18:33] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:43.203121208  [2024-04-16 18:18:43] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:43.203370822  [2024-04-16 18:18:43] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:43.204031082  [2024-04-16 18:18:43] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:43.204042330  [2024-04-16 18:18:43] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x557e064c5900] Cannot read RTMP handshake response
2024-04-16 18:18:43.204115084  [2024-04-16 18:18:43] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:43.204341811  [2024-04-16 18:18:43] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:43.204684344  [2024-04-16 18:18:43] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x55b0cae46900] Cannot read RTMP handshake response
2024-04-16 18:18:43.204897410  [2024-04-16 18:18:43] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:18:43.226732762  [2024-04-16 18:18:43] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:43.227013886  [2024-04-16 18:18:43] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:43.227164666  [2024-04-16 18:18:43] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:43.227259761  [2024-04-16 18:18:43] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:53.217923770  [2024-04-16 18:18:53] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:18:53.218834604  [2024-04-16 18:18:53] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:53.218978822  [2024-04-16 18:18:53] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x556b29c37900] Cannot read RTMP handshake response
2024-04-16 18:18:53.218981355  [2024-04-16 18:18:53] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:18:53.225233326  [2024-04-16 18:18:53] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:18:53.225238360  [2024-04-16 18:18:53] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:18:53.225239990  [2024-04-16 18:18:53] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x5567cb387900] Cannot read RTMP handshake response
2024-04-16 18:18:53.225241477  [2024-04-16 18:18:53] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:18:53.234325338  [2024-04-16 18:18:53] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:18:53.234329789  [2024-04-16 18:18:53] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:18:53.235371089  [2024-04-16 18:18:53] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:18:53.235618995  [2024-04-16 18:18:53] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:03.228151914  [2024-04-16 18:19:03] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:19:03.228224393  [2024-04-16 18:19:03] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:03.228301206  [2024-04-16 18:19:03] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x5584cf9dc900] Cannot read RTMP handshake response
2024-04-16 18:19:03.228405868  [2024-04-16 18:19:03] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:19:03.234590354  [2024-04-16 18:19:03] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:19:03.235107851  [2024-04-16 18:19:03] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:03.236482323  [2024-04-16 18:19:03] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x561a0a7d4900] Cannot read RTMP handshake response
2024-04-16 18:19:03.236502779  [2024-04-16 18:19:03] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: End of file
2024-04-16 18:19:03.243519532  [2024-04-16 18:19:03] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:19:03.243754704  [2024-04-16 18:19:03] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:03.251406862  [2024-04-16 18:19:03] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:19:03.251502499  [2024-04-16 18:19:03] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:13.239771483  [2024-04-16 18:19:13] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:19:13.240127182  [2024-04-16 18:19:13] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:13.240466275  [2024-04-16 18:19:13] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x55b748093900] Cannot read RTMP handshake response
2024-04-16 18:19:13.240760451  [2024-04-16 18:19:13] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: End of file
2024-04-16 18:19:13.247043969  [2024-04-16 18:19:13] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:19:13.247422889  [2024-04-16 18:19:13] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:13.247873225  [2024-04-16 18:19:13] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x562879c99900] Cannot read RTMP handshake response
2024-04-16 18:19:13.248082434  [2024-04-16 18:19:13] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:19:13.264384658  [2024-04-16 18:19:13] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:19:13.264681788  [2024-04-16 18:19:13] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:13.269614865  [2024-04-16 18:19:13] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:19:13.269807598  [2024-04-16 18:19:13] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:23.257034733  [2024-04-16 18:19:23] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:19:23.257401630  [2024-04-16 18:19:23] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:23.258182450  [2024-04-16 18:19:23] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x55556f2b4900] Cannot read RTMP handshake response
2024-04-16 18:19:23.258192770  [2024-04-16 18:19:23] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:19:23.262533873  [2024-04-16 18:19:23] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:19:23.262672468  [2024-04-16 18:19:23] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:23.262915892  [2024-04-16 18:19:23] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x55e3cb48e900] Cannot read RTMP handshake response
2024-04-16 18:19:23.262934993  [2024-04-16 18:19:23] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:19:23.282784642  [2024-04-16 18:19:23] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:19:23.283038655  [2024-04-16 18:19:23] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:23.287019646  [2024-04-16 18:19:23] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:19:23.287065425  [2024-04-16 18:19:23] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:33.274737287  [2024-04-16 18:19:33] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:19:33.274958562  [2024-04-16 18:19:33] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:33.275232650  [2024-04-16 18:19:33] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x555c86a73900] Cannot read RTMP handshake response
2024-04-16 18:19:33.275441342  [2024-04-16 18:19:33] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:19:33.290557383  [2024-04-16 18:19:33] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:19:33.291182877  [2024-04-16 18:19:33] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:33.291543509  [2024-04-16 18:19:33] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x5613384e8900] Cannot read RTMP handshake response
2024-04-16 18:19:33.291775438  [2024-04-16 18:19:33] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:19:33.305064849  [2024-04-16 18:19:33] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:19:33.305856294  [2024-04-16 18:19:33] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:33.311346601  [2024-04-16 18:19:33] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:19:33.311605097  [2024-04-16 18:19:33] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:43.295547741  [2024-04-16 18:19:43] watchdog.front_window_camera   ERROR   : Ffmpeg process crashed unexpectedly for front_window_camera.
2024-04-16 18:19:43.296103815  [2024-04-16 18:19:43] watchdog.front_window_camera   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:43.296593907  [2024-04-16 18:19:43] ffmpeg.front_window_camera.detect ERROR   : [rtmp @ 0x55ec1249f900] Cannot read RTMP handshake response
2024-04-16 18:19:43.300792523  [2024-04-16 18:19:43] ffmpeg.front_window_camera.detect ERROR   : rtmp://host.docker.internal:1933/live/front_window_camera: Connection reset by peer
2024-04-16 18:19:43.305590965  [2024-04-16 18:19:43] watchdog.doorbell              ERROR   : Ffmpeg process crashed unexpectedly for doorbell.
2024-04-16 18:19:43.305596574  [2024-04-16 18:19:43] watchdog.doorbell              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-04-16 18:19:43.305598137  [2024-04-16 18:19:43] ffmpeg.doorbell.detect         ERROR   : [rtmp @ 0x55e924c05900] Cannot read RTMP handshake response
2024-04-16 18:19:43.305599601  [2024-04-16 18:19:43] ffmpeg.doorbell.detect         ERROR   : rtmp://host.docker.internal:1933/live/doorbell: Connection reset by peer
2024-04-16 18:19:43.316920881  [2024-04-16 18:19:43] frigate.video                  ERROR   : front_window_camera: Unable to read frames from ffmpeg process.
2024-04-16 18:19:43.317670464  [2024-04-16 18:19:43] frigate.video                  ERROR   : front_window_camera: ffmpeg process is not running. exiting capture thread...
2024-04-16 18:19:43.318329101  [2024-04-16 18:19:43] frigate.video                  ERROR   : doorbell: Unable to read frames from ffmpeg process.
2024-04-16 18:19:43.318825735  [2024-04-16 18:19:43] frigate.video                  ERROR   : doorbell: ffmpeg process is not running. exiting capture thread...
YpNo commented 6 months ago

Finally, is arlo-streamer using the most recent release of pyaarlo? Because I know that release (in the last month or so) added support to my doorbell, which arlo-streamer doesn't seem to be seeing.

Normally, yes. The version is not fixed in the requirements.txt. You can try, these kind of command to force your container to be updated

In fact, no. @kaffetorsk have to build new version to get the last version of pyaarlo.

Your main problem is resolved. Please close this issue and open another one if needed.

Thanks.

chicknlil commented 6 months ago

Closing to open new issue re: pyaarlo.