Which stream is more efficient?

Add any particular hints or tricks you have found to help with your ZoneMinder experience.
Post Reply
BiloxiGeek
Posts: 240
Joined: Tue Feb 11, 2014 2:04 pm

Which stream is more efficient?

Post by BiloxiGeek » Tue Jan 01, 2019 1:52 pm

I’ve got IP cameras that provide two video streams. One at high def and one at 320x176 or something like that. Currently I’ve got both streams defined in ZM, I do motion detection on the low def stream and link the high def stream to get events in high def.

Anyone compared this type of setup to just ignoring the low def stream and doing motion detection on the high def only? I’m tempted to wipe my install and start from scratch in that setup but was hoping someone had already compared the two and has some insights.

User avatar
zd59
Posts: 98
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: Which stream is more efficient?

Post by zd59 » Thu May 16, 2019 1:01 pm

Hi BiloxiGeek!

I've read your post a few days ago, so my late answer.

I have exact same config as you expecting lower computer load.
So your question finally encouraged me to test that.
option 1. : 3MP stream, nodect linked to VGA stream modect. Alarms recorded: 3MP h264 camera passthrough, VGA analysis images only.
option 2. : only 3MP stream, modect, VGA monitor disabled. Alarms recorded: 3MP h264 camera passthrough.

Testing application: Monitorix - https://www.monitorix.org/

Tested on two consecutive days, almost same conditions (weather..), first day option 1., second day option 2.
kern1z.2day.png
kern1z.2day.png (18 KiB) Viewed 795 times
The result surprised me on a first look - no visible/notable load difference. :o
The second deliberation: ZM do so much, that motion detection on low or high resolution is a small part of a load produced.
option 1. - ZM must handle two streams
option 2. - ZM handles only one stream, the part of a load not to handle low res. stream is moved to motion detection on hi res.
So the result is about the same load of a system on either option. The critical (higher load) are nights, as you can see above.
So to offload, one stream option is better - smaller /dev//shm , events folder and SQL database occupation.

The developers could answer correctly, the above are just my observations and a test results. :)

User avatar
snake
Posts: 188
Joined: Sat May 21, 2016 2:20 am

Re: Which stream is more efficient?

Post by snake » Thu May 16, 2019 1:18 pm

I've found that the best performance is with Nodect, and external motion detection. There is a downside, however, that you have to setup the external motion detection.

In this case, you'd have the 3MP stream, and then Nodect on it.

User avatar
zd59
Posts: 98
Joined: Wed Jan 18, 2017 1:39 pm
Location: EU - Slovenia

Re: Which stream is more efficient?

Post by zd59 » Thu May 16, 2019 1:26 pm

snake wrote:
Thu May 16, 2019 1:18 pm
I've found that the best performance is with Nodect, and external motion detection. There is a downside, however, that you have to setup the external motion detection.

In this case, you'd have the 3MP stream, and then Nodect on it.
Yes that's obvious , but the question was how to deal motion detection with Zoneminder.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest