Setting up Sub Streams as event trigger

Current Development version likely to have breaking changes
Post Reply
adam.robertson
Posts: 6
Joined: Tue Mar 25, 2025 2:19 pm

Setting up Sub Streams as event trigger

Post by adam.robertson »

Can anyone describe how to setup SubStreams as a trigger for a higher resolution stream?

I have found plenty of write-ups for older versions, but they all say "Set the sub stream to MoDect and the high resolution stream to NoDect" ...which is great, but those settings are not available in 1.37, or they are but have changed how they are described.

I am running 1.37 on Debian Bookworm. I have a server. Everything seems stable, but I have not had much luck getting a substream to trigger recording consistently (it works sort of, but then stops or fails to trigger an event)
geraldbrandt
Posts: 134
Joined: Tue Dec 09, 2014 10:20 pm

Re: Setting up Sub Streams as event trigger

Post by geraldbrandt »

I found linked monitors to be too flakey to use.

Instead, I connect to the hires stream, tell Zoneminder it's 640x400, and when a recording happens, use passthrough. The end result is lower load on the system, low resolution live and montage viewing, and high resolution captures. No the best, but it works.
adam.robertson
Posts: 6
Joined: Tue Mar 25, 2025 2:19 pm

Post by adam.robertson »

123
Last edited by adam.robertson on Mon Mar 31, 2025 11:32 am, edited 2 times in total.
adam.robertson
Posts: 6
Joined: Tue Mar 25, 2025 2:19 pm

Re: Setting up Sub Streams as event trigger

Post by adam.robertson »

geraldbrandt wrote: Sat Mar 29, 2025 1:47 pm I found linked monitors to be too flakey to use.

Instead, I connect to the hires stream, tell Zoneminder it's 640x400, and when a recording happens, use passthrough. The end result is lower load on the system, low resolution live and montage viewing, and high resolution captures. No the best, but it works.
Ok. I am going to give your method a try, since I am having a heck-of-a-time getting linked monitors to work. They seem to work fine on initial setup, but stop working an hour or so later.

Here is what I am trying now:
  • set up a new monitor using the high-res stream of a camera
  • instead of giving the correct resolution of that camera, tell ZM it is 640x400 or some other low resolution (I am using 704x396 to match the aspect ratio of the camera...which is running at 2304x1296)
  • set analysis to always
  • set recording to On Motion/Trigger and VideoWriter to Camera Passthrough
geraldbrandt
Posts: 134
Joined: Tue Dec 09, 2014 10:20 pm

Re: Setting up Sub Streams as event trigger

Post by geraldbrandt »

adam.robertson wrote: Sun Mar 30, 2025 10:49 pm
geraldbrandt wrote: Sat Mar 29, 2025 1:47 pm I found linked monitors to be too flakey to use.

Instead, I connect to the hires stream, tell Zoneminder it's 640x400, and when a recording happens, use passthrough. The end result is lower load on the system, low resolution live and montage viewing, and high resolution captures. No the best, but it works.
Ok. I am going to give your method a try, since I am having a heck-of-a-time getting linked monitors to work. They seem to work fine on initial setup, but stop working an hour or so later.

Here is what I am trying now:
  • set up a new monitor using the high-res stream of a camera
  • instead of giving the correct resolution of that camera, tell ZM it is 640x400 or some other low resolution (I am using 704x396 to match the aspect ratio of the camera...which is running at 2304x1296)
  • set analysis to always
  • set recording to On Motion/Trigger and VideoWriter to Camera Passthrough
I don't care about aspect ratio, since I prefer my montage view to be nice looking. Aspect ratio is -- of course -- fine on passthrough.

I have seven hires (2K or greater) cameras working this way.
adam.robertson
Posts: 6
Joined: Tue Mar 25, 2025 2:19 pm

Re: Setting up Sub Streams as event trigger

Post by adam.robertson »

I can confirm that this method works fine, and seems like an elegant solution as opposed to using linked low-res substreams as triggers.

I double-checked the videos it was saving ( the web interface was telling me the footage was the lower-res 704x396 , but opening the file and viewing in VLC shows it at the higher resolution that the camera is running at.

Thanks @geraldbrandt
Post Reply