Page 1 of 1

[SOLVED] HD camera and Zoneminder web UI problem

Posted: Fri Nov 25, 2016 10:00 am
by uuhi
Hello

I added one HD camera to our existing system and I noticed that I cannot get still images from events of that HD camera. Also there is no progress bar underneath of the screen when watching HD cam events nor event number does dot update. However, those functions does work correctly with older cameras that has resolution set to 1280 x 1024 or if I set new camera's resolution to 1280 x 720. I'm using modect for all cameras and everything else works just fine.

My hardware is:
processor: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
memory: 4 Gb ram DDR3
mobo: ASUSTeK P8B75-V
server: 14.04.1-Ubuntu
Zoneminder: v1.30.0
1 pcs HD camera 1920 x 1080 fps = 5
3 pcs 1280 x 1024 cameras fps = 10


I thought that it would be performance issue but for 4 core processor load has never been a lot more than 2.2. Normally load is somewhere between 1 and 2 with this configuration. I understood that if load in my case start to go more than 4 then I have too much load (?).

Can some one tell me if there is cure for these small annoyancies?

Thank you,
Henry

Re: HD camera and Zoneminder web UI problem

Posted: Fri Nov 25, 2016 1:37 pm
by iconnor
Sounds more like an out of memory problem to me. 4GB is not very much.

Remember every increase in resolution is 4x the amount of ram used so it ramps up quick.

Re: HD camera and Zoneminder web UI problem

Posted: Mon Nov 28, 2016 7:10 am
by uuhi
Thanks for your answer

Too little memory indeed might be a problem. In htop I can see that swap has been used sometimes. I'll need to arrange some more memory...

Regards

Henry

Re: HD camera and Zoneminder web UI problem

Posted: Fri Jan 27, 2017 8:47 am
by uuhi
Hello

It took incredible 9 weeks to receive memory modules that are 100% compatible with my hardware. Now I do have 10 Gb of RAM but unfortunately it did not help to the problem of incomplete web-UI. Any ideas what might be wrong with my configuration, I'm totally clueless.

Best regards, Henry

Re: HD camera and Zoneminder web UI problem

Posted: Fri Jan 27, 2017 9:51 am
by uuhi
Some more info...

I checked syslog and noticed that when watching HD cam events error like this appears:

Code: Select all

web_php[2597]: FAT [Unable to decode JSON string 'array (#012  'result' => 'Ok',#012  'event' => #012  array (#012    'Id' => '154062',#012    'MonitorId' => '7',#012    'Name' => 'Event-154062',#012    'Cause' => 'Motion',#012    'StartTime' => '2017-01-27 10:18:25',#012    'StartTimeShort' => '17/01/27 10:18:25',#012    'EndTime' => '2017-01-27 10:18:51',#012    'Width' => '1920',#012    'Height' => '1080',#012    'Length' => '25.46',#012    'Frames' => '180',#012    'AlarmFrames' => '28',#012    'TotScore' => '28',#012    'AvgScore' => '1',#012    'MaxScore' => '1',#012    'Archived' => '0',#012    'Videoed' => '0',#012    'Uploaded' => '0',#012    'Emailed' => '0',#012    'Messaged' => '0',#012    'Executed' => '0',#012    'Notes' => 'Motion: Sis�piha',#012    'MinFrameId' => '1',#012    'MaxFrameId' => '180',#012    'MinFrameDelta' => '0.00',#012    'MaxFrameDelta' => '25.46',#012  ),#012)', unexpected error 5]
This only appears with HD camera (1920 × 1080).

Henry

Re: HD camera and Zoneminder web UI problem

Posted: Fri Jan 27, 2017 9:55 am
by Sigge
Might it be the character in notes? "�"

I had some trouble inserting different charset for show text. Removing any non US chars resolved that problem.

Re: HD camera and Zoneminder web UI problem

Posted: Fri Jan 27, 2017 11:20 am
by uuhi
Thanks Sigge!

That it was. I renamed zone to US letters only and new events now work just like they should.

Thank you once again.

Henry