A new installation of Zoneminder 1.25 on Centos 6.5. I purchased a Tenvis IP602W and managed to get it working reasonably well using the remote HTTP feed (/videostream.cgi?user=User&pwd=Password&resolution=32&rate=14). The resolution is a bit so-so, but I can live with it.
Making the assumption the IP602W worked reasonably well, I have since purchased a Tenvis IP391W-HD. I think this is a reasonably new model, it is 720p resolution and claims to do H.264 video streaming. I've all but given in on the H.264 for now, and wanted to do a simple configuration using HTTP/videostream.cgi, unfortunately I'm unable to see any video feed in the monitor window.
In a Firefox browser I'm able to view the feed (at 640x480), eg: /videostream.cgi?user=User&pwd=Password&resolution=32&rate=14; the stream is satable and looks like the sort of thing I'm expecting (based on my experience wit the previous Tenvis camera). Unfortunately Zoneminder does not display any video (just the "broken jpeg" icon). I am yet to find any useful errors in any of the logs.
Can anyone point me in the direction of useful logs I can check (syslog and httpd logs aren't being very helpful)
Does anyone know how to get better resolution out of this type of camera - resolution=32 is 640x480; I have not yet found the correct resolution ID for 1280x720
Ideally I'd like to get RTSP or ffmpeg feeds working. Has anyone else got a Tenvis -HD camera working with Zoneminder?
Tenvis IP Cameras - no video feed
Re: Tenvis IP Cameras - no video feed
A little more information -
Monitor for zone 2 is set up in "monitor" for the moment; the running processes I have for "-m 2" are:
I'm assuming I don't need a zma as the monitor isn't actually doing anything.
I've set debug (space; everything) and turned on capture cores. Nothing happens in the debug directory until I open up the monitor window, then I get:
Any idea what the 'unable to map file /dev/shm/zm.mmap.2' means - is this significant?
I also receive:
The above debug messages only appear when the monitor window is open, so I don't believe its related to my issue (maybe a flow on effect).
I've also failed to find any core files as a result of my testing.
I assume its something to do with the remote protocol (HTTP) and remote host path (/videostream.cgi?user=User&pwd=Password&resolution=32&rate=14). I've verified this in Firefox and am able to view a video stream. Any idea where I might find debug messages which the capture daemon might spit out?
I've tried setting debug to just the capture daemon for this monitor & bumped up the logging to 9, and yes it does return output, but far too much for me to even start thinking about. What should I be looking for, what logging level gives the most useful results.
Monitor for zone 2 is set up in "monitor" for the moment; the running processes I have for "-m 2" are:
Code: Select all
apache 7806 7778 0 19:43 ? 00:00:00 /usr/local/bin/zmc -m 2
I've set debug (space; everything) and turned on capture cores. Nothing happens in the debug directory until I open up the monitor window, then I get:
Code: Select all
03/19/14 19:44:52.111976 zms[7834].DB1-zm_logger.cpp/230 [LogOpts: level=DB1/DB1, screen=OFF, database=INF
, logfile=DB1->/tmp/zm/zm_debug.log.07834, syslog=INF]
03/19/14 19:44:52.112144 zms[7834].DB1-zms.cpp/98 [Query: mode=jpeg&monitor=2&scale=100&maxfps=5&buffer=10
00&connkey=408839&rand=1395218691]
03/19/14 19:44:52.113624 zms[7834].DB1-zm_monitor.cpp/2306 [Got 1 monitors]
03/19/14 19:44:52.116638 zms[7834].DB1-zm_monitor.cpp/340 [monitor purpose=0]
03/19/14 19:44:52.116687 zms[7834].DB1-zm_monitor.cpp/347 [mem.size=36865524]
03/19/14 19:44:52.116806 zms[7834].DB1-zm_monitor.cpp/371 [Unable to map file /dev/shm/zm.mmap.2 (36865524
bytes) to locked memory, trying unlocked]
03/19/14 19:44:52.116912 zms[7834].DB1-zm_zone.cpp/50 [Initialised zone 0/All - 1 - 640x480 - Rgb:ff0000,
CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0, OF
: 0]
03/19/14 19:44:52.128066 zms[7834].DB1-zm_monitor.cpp/460 [Monitor FrontDoor has function 2]
03/19/14 19:44:52.128079 zms[7834].DB1-zm_monitor.cpp/461 [Monitor FrontDoor LBF = '%N - %y/%m/%d %H:%M:%S
', LBX = 0, LBY = 0]
03/19/14 19:44:52.128087 zms[7834].DB1-zm_monitor.cpp/462 [Monitor FrontDoor IBC = 40, WUC = 10, pEC = 10,
PEC = 10, EAF = 2, FRI = 1000, RBP = 7, FM = 0]
03/19/14 19:44:52.128096 zms[7834].DB1-zm_monitor.cpp/2509 [Loaded monitor 2(FrontDoor), 0 zones]
03/19/14 19:44:52.633106 zms[7834].ERR-zm_monitor.cpp/3639 [Terminating, last frame sent time 1395218692.1
32753 secs more than maximum of 10.000000]
03/19/14 19:44:52.635237 zms[7834].DB1-zm_monitor.cpp/3648 [Cleaning swap files from /tmp/zm/zmswap-m2/zms
wap-q408839]
03/19/14 19:44:52.635476 zms[7834].DB1-zm_monitor.cpp/3676 [Can't glob '/tmp/zm/zmswap-m2/zmswap-q408839/*
.*': 3]
I also receive:
Code: Select all
03/19/14 19:45:19.792318 web_php[29530].DBG [LogOpts: level=DBG/DBG, screen=OFF, database=INF, logfile=DBG
->/tmp/zm/zm_debug.log.29530, weblog=INF, syslog=INF] at zm/includes/logger.php line 168
03/19/14 19:45:19.792616 web_php[29530].ERR [socket_sendto( /tmp/zm/zms-408839s.sock ) failed: No such fil
e or directory] at zm/includes/functions.php line 2322
I've also failed to find any core files as a result of my testing.
I assume its something to do with the remote protocol (HTTP) and remote host path (/videostream.cgi?user=User&pwd=Password&resolution=32&rate=14). I've verified this in Firefox and am able to view a video stream. Any idea where I might find debug messages which the capture daemon might spit out?
I've tried setting debug to just the capture daemon for this monitor & bumped up the logging to 9, and yes it does return output, but far too much for me to even start thinking about. What should I be looking for, what logging level gives the most useful results.
Re: Tenvis IP Cameras - no video feed
I've just upgraded to ZM 1.26.5 in the hope this would get resolved - unfortunately not. If you're interested in this thread, follow the new one in the ZM 1.26 forum.