-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doorbird hangs itself up after a few hours #1480
Comments
I am seeing a similar behavior and it's maddening. Were you able to find any solutions? |
Additional input for whoever can interpret this :-) linux x64 #69057 SMP Fri Jan 12 17:02:28 CST 2024 Input #0, lavfi, from 'anullsrc=r=8000:cl=mono': |
@slyoldfox I think maintains this plugin? |
@koush doorbird? no, just a bit of |
Observing the same behavior with two different doorbirds running the 142 firmware :) |
@nanosonde is the plugin developer. I think there were some rebroadcast changes a month ago but that's it. |
someone try rebroadcast version 0.10.17 |
Installed it and will observe now for 1-2 days |
Same - so far, it works since 10h :) |
same here, has been working for 16 hours now on 0.10.17 |
Same here, up and running now for >24h |
Down again unfortunately :( I‘ll check the logs later and post them. |
The change in 17 was a periodic restart that was removed. I think this has always been an issue, but was just masked due to that restart. |
Just figured that the plugin got updated to 18 via autoupdate again xD From what I can tell, it's working fine with 17 :) |
Hi! It might be that the doorbird closes the stream after some fixed time as well. Also using the doorbird apps might cause this. I am not using scrypted anymore as I have moved to frigate+HAOS and the native doorbird apps. So sorry to say that I won‘t work on this anymore as I do not have any spare time for it. |
Doesn't frigate also keep the stream open on door bird? Or are you not recording the doorbird? The easiest fix here may be to simply disable pre buffering on door bird by default, and I can do that myself. Setting the video stream metadata as a "cloud" or "battery" camera will accommodate this need. |
@koush As far as I remember while implementing the doorbird plugin, I had an issue with audio streaming as described here: How does the doorbird plugin work in general? The problem I had once was that the HTTP audio receiver stopped receiving audio packets for whatever reason (mayb the issue that is decribed here?). If this happens, the ffmpeg instance does not die, but instead stops outputing the combined A+V streams although the received doorbird video stream is still fine. Maybe you could check the logs of this FFMPEG instance for HTTP audio RX to see if it is still alive and receiving/outputing audio frames. So just to sum it up for the doorbird plugin: we have four ffmpeg instances running:
If 2) does not receive any audio data anymore via HTTP, then 4) stops processing and does not output anything. -> No video, no audio. This is probably the issue you experience here. Possible solution would be to add make audio RX via HTTP for 2) more robust and either restart it or just fallback to silence from silence generator. Please note also that the doorbird API clearly states that any Doorbird APP would have priority over the API stuff. |
Just as an fyi, it has been working for four days straight now :) |
Thank you everyone for investigating this! As an aside, what are some of the functional differences between the ONVIF plugin and the DoorBird-specific plugin? I ended up switching to ONVIF plugin as a test and it appears to be functioning smoothly. |
The doorbird ONVIF does not support two-way audio as it does not support ONVIF profile-T with RTSP audio backchannel support. |
Same here! Up and running since I reverted to the previous version |
Has the Doorbird connection also stopped working for someone else? All of a sudden, the stream is not working for me at all |
[WebRTC Plugin]: signalingState have-remote-offer |
I tired above "solutions" but still issues with the doorbird plugin, the stream just stops working after couple of hours and it's not reliable at the moment |
I run a Doorbird camera since 2 years without problems via Scrypted and HKSV, but since 2 weeks the camera stops responding in HK after a few hours. It can be resolved through reloading the plugin in Scrypted. Is this related to the other open ticket on a similar issue or a new one? (see camera console output attached)
Just weird that it worked flawlessly for 2 years before this.
Many thanks!
5/22/2024, 6:42:31 AM
########################
[Rebroadcast Plugin]: sending prebuffer 6000
[Rebroadcast Plugin]: Unable to find sync frame in rtsp prebuffer.
[Snapshot Plugin]: Snapshot failed Error: ffmpeg input to image conversion failed with exit code: 234, /server/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-x64 -hide_banner -err_detect aggressive -fflags discardcorrupt -y -analyzeduration 0 -probesize 500000 -reorder_queue_size 0 -rtsp_transport tcp -f rtsp -i rtsp://127.0.0.1:40526/dee70aba8814eda8/22 -frames:v 1 -f image2 pipe:3
[Snapshot Plugin]: at /src/ffmpeg-image-filter.ts:177:23
[Snapshot Plugin]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
[Snapshot Plugin]: creating error image with background Snapshot Failed true
[Rebroadcast Plugin]: sending prebuffer 6000
[Rebroadcast Plugin]: Unable to find sync frame in rtsp prebuffer.
[Snapshot Plugin]: Snapshot failed Error: ffmpeg input to image conversion failed with exit code: 234, /server/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-x64 -hide_banner -err_detect aggressive -fflags discardcorrupt -y -analyzeduration 0 -probesize 500000 -reorder_queue_size 0 -rtsp_transport tcp -f rtsp -i rtsp://127.0.0.1:44310/22269e2f4ff0bb1b/22 -frames:v 1 -f image2 pipe:3
[Snapshot Plugin]: at /src/ffmpeg-image-filter.ts:177:23
[Snapshot Plugin]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
[Snapshot Plugin]: creating error image with background Snapshot Failed true
[HomeKit]: snapshot error RPCResultError: ffmpeg input to image conversion failed with exit code: 8, /server/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-x64 -hide_banner -y -f image2pipe -i pipe:4 -filter_complex eq=brightness=-0.2[snapshotBlur] ; [snapshotBlur] gblur=sigma=25[snapshotText] ; [snapshotText] drawtext=fontfile=/server/volume/plugins/@scrypted/snapshot/zip/unzipped/fs/Lato-Bold.ttf:text='Snapshot Failed':fontcolor=white:fontsize=h/8:x=(w-text_w)/2:y=(h-text_h)/2 -frames:v 1 -f image2 pipe:3
[HomeKit]: at /src/ffmpeg-image-filter.ts:177:23
[HomeKit]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
[HomeKit]: @scrypted/snapshot:host
[HomeKit]: host:@scrypted/homekit {
[HomeKit]: cause: undefined
[HomeKit]: }
[Rebroadcast Plugin]: sending prebuffer 6000
[Rebroadcast Plugin]: Unable to find sync frame in rtsp prebuffer.
[Snapshot Plugin]: Snapshot failed Error: ffmpeg input to image conversion failed with exit code: 234, /server/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-x64 -hide_banner -err_detect aggressive -fflags discardcorrupt -y -analyzeduration 0 -probesize 500000 -reorder_queue_size 0 -rtsp_transport tcp -f rtsp -i rtsp://127.0.0.1:40420/f00f034cc83d5572/22 -frames:v 1 -f image2 pipe:3
[Snapshot Plugin]: at /src/ffmpeg-image-filter.ts:177:23
[Snapshot Plugin]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
[Snapshot Plugin]: creating error image with background Snapshot Failed true
[HomeKit]: snapshot error RPCResultError: ffmpeg input to image conversion failed with exit code: 8, /server/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-x64 -hide_banner -y -f image2pipe -i pipe:4 -filter_complex eq=brightness=-0.2[snapshotBlur] ; [snapshotBlur] gblur=sigma=25[snapshotText] ; [snapshotText] drawtext=fontfile=/server/volume/plugins/@scrypted/snapshot/zip/unzipped/fs/Lato-Bold.ttf:text='Snapshot Failed':fontcolor=white:fontsize=h/8:x=(w-text_w)/2:y=(h-text_h)/2 -frames:v 1 -f image2 pipe:3
[HomeKit]: at /src/ffmpeg-image-filter.ts:177:23
[HomeKit]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
[HomeKit]: @scrypted/snapshot:host
[HomeKit]: host:@scrypted/homekit {
[HomeKit]: cause: undefined
[HomeKit]: }
The text was updated successfully, but these errors were encountered: