samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: FFMPEG always exits with random error #220

Closed jwwtaker closed 3 years ago

jwwtaker commented 3 years ago

What happened?

I have a few issues.

  1. Every time I try to view a video stream inside the home app, the video doesn't load and home bridge has this error "FFmpeg exited with code: 1 and signal: null (Error) Doorbell"
  2. Notifications for doorbell never have the actual live snapshot and just have some really old image associated.

Plugin Version

v1.0.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v14 (Supported)

Operating System

Mac OS X

Relevant log output

[8/27/2021, 3:32:16 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Doorbell
[8/27/2021, 3:32:16 PM] [EufySecurity] FFmpeg exited with code: 1 and signal: null (Error) Doorbell
[8/27/2021, 3:32:16 PM] [EufySecurity] Stopped video stream. Doorbell
[8/27/2021, 3:32:37 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Doorbell
[8/27/2021, 3:32:47 PM] [EufySecurity] FFmpeg exited with code: 0 and signal: null (Error) Doorbell
[8/27/2021, 3:32:47 PM] [EufySecurity] Stopped video stream. Doorbell
github-actions[bot] commented 3 years ago

Did you check this Common Issues pages ?

njuart commented 3 years ago

It is very random, I would say I can get livestream 1 time out of 15 tries. It doesn't depend on network / internet I assume, as the same behavior I can observe both at home (with a good connection) and out of it, outside of the city. Meanwhile connecting and livestream in Eufy app is always stable.

aididhaiqal commented 3 years ago

I am having the same problem, I'm thinking the implementation of FFMPEG here has some sort of problem, this is because when I tried to connect to the rtmp stream directly via VLC, it is working fine.

lenoxys commented 3 years ago

We'll focusing on livestream for the next release 1.1.0. For now, we're focusing only on 1.0.0

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 5 days with no activity.