Linked cameras sometimes not working
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Linked cameras sometimes not working
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
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
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
Re: Linked cameras sometimes not working
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.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
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Linked cameras sometimes not working
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 see in the logs a warning about the dimensions not matching but it doesn't seen to cause any issues...
-
- Posts: 116
- Joined: Wed Mar 11, 2009 8:32 pm
Re: Linked cameras sometimes not working
I did this with my dad's cameras and it's GREAT!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...
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Linked cameras sometimes not working
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
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
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Linked cameras sometimes not working
I'm not seeing that in 1.36.33lightguy48 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
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Linked cameras sometimes not working
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.
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Linked cameras sometimes not working
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
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 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.
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Linked cameras sometimes not working
Thank you, updated to 1.37.47 will try it out.
-
- Posts: 132
- Joined: Tue Dec 09, 2014 10:20 pm
Re: Linked cameras sometimes not working
I'm not seeing an update to 1.36.33.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.
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