I have ZM v1.24.1 installed on my Ubuntu 9.10 Desktop PC (my only hardware).
Code: Select all
# uname -a
Linux aphrodite 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
My (2 so far) cameras work individually when I test like this: -
Code: Select all
ffmpeg -an -f video4linux2 -s 640x480 -r 30000/1001 -i /dev/video0 -vcodec mjpeg -y video0.avi
and
ffmpeg -an -f video4linux2 -s 640x480 -r 30000/1001 -i /dev/video1 -vcodec mjpeg -y video1.avi
Code: Select all
vlc v4l2:///dev/video0 --no-video-title-show --no-audio
and
vlc v4l2:///dev/video1 --no-video-title-show --no-audio
Code: Select all
% cat FrontCam
#!/bin/sh
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
webcam-server \
-c " Front Camera @ %Y%m%d %H:%M:%S %%v viewers at %%f FPS " \
-g 640x480 \
-d /dev/video0 \
-p 8888
http://www.linuxscrew.com/2007/11/05/ho ... nd-ubuntu/
http://www.howtoforge.com/video_surveil ... der_ubuntu
I have not yet been able to get successful video via ZM and following some unsuccessful googling and searching this forum, I've started to write this post...
Initially I was seeing this in the messages log: -
Code: Select all
Nov 22 21:10:33 aphrodite zmpkg[28125]: INF [Command: start]
Nov 22 21:10:33 aphrodite zmfix[28132]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:10:33 aphrodite zmfix[28132]: INF [Resetting permissions on /dev/video0 to 20666]
Nov 22 21:10:33 aphrodite zmdc[28134]: INF [Server starting at 09/11/22 21:10:33]
Nov 22 21:10:37 aphrodite zmdc[28134]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:10:37, pid = 28157]
Nov 22 21:10:37 aphrodite zmdc[28157]: INF ['zmc -d /dev/video0' started at 09/11/22 21:10:37]
Nov 22 21:10:37 aphrodite zmc_dvideo0[28157]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:10:37 aphrodite zmc_dvideo0[28157]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:10:37 aphrodite zmc_dvideo0[28157]: INF [Starting Capture]
Nov 22 21:10:37 aphrodite zmdc[28134]: INF ['zmfilter.pl' starting at 09/11/22 21:10:37, pid = 28159]
Nov 22 21:10:37 aphrodite zmdc[28159]: INF ['zmfilter.pl' started at 09/11/22 21:10:37]
Nov 22 21:10:37 aphrodite zmdc[28134]: INF ['zmaudit.pl -c' starting at 09/11/22 21:10:37, pid = 28161]
Nov 22 21:10:37 aphrodite zmdc[28161]: INF ['zmaudit.pl -c' started at 09/11/22 21:10:37]
Nov 22 21:10:37 aphrodite zmfilter[28159]: INF [Scanning for events]
Nov 22 21:10:37 aphrodite zmdc[28134]: INF ['zmwatch.pl' starting at 09/11/22 21:10:37, pid = 28163]
Nov 22 21:10:37 aphrodite zmdc[28163]: INF ['zmwatch.pl' started at 09/11/22 21:10:37]
Nov 22 21:10:37 aphrodite zmwatch[28163]: INF [Watchdog starting]
Nov 22 21:10:37 aphrodite zmwatch[28163]: INF [Watchdog pausing for 30 seconds]
Nov 22 21:10:39 aphrodite kernel: [142328.816563] zmc[28157]: segfault at 7fdffe55f000 ip 00007fe005b30859 sp 00007ffffbe45a80 error 4 in libswscale.so.0.7.1[7fe005b0d000+33000]
Nov 22 21:10:39 aphrodite zmdc[28134]: INF ['zmc -d /dev/video0' crashed, signal 10]
Nov 22 21:10:39 aphrodite zmdc[28134]: INF [Starting pending process, zmc -d /dev/video0]
Nov 22 21:10:39 aphrodite zmdc[28134]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:10:39, pid = 28165]
Nov 22 21:10:39 aphrodite zmdc[28165]: INF ['zmc -d /dev/video0' started at 09/11/22 21:10:39]
Nov 22 21:10:39 aphrodite zmc_dvideo0[28165]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:10:39 aphrodite zmc_dvideo0[28165]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:10:39 aphrodite zmc_dvideo0[28165]: INF [Starting Capture]
Nov 22 21:10:40 aphrodite kernel: [142330.416148] zmc[28165]: segfault at 7f9c630e3000 ip 00007f9c6a6b4859 sp 00007fffb06d2bb0 error 4 in libswscale.so.0.7.1[7f9c6a691000+33000]
Nov 22 21:10:40 aphrodite zmdc[28134]: INF ['zmc -d /dev/video0' crashed, signal 10]
Nov 22 21:10:45 aphrodite zmdc[28134]: INF [Starting pending process, zmc -d /dev/video0]
Nov 22 21:10:45 aphrodite zmdc[28134]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:10:45, pid = 28166]
Nov 22 21:10:45 aphrodite zmdc[28166]: INF ['zmc -d /dev/video0' started at 09/11/22 21:10:45]
Nov 22 21:10:45 aphrodite zmc_dvideo0[28166]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:10:45 aphrodite zmc_dvideo0[28166]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:10:45 aphrodite zmc_dvideo0[28166]: INF [Starting Capture]
Nov 22 21:10:47 aphrodite kernel: [142336.524474] zmc[28166]: segfault at 7f40f9b70000 ip 00007f4101141859 sp 00007fff2702fcc0 error 4 in libswscale.so.0.7.1[7f410111e000+33000]
Code: Select all
11/22/09 21:10:37.128361 zmc_dvideo0[-1].DB9-zm_imagetail: /tmp/zm_debug.log: file truncated
11/22/09 21:10:39.361469 zmc_dvideo0[-1].INF-zm_debug.c/292 [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
11/22/09 21:10:39.361703 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1708 [Got 1 monitors]
11/22/09 21:10:39.361741 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/287 [V4L2 support enabled, using V4L2 api]
11/22/09 21:10:39.362983 zmc_dvideo0[-1].DB1-zm_monitor.cpp/338 [monitor purpose=1]
11/22/09 21:10:39.363012 zmc_dvideo0[-1].DB1-zm_monitor.cpp/345 [mem.size=36865524]
11/22/09 21:10:39.382135 zmc_dvideo0[-1].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]
11/22/09 21:10:39.382524 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:0,y1:479 x2:0,y2:0]
11/22/09 21:10:39.382536 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:0,y1:0 x2:639,y2:0]
11/22/09 21:10:39.382542 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:639,y1:0 x2:639,y2:479]
11/22/09 21:10:39.382547 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:639,y1:479 x2:0,y2:479]
11/22/09 21:10:39.382560 zmc_dvideo0[-1].DB9-zm_image.cpp/1371 [0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
11/22/09 21:10:39.382581 zmc_dvideo0[-1].DB9-zm_image.cpp/1371 [1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
11/22/09 21:10:39.382592 zmc_dvideo0[-1].DB9-zm_image.cpp/1385 [Moving global edge]
11/22/09 21:10:39.382602 zmc_dvideo0[-1].DB9-zm_image.cpp/1385 [Moving global edge]
11/22/09 21:10:39.382609 zmc_dvideo0[-1].DB9-zm_image.cpp/1406 [0 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
11/22/09 21:10:39.382616 zmc_dvideo0[-1].DB9-zm_image.cpp/1406 [0 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
~~~
11/22/09 21:10:39.406700 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:2, y:479.00]
11/22/09 21:10:39.406707 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:1, y:479.00]
11/22/09 21:10:39.412819 zmc_dvideo0[-1].DB1-zm_monitor.cpp/458 [Monitor Front_Garden has function 2]
11/22/09 21:10:39.412838 zmc_dvideo0[-1].DB1-zm_monitor.cpp/459 [Monitor Front_Garden LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
11/22/09 21:10:39.412849 zmc_dvideo0[-1].DB1-zm_monitor.cpp/460 [Monitor Front_Garden IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
11/22/09 21:10:39.413108 zmc_dvideo0[-1].DB1-zm_zone.cpp/889 [Got 1 zones for monitor Front_Garden]
11/22/09 21:10:39.413123 zmc_dvideo0[-1].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
11/22/09 21:10:39.413133 zmc_dvideo0[-1].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
11/22/09 21:10:39.413140 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
11/22/09 21:10:39.413151 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
11/22/09 21:10:39.413161 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
11/22/09 21:10:39.413168 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
11/22/09 21:10:39.413179 zmc_dvideo0[-1].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
11/22/09 21:10:39.413190 zmc_dvideo0[-1].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
11/22/09 21:10:39.413388 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:0,y1:479 x2:0,y2:0]
11/22/09 21:10:39.413398 zmc_dvideo0[-1].DB9-zm_image.cpp/1351 [x1:0,y1:0 x2:639,y2:0]
~~~
11/22/09 21:10:39.446266 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:2, y:479.00]
11/22/09 21:10:39.446277 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:1, y:479.00]
11/22/09 21:10:39.452553 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1810 [Loaded monitor 1(Front_Garden), 1 zones]
11/22/09 21:10:39.452572 zmc_dvideo0[-1].INF-zmc.cpp/186 [Starting Capture]
11/22/09 21:10:39.452874 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/350 [Opening video device /dev/video0]
11/22/09 21:10:39.452909 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/356 [V4L2 support enabled, using V4L2 api]
11/22/09 21:10:39.452920 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/361 [Checking video device capabilities]
11/22/09 21:10:39.452938 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/371 [Setting up video format]
11/22/09 21:10:39.452949 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/400 [Setting up request buffers]
11/22/09 21:10:39.453087 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/428 [Setting up 8 data buffers]
11/22/09 21:10:39.453220 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/466 [Configuring video source]
11/22/09 21:10:39.453236 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/650 [Setting up static colour tables]
11/22/09 21:10:39.453252 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/1140 [Priming capture]
11/22/09 21:10:39.453263 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1144 [Queueing buffers]
11/22/09 21:10:39.453275 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1160 [Starting video stream]
11/22/09 21:10:39.836640 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/1186 [Pre-capturing]
11/22/09 21:10:39.836671 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1192 [Capturing]
11/22/09 21:10:39.836678 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1215 [Capturing 1 frames]
11/22/09 21:10:40.395000 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1239 [Captured frame 0/1 from channel 0]
11/22/09 21:10:40.395037 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1273 [Doing format conversion]
11/22/09 21:10:40.400179 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1579 [Assigning image]
11/22/09 21:10:40.401300 zmc_dvideo0[-1].DB2tail: /tmp/zm_debug.log: file truncated
y:479.00]
11/22/09 21:10:45.092567 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:28, y:479.00]
11/22/09 21:10:45.092574 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:27, y:479.00]
11/22/09 21:10:45.092580 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:26, y:479.00]
11/22/09 21:10:45.092587 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:25, y:479.00]
11/22/09 21:10:45.092593 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:24, y:479.00]
11/22/09 21:10:45.092599 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:23, y:479.00]
11/22/09 21:10:45.092605 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:22, y:479.00]
11/22/09 21:10:45.092611 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:21, y:479.00]
11/22/09 21:10:45.092617 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:20, y:479.00]
11/22/09 21:10:45.092623 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:19, y:479.00]
11/22/09 21:10:45.092629 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:18, y:479.00]
11/22/09 21:10:45.092635 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:17, y:479.00]
11/22/09 21:10:45.092641 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:16, y:479.00]
11/22/09 21:10:45.092647 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:15, y:479.00]
11/22/09 21:10:45.092653 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:14, y:479.00]
11/22/09 21:10:45.092659 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:13, y:479.00]
11/22/09 21:10:45.092665 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:12, y:479.00]
11/22/09 21:10:45.092671 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:11, y:479.00]
11/22/09 21:10:45.092677 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:10, y:479.00]
11/22/09 21:10:45.092683 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:9, y:479.00]
11/22/09 21:10:45.092689 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:8, y:479.00]
11/22/09 21:10:45.092695 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:7, y:479.00]
11/22/09 21:10:45.092701 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:6, y:479.00]
11/22/09 21:10:45.092707 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:5, y:479.00]
11/22/09 21:10:45.092713 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:4, y:479.00]
11/22/09 21:10:45.092719 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:3, y:479.00]
11/22/09 21:10:45.092725 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:2, y:479.00]
11/22/09 21:10:45.092731 zmc_dvideo0[-1].DB9-zm_image.cpp/1313 [x:1, y:479.00]
11/22/09 21:10:45.098971 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1810 [Loaded monitor 1(Front_Garden), 1 zones]
11/22/09 21:10:45.098983 zmc_dvideo0[-1].INF-zmc.cpp/186 [Starting Capture]
11/22/09 21:10:45.099035 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/350 [Opening video device /dev/video0]
11/22/09 21:10:45.099061 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/356 [V4L2 support enabled, using V4L2 api]
11/22/09 21:10:45.099067 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/361 [Checking video device capabilities]
11/22/09 21:10:45.099081 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/371 [Setting up video format]
11/22/09 21:10:45.099090 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/400 [Setting up request buffers]
11/22/09 21:10:45.099188 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/428 [Setting up 8 data buffers]
11/22/09 21:10:45.099311 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/466 [Configuring video source]
11/22/09 21:10:45.099322 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/650 [Setting up static colour tables]
11/22/09 21:10:45.099336 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/1140 [Priming capture]
11/22/09 21:10:45.099342 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1144 [Queueing buffers]
11/22/09 21:10:45.099350 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1160 [Starting video stream]
11/22/09 21:10:45.496716 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/1186 [Pre-capturing]
11/22/09 21:10:45.496759 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1192 [Capturing]
11/22/09 21:10:45.496769 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1215 [Capturing 1 frames]
11/22/09 21:10:46.274621 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1239 [Captured frame 0/1 from channel 0]
11/22/09 21:10:46.274653 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1273 [Doing format conversion]
11/22/09 21:10:46.279699 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/1579 [Assigning image]
11/22/09 21:10:46.280544 zmc_dvideo0[-1].DB2^C
After some googling I added the following line just above "my @daemons" in /usr/bin/zmdc.pl: -
Code: Select all
$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';
Code: Select all
Nov 22 21:42:33 aphrodite zmfix[28552]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:42:33 aphrodite zmpkg[28554]: INF [Command: start]
Nov 22 21:42:34 aphrodite zmfix[28561]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:42:34 aphrodite zmfix[28561]: INF [Resetting permissions on /dev/video0 to 20666]
Nov 22 21:42:34 aphrodite zmdc[28563]: INF [Server starting at 09/11/22 21:42:34]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:42:37, pid = 28585]
Nov 22 21:42:37 aphrodite zmdc[28585]: INF ['zmc -d /dev/video0' started at 09/11/22 21:42:37]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28585]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28585]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28585]: INF [Starting Capture]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' crashed, signal 6]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF [Starting pending process, zmc -d /dev/video0]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:42:37, pid = 28587]
Nov 22 21:42:37 aphrodite zmdc[28587]: INF ['zmc -d /dev/video0' started at 09/11/22 21:42:37]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28587]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28587]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:42:37 aphrodite zmc_dvideo0[28587]: INF [Starting Capture]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' crashed, signal 6]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmfilter.pl' starting at 09/11/22 21:42:37, pid = 28588]
Nov 22 21:42:37 aphrodite zmdc[28588]: INF ['zmfilter.pl' started at 09/11/22 21:42:37]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmaudit.pl -c' starting at 09/11/22 21:42:37, pid = 28590]
Nov 22 21:42:37 aphrodite zmdc[28590]: INF ['zmaudit.pl -c' started at 09/11/22 21:42:37]
Nov 22 21:42:37 aphrodite zmfilter[28588]: INF [Scanning for events]
Nov 22 21:42:37 aphrodite zmdc[28563]: INF ['zmwatch.pl' starting at 09/11/22 21:42:37, pid = 28592]
Nov 22 21:42:37 aphrodite zmdc[28592]: INF ['zmwatch.pl' started at 09/11/22 21:42:37]
Nov 22 21:42:37 aphrodite zmwatch[28592]: INF [Watchdog starting]
Nov 22 21:42:37 aphrodite zmwatch[28592]: INF [Watchdog pausing for 30 seconds]
Nov 22 21:42:42 aphrodite zmdc[28563]: INF [Starting pending process, zmc -d /dev/video0]
Nov 22 21:42:42 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' starting at 09/11/22 21:42:42, pid = 28594]
Nov 22 21:42:42 aphrodite zmdc[28594]: INF ['zmc -d /dev/video0' started at 09/11/22 21:42:42]
Nov 22 21:42:42 aphrodite zmc_dvideo0[28594]: INF [Debug Level = 0, Debug Log = <none>]
Nov 22 21:42:42 aphrodite zmc_dvideo0[28594]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
Nov 22 21:42:42 aphrodite zmc_dvideo0[28594]: INF [Starting Capture]
Nov 22 21:42:42 aphrodite zmdc[28563]: INF ['zmc -d /dev/video0' crashed, signal 6]
Code: Select all
tail: /tmp/zm_debug.log: file truncated
7.400620 zmc_dvideo0[-1].DB1-zm_monitor.cpp/338 [monitor purpose=1]
11/22/09 21:42:37.400662 zmc_dvideo0[-1].DB1-zm_monitor.cpp/345 [mem.size=36865524]
11/22/09 21:42:37.417636 zmc_dvideo0[-1].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]
11/22/09 21:42:37.427348 zmc_dvideo0[-1].DB1-zm_monitor.cpp/458 [Monitor Front_Garden has function 2]
11/22/09 21:42:37.427363 zmc_dvideo0[-1].DB1-zm_monitor.cpp/459 [Monitor Front_Garden LBF = '%N - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
11/22/09 21:42:37.427371 zmc_dvideo0[-1].DB1-zm_monitor.cpp/460 [Monitor Front_Garden IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
11/22/09 21:42:37.427537 zmc_dvideo0[-1].DB1-zm_zone.cpp/889 [Got 1 zones for monitor Front_Garden]
11/22/09 21:42:37.427551 zmc_dvideo0[-1].DB5-zm_zone.cpp/918 [Parsing polygon 0,0 639,0 639,479 0,479]
11/22/09 21:42:37.427557 zmc_dvideo0[-1].DB3-zm_zone.cpp/758 [Parsing polygon string '0,0 639,0 639,479 0,479']
11/22/09 21:42:37.427564 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,0 from polygon string]
11/22/09 21:42:37.427570 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,0 from polygon string]
11/22/09 21:42:37.427576 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 639,479 from polygon string]
11/22/09 21:42:37.427581 zmc_dvideo0[-1].DB3-zm_zone.cpp/796 [Got coordinate 0,479 from polygon string]
11/22/09 21:42:37.427589 zmc_dvideo0[-1].DB3-zm_zone.cpp/816 [Successfully parsed polygon string]
11/22/09 21:42:37.427596 zmc_dvideo0[-1].DB1-zm_zone.cpp/50 [Initialised zone 1/All - 1 - 640x480 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:9216, MxAP:230400, FB:3x3, MnFP:9216, MxFP:230400, MnBS:6144, MxBS:0, MnB:1, MxB:0, OF: 0]
11/22/09 21:42:37.435757 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1810 [Loaded monitor 1(Front_Garden), 1 zones]
11/22/09 21:42:37.435768 zmc_dvideo0[-1].INF-zmc.cpp/186 [Starting Capture]
11/22/09 21:42:37.435822 zmc_dvideo0[-1].DB3-zm_local_camera.cpp/350 [Opening video device /dev/video0]
11/22/09 21:42:37.436103 zmc_dvideo0[-1].FAT-zm_local_camera.cpp/353 [Failed to open video device /dev/video0: Permission denied]
Code: Select all
11/22/09 22:02:12.019654 zmc_dvideo0[-1].INF-zm_debug.c/292 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log]
11/22/09 22:02:12.019779 zmc_dvideo0[-1].DB1-zm_monitor.cpp/1708 [Got 1 monitors]
11/22/09 22:02:12.019820 zmc_dvideo0[-1].DB2-zm_local_camera.cpp/287 [V4L2 support enabled, using V4L2 api]
11/22/09 22:02:12.019835 zmc_dvideo0[-1].FAT-zm_local_camera.cpp/135 [Can't find swscale format for palette 0]
Additionally, I also get the following error (auth details altered to protect the innocentish): -
Code: Select all
# zmu -d /dev/video0 -q -v -Uuser -Ppass
Error, failed to get channel 0 attributes: Invalid argument
I guess the main questions are: -
1. What am I missing or doing wrong?
2. Will I have problems with multiple USB cameras or will Z "handle it"?
xx ChrisP