Page 2 of 2
Re: Linked cameras sometimes not working
Posted: Sat Nov 11, 2023 4:38 pm
by geraldbrandt
I no longer used linked monitors... they were too flakey.
What I do now is I monitor the high res stream, but I tell Zoneminder it's low res. So, my camera is 1080P or more, in the Source settings I tell Zoneminder it's 640x360. Zoneminder automatically resizes and does detection on the low res image, which saves a ton of CPU. I then set Storage settings to camera passthrough (another huge savings in CPU).
So detection and montage/live view are all on the 640x360 image, but any saved events are at full resolution.
This gives me excellent CPU usage, and excellent quality saved events.
Gerald
Re: Linked cameras sometimes not working
Posted: Sat Nov 11, 2023 4:43 pm
by jsylvia007
geraldbrandt wrote: ↑Sat Nov 11, 2023 4:38 pm
I no longer used linked monitors... they were too flakey.
What I do now is I monitor the high res stream, but I tell Zoneminder it's low res. So, my camera is 1080P or more, in the Source settings I tell Zoneminder it's 640x360. Zoneminder automatically resizes and does detection on the low res image, which saves a ton of CPU. I then set Storage settings to camera passthrough (another huge savings in CPU).
So detection and montage/live view are all on the 640x360 image, but any saved events are at full resolution.
This gives me excellent CPU usage, and excellent quality saved events.
Gerald
I never even thought of something like this... wow... I'm going to try it on my dad's setup. I'm actually, after almost 20 years, moving on to a Unifi setup. It will be somewhat bittersweet, but you just can't beat the ecosystem. It's amazing.
Re: Linked cameras sometimes not working
Posted: Sat Nov 11, 2023 9:40 pm
by lightguy48
Wow, I had never thought of that before, testing it now and it seems like a great solution!
I see in the logs a warning about the dimensions not matching but it doesn't seen to cause any issues...
Re: Linked cameras sometimes not working
Posted: Sat Nov 11, 2023 9:53 pm
by jsylvia007
lightguy48 wrote: ↑Sat Nov 11, 2023 9:40 pm
Wow, I had never thought of that before, testing it now and it seems like a great solution!
I see in the logs a warning about the dimensions not matching but it doesn't seen to cause any issues...
I did this with my dad's cameras and it's GREAT!
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 5:24 am
by lightguy48
So one thing I've noticed, I'm getting a ton of these warnings now:
11/11/23, 11:21:31 PM CST zmc_m7 184886 WAR pkt.dts(18552600) must be <= pkt.pts(18544230).Decompression must happen before presentation. zm_videostore.cpp 1409
11/11/23, 11:21:31 PM CST zmc_m7 184886 WAR non increasing dts, fixing. our dts 18544230 stream 0 last_dts 18552600. reorder_queue_size=0 zm_videostore.cpp 1398
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 3:37 pm
by geraldbrandt
lightguy48 wrote: ↑Sun Nov 12, 2023 5:24 am
So one thing I've noticed, I'm getting a ton of these warnings now:
11/11/23, 11:21:31 PM CST zmc_m7 184886 WAR pkt.dts(18552600) must be <= pkt.pts(18544230).Decompression must happen before presentation. zm_videostore.cpp 1409
11/11/23, 11:21:31 PM CST zmc_m7 184886 WAR non increasing dts, fixing. our dts 18544230 stream 0 last_dts 18552600. reorder_queue_size=0 zm_videostore.cpp 1398
I'm not seeing that in 1.36.33
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 4:03 pm
by lightguy48
geraldbrandt wrote: ↑Sun Nov 12, 2023 3:37 pm
I'm not seeing that in 1.36.33
I'm on 1.36.33 too and it's doing it on all of my cameras now that've scaled down the image size to something smaller than what the camera is actually sending. I will try to figure out what it means.
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 4:18 pm
by lightguy48
geraldbrandt wrote: ↑Sun Nov 12, 2023 3:37 pm
I'm not seeing that in 1.36.33
So I think it may have been my H.264 audio stream encoding... will watch the log to see if they're permanently gone
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 10:05 pm
by iconnor
Please update. Current version should not complain about mismatch and should also auto-detect the reorder queue size.
I'm working on a separate setting for live view size vs motion detection size so that you can still have full res live view. Should free up even more ram/cpu.
Re: Linked cameras sometimes not working
Posted: Sun Nov 12, 2023 11:17 pm
by lightguy48
Thank you, updated to 1.37.47 will try it out.
Re: Linked cameras sometimes not working
Posted: Mon Nov 13, 2023 3:53 pm
by geraldbrandt
iconnor wrote: ↑Sun Nov 12, 2023 10:05 pm
Please update. Current version should not complain about mismatch and should also auto-detect the reorder queue size.
I'm working on a separate setting for live view size vs motion detection size so that you can still have full res live view. Should free up even more ram/cpu.
I'm not seeing an update to 1.36.33.
Code: Select all
root@zoneminder:/etc/apt/sources.list.d# cat iconnor-ubuntu-zoneminder-1_36-jammy.list
deb https://ppa.launchpadcontent.net/iconnor/zoneminder-1.36/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/iconnor/zoneminder-1.36/ubuntu/ jammy main
I had issues upgrading to 1.37, but that was a while back.
Re: Linked cameras sometimes not working
Posted: Mon Nov 13, 2023 5:53 pm
by Magic919
It’s a feature that’s just in 1.37, not 1.36.