Linked cameras sometimes not working

Discussions related to the 1.36.x series of ZoneMinder
geraldbrandt
Posts: 132
Joined: Tue Dec 09, 2014 10:20 pm

Re: Linked cameras sometimes not working

Post 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
jsylvia007
Posts: 116
Joined: Wed Mar 11, 2009 8:32 pm

Re: Linked cameras sometimes not working

Post 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.
lightguy48
Posts: 110
Joined: Sun Nov 15, 2015 7:19 pm

Re: Linked cameras sometimes not working

Post 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...
jsylvia007
Posts: 116
Joined: Wed Mar 11, 2009 8:32 pm

Re: Linked cameras sometimes not working

Post 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!
lightguy48
Posts: 110
Joined: Sun Nov 15, 2015 7:19 pm

Re: Linked cameras sometimes not working

Post 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
geraldbrandt
Posts: 132
Joined: Tue Dec 09, 2014 10:20 pm

Re: Linked cameras sometimes not working

Post 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
lightguy48
Posts: 110
Joined: Sun Nov 15, 2015 7:19 pm

Re: Linked cameras sometimes not working

Post 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.
lightguy48
Posts: 110
Joined: Sun Nov 15, 2015 7:19 pm

Re: Linked cameras sometimes not working

Post 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
User avatar
iconnor
Posts: 3198
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Linked cameras sometimes not working

Post 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.
lightguy48
Posts: 110
Joined: Sun Nov 15, 2015 7:19 pm

Re: Linked cameras sometimes not working

Post by lightguy48 »

Thank you, updated to 1.37.47 will try it out.
geraldbrandt
Posts: 132
Joined: Tue Dec 09, 2014 10:20 pm

Re: Linked cameras sometimes not working

Post 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.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Linked cameras sometimes not working

Post by Magic919 »

It’s a feature that’s just in 1.37, not 1.36.
-
Post Reply