Doesn't work with Ubuntu Bionic 18.04

Forum for questions and support relating to the 1.30.x releases only.
johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Sun Oct 21, 2018 6:28 am

Camera shows image using VLC with 'Open Network Stream' of rtsp://192.168.101.51:554/onvif2. However, no Events occur in ZM Console 1.30 on Ubuntu Bionic Desktop using same source whether I use ffmpeg or libvlc as Source. I've tried purging zm (using apt) and installing using https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Sun Oct 21, 2018 1:07 pm

Two common errors with 1.30.4
PATH_ZMS is not set to /zm/cgi-bin/nph-zms
Camera resolution in Zoneminder does not match camera output. Use VLC (Tools, Media Information, Codec) to check camera Display Resolution.

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Sun Oct 21, 2018 6:58 pm

PATH_ZMS is not set to /zm/cgi-bin/nph-zms

VLC (Tools, Codec) says that Video Camera Resolution is 320 x 192. I've already tried that in ZoneMInder without success. I've also tried 320 x 240 as that would give 4:3 Aspect Ratio.
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Sun Oct 21, 2018 8:24 pm

johnaaronrose wrote:
Sun Oct 21, 2018 6:58 pm
PATH_ZMS is not set to /zm/cgi-bin/nph-zms

VLC (Tools, Codec) says that Video Camera Resolution is 320 x 192. I've already tried that in ZoneMInder without success. I've also tried 320 x 240 as that would give 4:3 Aspect Ratio.
If you do not change the path you willnot see vidwo. Simple as that! I have a 17 camera Zoneminder 1.30.4 on Bionic that runs great!

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Mon Oct 22, 2018 8:13 am

I made a typo about the Path. It was already set correctly.
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Mon Oct 22, 2018 6:40 pm

Use the path you used for VLC with Zm ffmpeg and the VLC reported resolution.

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Mon Oct 22, 2018 8:00 pm

I did use the path you used for VLC with Zm ffmpeg and the VLC reported resolution.
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Mon Oct 22, 2018 10:49 pm

If your camera asked for a user/password when you used VLC you have to add that to the source string.

B.T.W. you have not mentioned the make/model of camera!

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Tue Oct 23, 2018 6:31 am

Camera did not ask for user/password when using vlc. Camera is Floureon SP012.
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Fri Oct 26, 2018 1:47 am


johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Fri Oct 26, 2018 4:54 pm

I've looked at above and used user:password in rtsp 'command' but didn't help. Perhaps this could be due to FPS problem:
'sudo service zoneminder status' gives:
Oct 26 17:42:30 Laptop zmc_m1[15138]: ERR [Can't run query: Unknown column 'AnalysisFPS' in 'field list']
I've tried 'sudo service zoneminder restart' but doesn't helpI've tried setting the Analysis FPS to 1.00 and 1 but with blank Analysis FPS & Alarm FPS, it shows the Source (i.e. ip address) in ZM Console as red. No events occur . This is with ZM 1.30 & Ubuntu Bionic.
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Sat Oct 27, 2018 9:28 pm

Here are some settings for a public camera. Use this to prove that your Zoneminder works and that you need to figure out the settings for your cameras.
Spain Camera.jpg
Spain Camera.jpg (49.19 KiB) Viewed 1559 times

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Sun Oct 28, 2018 10:10 am

On ZM Console, Source is shown in red and Events is 0. I've attached 3 screenshots after setting up your public camera in ZM: Console, General tab & Source tab.
Attachments
zmTestSourceScreenshot.png
zmTestSourceScreenshot.png (51 KiB) Viewed 1527 times
zmTestGeneralScreenshot.png
zmTestGeneralScreenshot.png (51.22 KiB) Viewed 1527 times
zmConsoleScreenshot.png
zmConsoleScreenshot.png (81.49 KiB) Viewed 1527 times
John

bbunge
Posts: 2405
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Doesn't work with Ubuntu Bionic 18.04

Post by bbunge » Sun Oct 28, 2018 12:49 pm

That camera does work. Capture from this morning 28OCT

Try using Firefox. Chrome/Chromium may have issues with video
Attachments
Spain_Cam.jpg
Spain_Cam.jpg (66.25 KiB) Viewed 1513 times

johnaaronrose
Posts: 44
Joined: Tue Feb 27, 2018 9:27 am

Re: Doesn't work with Ubuntu Bionic 18.04

Post by johnaaronrose » Mon Oct 29, 2018 9:02 am

Same problem with Firefox. Screenshot of ZM Console attached. I noticed that the Floureon SP012 monitor is shown as Linked Monitor (both with Chromium 70.0 & Firefox 63.0 i.e. both up to date versions provided by Ubuntu Bionic). Is that significant? I've also attached a Systems Monitor screenshot (with Chromium, Firefox & Thunderbird running). System is using Virtual Memory. Is that significant to the problem? I'd like for ZM to only process & store 1 image per second, rather than Floureon SP012 camera's spec of 60 fps. Any ideas on how to do that? ZM documentation was not helpful on that.
Attachments
SystemsMonitorScreenshot.png
SystemsMonitorScreenshot.png (74.23 KiB) Viewed 1488 times
zmConsoleFirefox.png
zmConsoleFirefox.png (66.02 KiB) Viewed 1488 times
John

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests