Hello,
I'm new to zoneminder and surveillance in general. I'm trying to add my IP cameras in ZM. I have the exact same cameras as the one reported here: viewtopic.php?t=26014
I tried using this path:
rtsp://192.168.XX.XX:554/user=XXX_password=XXXX_channel=1_stream=0.sdp?real_stream
and the Foscam presets as mentioned in that thread. Doesn't work.
Here is the log:
2018-10-10 15:20:51.100701 zmc_m5 10320 ERR Open video took more than 10 seconds. zm_ffmpeg_camera.cpp 441
2018-10-10 15:20:40.086049 zmc_m5 10320 ERR Unable to open input rtsp://192.168.X.XXX:554/user=XXXXX_password=XXXXX_channel=1_stream=0.sdp due to: Operation now in progress zm_ffmpeg_camera.cpp 269
2018-10-10 15:20:40.079946 zmc_m5 10300 INF Monitor-5: 7000 - Capturing at 24.39 fps
I'm using ZM 1.30.4.
I've installed ONVIF Device Manager the it sees every camera (3). Is there a way the make them work with ZM?
I made some minor progress: my PATH_ZMS option was wrong. Now I see a blue screen and the date, but nothing more.
Since the misconfiguration was caused by the fact that I'm using a subdomain (https//zm.mydomain.com/ instead of https//mydomain.com/zm), is there some other option/configuration that I should double check?
Blue screen often means the resolution is incorrect. VLC will indicate the resolution.
If you are trying to view the camera on a resource constrained computer (beaglebone, rpi), try a lower resolution that is 1/2 or less proportional to the original one. E.g. instead of 1080x720 use 640x360 or 320x180.
I can view the camera in VLC, resolution is the same (704x576). I'm not sure about 'Target colorspace'.
My server is an AMD Ryzen 7 and I enabled only 1 cam at the moment. ZM reports Load: 0 - Disk: 7% - /dev/shm: 0%
This is the log:
Oct 16 13:56:29 ares zmdc[19190]: WAR [Can't find process with command of 'zma -m 7']
Oct 16 13:56:29 ares zmdc[19190]: WAR [Can't find process with command of 'zmc -m 7']
Oct 16 13:56:30 ares zmdc[19190]: INF ['zmc -m 7' starting at 18/10/16 13:56:30, pid = 24261]
Oct 16 13:56:30 ares zmdc[24261]: INF ['zmc -m 7' started at 18/10/16 13:56:30]
Oct 16 13:56:30 ares zmc_m7[24261]: INF [Starting Capture version 1.30.4]
Oct 16 13:56:30 ares zmc_m7[24261]: INF [Priming capture from rtsp://192.168.1.244:554/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp]
Oct 16 13:56:30 ares zmdc[19190]: WAR [Can't find process with command of 'zma -m 7']
Oct 16 13:56:41 ares zmc_m7[24261]: ERR [Open video took more than 10 seconds.]
Oct 16 13:56:41 ares zmc_m7[24261]: ERR [Unable to open input rtsp://192.168.1.244:554/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp due to: Operation now in progress]
Oct 16 13:56:52 ares zmc_m7[24261]: ERR [Open video took more than 10 seconds.]
Oct 16 13:56:52 ares zmc_m7[24261]: ERR [Unable to open input rtsp://192.168.1.244:554/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp due to: Operation now in progress]
Oct 16 13:57:03 ares zmc_m7[24261]: ERR [Open video took more than 10 seconds.]
Oct 16 13:57:03 ares zmc_m7[24261]: ERR [Unable to open input rtsp://192.168.1.244:554/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp due to: Operation now in progress]
Oct 16 13:57:14 ares zmc_m7[24261]: ERR [Open video took more than 10 seconds.]
Oct 16 13:57:14 ares zmc_m7[24261]: ERR [Unable to open input rtsp://192.168.1.244:554/user=XXXXXX_password=XXXXXX_channel=1_stream=0.sdp due to: Operation now in progress]
Oct 16 13:57:21 ares zmc_m7[24261]: INF [Porta Residence: 1000 - Capturing at 19.61 fps]
Oct 16 13:57:25 ares zmc_m7[24261]: ERR [Open video took more than 10 seconds.]
Linux distro and version? Instructions used to install Zoneminder?
As mentioned before there are two common problems with this version:
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.
If you can get the camera to stream in VLC, use that URL in Zoneminder with ffmpeg.
Not able to help anymore than what has already been discussed here and in the other post, but you should not be setting maximum FPS rates for ffmpeg.
Your options are as I see it:
Debug ZM reading feed
Contact vendor that sells camera
Or some other reverse engineering as mentioned in finding camera stream paths on the wiki.