Features in 1.35.*

Forum for questions and support relating to 1.35.x development only.
User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Features in 1.35.*

Post by iconnor » Mon Sep 07, 2020 3:26 pm

Thought I'd make a sticky about what is actually going on in 1.35 development. This list may or may not be complete. We will update it as we go.

Filters
- Moved event email options from global config to per Filter
- Added user to run filter as, so that users without access to certain monitors can't just use a filter to access them.
- Filters now have PreSQL and PostSQL conditions. The first Post SQL condition is ExistsInFileSystem. This can be used to cleanup after a crash instead of using zmaudit.
- warnings on Filter edit page when you create a filter than can delete archived events.
- Added Auto Unarchive function

UI Updates
- bootstrap updated to version 3
- removed mootools
- events list now uses bootstrap-table to enable a more modern powerful ui
- scaled thumbnail on mouseover on events list
- thumbnails with scaling on console
- frames view updates to include stats information
- many popups turned into modals
- monitor edit is now a full view instead of popup
- Zone edit is now scaled so high res cameras don't take the entire screen or more.
-Added Estimated RAM use to Buffers tab in Monitors.
-Monitor edit no longer form submits/reloads between tabs it just hides/unhides tabs using bootstrap nav.


General
- New Monitor type VNC for recording desktops
- better use of scaling when streaming to reduce bandwidth/cpu use
- dynamic loading of vlc, curl and other libraries that might not be used. Saves ram
- ONVIF probe can now select a network to scan
- Sessions now stored in database
- Clicking on username in header will now list other logged in users if you have SystemView ppermission.
- ZoneMinder will now try other Storage Areas if it can't create the event in the assigned area.
- New Monitor Setting: Decoding Enabled/Disabled
- /dev/shm mmap use decoupled from image buffering. You should set ImageBufferCount to 3 or larger.
- mp4v2 deprecated and removed.
- You may now select mkv instead of mp4 for the video file container
- zma process has been turned into a thread of zmc.
- Added second ffmpeg input stream for when audio is coming from another source.
- added RTSP re-streaming

burger
Posts: 262
Joined: Mon May 11, 2020 4:32 pm

Re: Features in 1.35.*

Post by burger » Mon Sep 07, 2020 6:27 pm

iconnor wrote:
Mon Sep 07, 2020 3:26 pm
- New Monitor type VNC for recording desktops
Judging by the viewcount of this forum thread: viewtopic.php?f=11&t=29033
which was a rough attempt at using ZM for win screen capture (works, but not 100% recommended): This is bound to be a desirable feature.
fastest way to test streams:
ffmpeg -i rtsp://<ipaddress>:554/path output.mp4
from terminal, and run through paths on ispydb or in zm hcl

If you are new to security software, read this:
https://wiki.zoneminder.com/Dummies_Guide

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Wed Sep 09, 2020 7:32 pm

- Zone edit is now scaled so high res cameras don't take the entire screen or more.

dougmccrary
Posts: 165
Joined: Sat Aug 31, 2019 7:35 am

Re: Features in 1.35.*

Post by dougmccrary » Fri Sep 11, 2020 6:24 am

Speaking of filters...
Are the new dropdowns in the system log broken, or is there a trick to them?
I can't get a match for anything.
Also, the log color on the console and montage often disagree.

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Wed Sep 23, 2020 1:48 pm

Added Estimated RAM use to Buffers tab in Monitors.
Monitor edit no longer form submits/reloads between tabs it just hides/unhides tabs using bootstrap nav.

Egon
Posts: 3
Joined: Mon Sep 28, 2020 12:05 pm

Re: Features in 1.35.*

Post by Egon » Mon Sep 28, 2020 12:10 pm

scaled thumbnail on mouseover on events list

Have we control over it? Can I disable scaled thumbnails on mouseover?
It is very difficult to move mouse from right to left and not to touch 480 width thumbnail. As result image resized almost to fullscreen (cam is 1080p)

Thank you!

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Fri Oct 02, 2020 8:18 pm

- Sessions now stored in database
- Clicking on username in header will now list other logged in users if you have SystemView ppermission.

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Fri Nov 27, 2020 8:14 pm

ZoneMinder will now try other Storage Areas if it can't create the event in the assigned area.

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Thu Dec 10, 2020 9:41 pm

Big news. In 1.35.16 I have added a "Decoding Enabled" flag to each monitor. It will only appear when in Record or NoDect mode. When doing passthrough and NOT saving jpegs it will allow the stream to not be decoded, saving a ton of CPU.

This is useful in recording only no live view setups as well as linked camera setups where you do the modect on the low res stream and record on the high res. The high res no longer has to take any CPU.

Have at it.

Styx
Posts: 5
Joined: Sun Dec 27, 2020 3:17 am

Re: Features in 1.35.*

Post by Styx » Sun Dec 27, 2020 3:51 am

iconnor wrote:
Thu Dec 10, 2020 9:41 pm
Big news. In 1.35.16 I have added a "Decoding Enabled" flag to each monitor. It will only appear when in Record or NoDect mode. When doing passthrough and NOT saving jpegs it will allow the stream to not be decoded, saving a ton of CPU.
Thank you very much for this !

I am new to zoneminder, but I discovered a lot in the last few days and tried to reduce the CPU utilization related to a 4K stream @ 15fps.

This was the last piece I needed. In deed I did not understand why zmc was still using close to 50% cpu when I had H264 pass-through enabled, and that's was the reason: it was still decoding the stream.

This makes a huge difference, zmc is now down to 5%.

One question/suggestion for the live view: would it not be possible to directly "forward" the original H264/H265 stream of the camera in the web interface ? directly to the user without decoding it ? After all it's already in a format that most browser can decode, so if somehow zmc could, in addition to storing the stream, also send the stream to the web server so it can directly serve it to the user and thus enable live view ?

User avatar
iconnor
Posts: 1516
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Features in 1.35.*

Post by iconnor » Tue Jan 26, 2021 7:46 pm

I have just merged my zma_to_thread branch to master and bumped the version to 1.35.17.

This is a massive refactor of many parts of ZoneMinder.
To start with I have removed zma and made it a thread of zmc.
I have decoupled the raw image buffers in /dev/shm from the actual packetqueue which needed to be 2*keyframe interval. The packetqueue will grow as necessary to keep track of key frames and pre-event counts. This means that you need to change your ImageBufferCount to a much lower value or ZM will use double the amount of ram than before. At the moment the lowest the UI will let you got is 10, but I'll fix that soon. I think a value of 2 might be ok.

There are likely to be problems. Stay at 1.35.16 if you aren't adventurous!

pdt5774
Posts: 3
Joined: Tue Feb 04, 2020 10:45 pm

Re: Features in 1.35.*

Post by pdt5774 » Tue Feb 09, 2021 2:22 am

I believe Zoneminder has finally outgrown my abiltity to keep up and recommend. v1.35.18 not only broke my system, but a new user's system. New user bailed, I will find a way to recover. ( sigh )

User avatar
knight-of-ni
Posts: 2375
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Features in 1.35.*

Post by knight-of-ni » Tue Feb 09, 2021 3:07 am

pdt5774 wrote:
Tue Feb 09, 2021 2:22 am
I believe Zoneminder has finally outgrown my abiltity to keep up and recommend. v1.35.18 not only broke my system, but a new user's system. New user bailed, I will find a way to recover. ( sigh )
You do know that 1.35.x is the development branch, which comes with guaranteed breakage, right?
Why did you introduce a new user to our development branch, rather than the stable release?!?!?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

pdt5774
Posts: 3
Joined: Tue Feb 04, 2020 10:45 pm

Re: Features in 1.35.*

Post by pdt5774 » Tue Feb 09, 2021 6:57 am

It was a branch that came with "Ubuntu update". Education has it's rewards.

Magic919
Posts: 475
Joined: Wed Sep 18, 2013 6:56 am

Re: Features in 1.35.*

Post by Magic919 » Tue Feb 09, 2021 10:35 am

What about apostrophe education?

FWIW, I run Ubuntu and I'd suggest putting a hold on Zoneminder to separate it from general updates. Just upgrade ZM knowingly when the time is right.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests