Can't see Revotech I6032W P Monitor

Forum for questions and support relating to the 1.30.x releases only.
Locked
linuxking
Posts: 2
Joined: Thu Feb 15, 2018 2:44 am

Can't see Revotech I6032W P Monitor

Post by linuxking »

OS: Ubuntu 16.04
Camera: Revotech I6032W P
ZoneMinder: v1.30.4

Problem: I can't see my camera when I click on Monitor.

I'm setting up ZoneMinder for the first time. I initially used the WIndows CD provided to set the settings in my camera provided from the information I got at: https://wiki.zoneminder.com/Revotech_I6032W_P

From the default configuration, only the following changes were made:

Main profile frame rate dropped to 10fps and resolution to 1280 x 720
Static IP assigned
Unsetting of options that add legends to the video (which removed the timestamp and name on video)
Setting of a password


Then I installed ZoneMinder, added a new monitor with the following settings fron the information I got at : https://wiki.zoneminder.com/Revotech_I6032W_P

Default settings, with the exception of:


General

Source Type : Ffmpeg

Source

Source Path : rtsp://username:password@ip_address/live0.26
Remote Method : RTP/RTSP
Target Colorspace : 32 bit colour (I am currently trying 24 bit color)
Capture Width (pixels) : 1280
Capture Height (pixels) : 720

I can see my camera with VLC with rtsp:username:password@ip_address/0.26live; however, in the ZM Console - when I click on my Name for the camera, I do not get an image. Here is the settings I have in ZoneMindere:2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch
General.png
General.png (45.66 KiB) Viewed 19032 times
General.png
General.png (45.66 KiB) Viewed 19032 times
I read in the forums to check the PATH_ZMS setting apache's cgi. My apache2/conf-enabled file has
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
and in ZoneMinder Options under Paths tab I have
PATH_ZMS equal to zm/cgi-bin/nph-zms
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch
I also check my cgi interface was working by creating the script
#!/bin/bash
printf "Content-type: text/html\n\n"
printf "Hello World!\n"
making the script executable, and running it with
curl http://127.0.0.1/cgi-bin/hw.sh
2018-02-14 21:41:46.703028 web_js 11541 ERR getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors() ?view=watch
My error logs show:

2018-02-14 21:38:59.608410 zmc_m2 9929 INF ShedCamera: 47000 - Capturing at 9.62 fps zm_monitor.cpp 3125

repeated about once every minute.

If I open the monitor from ZM Console, I get in the log file:

2018-02-14 21:41:46.703028 web_js 11541 ERR

getStreamCmdResponse stream error: Socket /var/run/zm/zms-127845s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors()

?view=watch

I think I addressed everything in the message part of that error log (?). Thanks.

{note: my preview showed the SOURCE image twice, once where I want it, and again at the end of post - sorry, not sure how to removed the 2nd one}
Attachments
Source.png
Source.png (44 KiB) Viewed 19032 times
linuxking
Posts: 2
Joined: Thu Feb 15, 2018 2:44 am

Re: Can't see Revotech I6032W P Monitor

Post by linuxking »

Did I post too much info? I'm looking at Xeoma and so far it works fine, but to my way of thinking, not as straight forward as ZoneMinder.
bbunge
Posts: 2931
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Can't see Revotech I6032W P Monitor

Post by bbunge »

Use VLC to check the resolution your camera reports. Use 32bit colour. See the WIKI install instructions for your version of Ubuntu.
Reeko
Posts: 10
Joined: Tue Jul 27, 2021 8:48 pm

Re: Can't see Revotech I6032W P Monitor

Post by Reeko »

Hi,

For those I can help...

I spent too much time trying to run it into ZM,
here are the specs : Revotech i6032b-POE-FHW, 2304x1296P, lens 3.6mm

I finally got it to work with the following, both in Zoneminder 1.37.0 and VLC :

rtsp://username:password@IPaddress:8554/profile0
where username is usually admin and password is set (forced) in the CMS.exe program (chinese NVR for this cam).
that is for main stream,

For lowered stream, use rtsp://username:password@IPaddress:8554/profile1

Regards,
Reeko
Posts: 10
Joined: Tue Jul 27, 2021 8:48 pm

Re: Can't see Revotech I6032W P Monitor

Post by Reeko »

and forgot to tell,
Source type: Ffmpeg
Source parth: rtsp://admin:password@192.168.1.xxx:8554/profile0
Method: TCP (if you force UDP it doesn't work)
32 bit color
1280x720 but also works with 1920x1080 2592x1944 5MP (any of them actually, not sure it's relevant here)
Locked