Skip to content
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

montage sporadic freezes (possibly triggered by unstable RTSP) #894

Closed
dseven opened this issue Jan 28, 2020 · 3 comments
Closed

montage sporadic freezes (possibly triggered by unstable RTSP) #894

dseven opened this issue Jan 28, 2020 · 3 comments
Labels

Comments

@dseven
Copy link

dseven commented Jan 28, 2020

Platform & OS Version

Windows 10 1909

The version of zmNinja you are reporting:

1.3.86

The version and OS of ZoneMinder you are using:

1.32.3, Ubuntu Xenial

Device details:

PC

What is the nature of your issue

Bug

Details

I have two monitors (Wyze V2 cams running Xiomi Dafang Hacks firmware) providing RTSP streams, which may not be 100% reliable. I have zmNinja on my Windows 10 desktop, showing the montage with the two monitors. Fairly often (on a daily basis), I find that one or both of the monitors in the montage has either frozen (with a full frame or a partial frame (bottom part all black)) or replaced with a broken image icon. Reloading the montage brings it back to life. It seems that these freezes correspond to termination of zma or/and zms processes on the server.

zmNinja Debug Logs

n/a

Zoneminder Logs

On this occasion, only one monitor froze:

Jan 28 11:33:33 d5db771f2fac zmwatch[14787]: INF [Restarting capture daemon for Front Yard, time since last capture 13 seconds (1580240013-1580240000)]       Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zma -m 2' sending stop to pid 22596 at 20/01/28 11:33:33]
Jan 28 11:33:33 d5db771f2fac zma_m2[22596]: INF [zma_m2] [Got signal 15 (Terminated), exiting]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zma -m 2' exited normally]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zmc -m 2' sending stop to pid 22583 at 20/01/28 11:33:33]
Jan 28 11:33:33 d5db771f2fac zmc_m2[22583]: INF [zmc_m2] [Got signal 15 (Terminated), exiting]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zmc -m 2' exited normally]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zma -m 2' starting at 20/01/28 11:33:33, pid = 22734]
Jan 28 11:33:33 d5db771f2fac zmdc[22734]: INF ['zma -m 2' started at 20/01/28 11:33:33]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF [Starting pending process, zmc -m 2]
Jan 28 11:33:33 d5db771f2fac zmdc[14735]: INF ['zmc -m 2' starting at 20/01/28 11:33:33, pid = 22735]
Jan 28 11:33:33 d5db771f2fac zmdc[22735]: INF ['zmc -m 2' started at 20/01/28 11:33:33]
Jan 28 11:33:34 d5db771f2fac zmc_m2[22735]: INF [zmc_m2] [Starting Capture version 1.32.3]
Jan 28 11:33:34 d5db771f2fac zmc_m2[22735]: INF [zmc_m2] [Priming capture from rtsp://xxx:[email protected]:8554/unicast]
Jan 28 11:33:34 d5db771f2fac zmc_m2[22735]: INF [zmc_m2] [Stream open rtsp://xxx:[email protected]:8554/unicast, parsing streams...]

On this occasion, both monitors were presented broken image icons:

Jan 28 12:05:59 d5db771f2fac zms_m2[22974]: INF [zms_m2] [Got signal 15 (Terminated), exiting]
Jan 28 12:05:59 d5db771f2fac zms_m1[22975]: INF [zms_m1] [Got signal 15 (Terminated), exiting]
Jan 28 12:06:00 d5db771f2fac zma_m1[22452]: INF [zma_m1] [Front Door: 68100 - Analysing at 20.00 fps]
Jan 28 12:06:01 d5db771f2fac zmc_m2[22735]: INF [zmc_m2] [Front Yard: images:38900 - Capturing at 20.00 fps, capturing bandwidth 180755bytes/sec]
Jan 28 12:06:01 d5db771f2fac zmc_m1[22453]: INF [zmc_m1] [Front Door: images:72500 - Capturing at 20.00 fps, capturing bandwidth 164871bytes/sec]
Jan 28 12:06:02 d5db771f2fac zms_m2[22953]: INF [zms_m2] [Got signal 15 (Terminated), exiting]
Jan 28 12:06:02 d5db771f2fac zms_m1[22723]: INF [zms_m1] [Got signal 15 (Terminated), exiting]
Jan 28 12:06:04 d5db771f2fac zma_m2[22736]: INF [zma_m2] [Front Yard: 36600 - Analysing at 20.00 fps]
Jan 28 12:06:05 d5db771f2fac zma_m1[22452]: INF [zma_m1] [Front Door: 68200 - Analysing at 20.00 fps]
Jan 28 12:06:06 d5db771f2fac zmc_m2[22735]: INF [zmc_m2] [Front Yard: images:39000 - Capturing at 20.00 fps, capturing bandwidth 185040bytes/sec]
Jan 28 12:06:06 d5db771f2fac zmc_m1[22453]: INF [zmc_m1] [Front Door: images:72600 - Capturing at 20.00 fps, capturing bandwidth 164766bytes/sec]

Web Server Error Logs

n/a

@welcome
Copy link

welcome bot commented Jan 28, 2020

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you follow the issue template or I may not respond.

@pliablepixels
Copy link
Member

pliablepixels commented Jan 28, 2020

Image callback errors are not called when we are streaming. Investigate CMD_QUERY
https://url?view=request&request=stream&connkey=CCCCC&TOKEN/AUTH&command=99

@pliablepixels
Copy link
Member

Closing as I believe this is resolved. Will be part of next release.

Simpler1 pushed a commit to Simpler1/zmNinja that referenced this issue Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants