Differences between view=montage and view=watch

Forum for questions and support relating to the 1.29.x releases only.
Locked
KezineTheGoodOne
Posts: 2
Joined: Mon Oct 03, 2016 4:00 pm

Differences between view=montage and view=watch

Post by KezineTheGoodOne »

Hello,

I have zoneminder 1.29.0 running on debian (Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz).
I have 2 fullhd camera (ffmpeg rstp) and one 648x480(JPEG).
When i use the "Montage" view, all 3 camera feeds are smooth, even watched on severals PC at the same time.
But when i switch to the "Monitor" page (index.php?view=watch in the url) the feed is slow an laggy even with a steady 24fps showed below the stream, and even freeze after a while (not in "Montage" view).
Same problem when i watch recorded events.
Same issue when running zoneminder 1.30.0 (ubuntu server) on dual xenon server grade hardware ...

I used this tutorial for the debian instalation https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way

Any idea why ?

Thank's for your time.
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Differences between view=montage and view=watch

Post by bbunge »

Monitor view writes jpg files (a lot of them) to the value of PATH_SWAP which by default uses /tmp which is usually the hard drive. So, if you are streaming at 24 fps the system is writing image files at that same rate to that directory. And at that rate with the size of the images that is quite a load! Switching PATH_SWAP to use tmpfs may help as memory is a whole lot faster than a hard drive but you could run out of RAM.

Solution: lower the resolution and frame rate. We state time and time again that you can use 5 fps for a security camera system. It is also not necessary to have more than 640x480 resolution. Try it and see how much better your system works. I have a very old Axix IP cam that runs along at less than 1 fps @ 352x288 and catches everything that moves in its view!

bb
KezineTheGoodOne
Posts: 2
Joined: Mon Oct 03, 2016 4:00 pm

Re: Differences between view=montage and view=watch

Post by KezineTheGoodOne »

Thanks !
Locked