[SOLVED] Motion detect and record different streams?

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
pauledd
Posts: 2
Joined: Thu Jul 01, 2021 7:03 am

[SOLVED] Motion detect and record different streams?

Post by pauledd »

Hi

I am quite new to zoneminder.
I've got an IPCamera that can stream simultaneously a 4K stream (@20fps) and an low-res stream (1080p or 720p).

Would it be possible to do motion detection on the low-res stream and if motion happens record the 4K stream?
I ask because it would be maybe more ressource efficient to not have motion detection and live preview running on a 4K stream but
instead use the low-res stream for that.
Last edited by pauledd on Fri Jul 02, 2021 7:13 am, edited 1 time in total.
JasonBorn
Posts: 37
Joined: Fri Jan 08, 2021 5:31 pm

Re: Motion detect and record different streams?

Post by JasonBorn »

yes, you can do this with following settings:

Substream on modect.
Mainstream on nodect and linked monitor to the substream
tsp84
Posts: 227
Joined: Thu Dec 24, 2020 4:04 am

Re: Motion detect and record different streams?

Post by tsp84 »

Yes. Like Jason ourne said. Set the low res monitor to mocord and the high res set to nodect and put the low res monitor in the "Linked" box for the high res monitors "source" options.
pauledd
Posts: 2
Joined: Thu Jul 01, 2021 7:03 am

Re: Motion detect and record different streams? [SOLVED]

Post by pauledd »

Nice, that works :) Thank you

I've set LowRes to Modect and 4K to Nodect and disabled "Decoding Enabled" on the 4K Stream for "camera writer" "passthrough".
User avatar
jlw52761
Posts: 12
Joined: Thu Dec 03, 2020 9:29 pm

Re: [SOLVED] Motion detect and record different streams?

Post by jlw52761 »

So what is the purpose of the SourceSecondPath box in the monitor settings under v1.36.5? The Linked Monitor works, but you loos the analytics of what zone triggered, etc.
ChrisNeedsGoodAdvice
Posts: 6
Joined: Fri Jul 30, 2021 10:03 pm

Re: [SOLVED] Motion detect and record different streams?

Post by ChrisNeedsGoodAdvice »

My Lorex cams offer a main stream and substream. How does ZoneMinder know which is which if there’s only one IP address? Could it be the multicast settings???
User avatar
Andyrh
Posts: 245
Joined: Sat Oct 28, 2017 3:55 am

Re: [SOLVED] Motion detect and record different streams?

Post by Andyrh »

Many cameras use the URL passed to know what to send.
Amcrest -- realmonitor?channel=1&subtype=0
Andy
o||||o

Ubuntu 22.04
ZM 1.36.33
E5-1650-v4 Xeon
16 GB RAM
6 cameras -> 54 FPS modect
Post Reply