I have ZM installed on ASUS Eee PC 2G Surf with
Lubuntu 32-bit
I am trying to make ZM work with 640x480 USB camera, but it does not work. In ZM Console I see red circle at the Monitor-1 and source '/dev/video0' is red too. Here are the details:
Code: Select all
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
# uname -r
4.15.0-108-generic
Code: Select all
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.9G 0 disk
sdb 8:16 0 298.1G 0 disk
├─sdb1 8:17 0 37.3G 0 part /
└─sdb2 8:18 0 260.9G 0 part /mnt/dvr
Code: Select all
# free -m
total used free shared buff/cache available
Mem: 418 194 13 12 209 199
Swap: 1765 154 1611
Code: Select all
# v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 352x288
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 176x144
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 160x120
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Code: Select all
2020-07-04 19:56:36.323520 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' crashed, signal 132]
2020-07-04 19:56:34.351382 zmc_dvideo0[1685].INF-zm_local_camera.cpp/447 [No direct match for the selected palette (0x00000001) and target colorspace (03). Format conversion is required, performance penalty expected]
2020-07-04 19:56:33.084290 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' starting at 20/07/04 19:56:33, pid = 1685]
2020-07-04 19:56:33.077980 zmdc[1685].INF-zmdc.pl ['zmc -d /dev/video0' started at 20/07/04 19:56:33]
2020-07-04 19:56:33.017410 zmdc[1622].INF-zmdc.pl [Starting pending process, zmc -d /dev/video0]
2020-07-04 19:56:28.245490 zmstats[1675].INF-zmstats.pl [Stats Daemon starting in 30 seconds]
2020-07-04 19:56:24.416610 zmdc[1675].INF-zmdc.pl ['zmstats.pl' started at 20/07/04 19:56:24]
2020-07-04 19:56:24.403830 zmdc[1622].INF-zmdc.pl ['zmstats.pl' starting at 20/07/04 19:56:24, pid = 1675]
2020-07-04 19:56:24.243330 zmfilter_2[1662].INF-zmfilter.pl [Scanning for events using filter id '2']
2020-07-04 19:56:23.993950 zmwatch[1667].INF-zmwatch.pl [Watchdog starting, pausing for 30 seconds]
2020-07-04 19:56:23.287540 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' crashed, signal 132]
2020-07-04 19:56:19.281395 zmc_dvideo0[1669].INF-zm_local_camera.cpp/447 [No direct match for the selected palette (0x00000001) and target colorspace (03). Format conversion is required, performance penalty expected]
2020-07-04 19:56:15.351140 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' starting at 20/07/04 19:56:15, pid = 1669]
2020-07-04 19:56:15.344050 zmdc[1669].INF-zmdc.pl ['zmc -d /dev/video0' started at 20/07/04 19:56:15]
2020-07-04 19:56:15.191840 zmdc[1622].INF-zmdc.pl [Starting pending process, zmc -d /dev/video0]
2020-07-04 19:56:15.157790 zmdc[1667].INF-zmdc.pl ['zmwatch.pl' started at 20/07/04 19:56:15]
2020-07-04 19:56:15.156510 zmdc[1622].INF-zmdc.pl ['zmwatch.pl' starting at 20/07/04 19:56:15, pid = 1667]
2020-07-04 19:56:14.866690 zmfilter_1[1655].INF-zmfilter.pl [Scanning for events using filter id '1']
2020-07-04 19:56:10.511480 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' crashed, signal 132]
2020-07-04 19:56:07.164640 zmdc[1622].INF-zmdc.pl ['zmfilter.pl --filter_id=2 --daemon' starting at 20/07/04 19:56:07, pid = 1662]
2020-07-04 19:56:07.160830 zmdc[1662].INF-zmdc.pl ['zmfilter.pl --filter_id=2 --daemon' started at 20/07/04 19:56:07]
2020-07-04 19:56:06.483793 zmc_dvideo0[1658].INF-zm_local_camera.cpp/447 [No direct match for the selected palette (0x00000001) and target colorspace (03). Format conversion is required, performance penalty expected]
2020-07-04 19:56:03.485230 zmdc[1658].INF-zmdc.pl ['zmc -d /dev/video0' started at 20/07/04 19:56:03]
2020-07-04 19:56:03.475820 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' starting at 20/07/04 19:56:03, pid = 1658]
2020-07-04 19:56:03.386660 zmdc[1622].INF-zmdc.pl [Starting pending process, zmc -d /dev/video0]
2020-07-04 19:56:02.371500 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' crashed, signal 132]
2020-07-04 19:56:00.571120 zmdc[1622].INF-zmdc.pl ['zmfilter.pl --filter_id=1 --daemon' starting at 20/07/04 19:56:00, pid = 1655]
2020-07-04 19:56:00.563880 zmdc[1655].INF-zmdc.pl ['zmfilter.pl --filter_id=1 --daemon' started at 20/07/04 19:56:00]
2020-07-04 19:55:58.269447 zmc_dvideo0[1650].INF-zm_local_camera.cpp/447 [No direct match for the selected palette (0x00000001) and target colorspace (03). Format conversion is required, performance penalty expected]
2020-07-04 19:55:56.047870 zmdc[1650].INF-zmdc.pl ['zmc -d /dev/video0' started at 20/07/04 19:55:56]
2020-07-04 19:55:56.042280 zmdc[1622].INF-zmdc.pl ['zmc -d /dev/video0' starting at 20/07/04 19:55:56, pid = 1650]
2020-07-04 19:55:53.970130 zmpkg[1608].INF-zmpkg.pl [Single server configuration detected. Starting up services.]
2020-07-04 19:55:53.780280 zmdc[1622].INF-zmdc.pl [Socket should be open at /var/run/zm/zmdc.sock]
2020-07-04 19:55:52.104830 zmdc[1622].INF-zmdc.pl [Server starting at 20/07/04 19:55:52]
2020-07-04 19:55:47.739350 zmpkg[1608].INF-zmpkg.pl [Command: start]
Code: Select all
07/04/20 22:36:30.921712 zmc_dvideo0[6885].DB4-zm_image.cpp/335 [Delta: Using SSSE3 delta functions]
07/04/20 22:36:35.129450 zmc_dvideo0[6887].DB1-zm_logger.cpp/255 [LogOpts: level=DB9 effective=DB9, screen=OFF, database=INF, logfile=DB9->/var/log/zm/zmc_dvideo0.log, syslog=DB9]
07/04/20 22:36:35.134090 zmc_dvideo0[6887].DB1-zm_utils.cpp/282 [Detected a x86\x86-64 processor with AVX2]
07/04/20 22:36:35.134548 zmc_dvideo0[6887].DB1-zm_monitor.cpp/1992 [Loading Monitors with SELECT `Id`, `Name`, `ServerId`, `StorageId`, `Type`, `Function`+0, `Enabled`, `LinkedMonitors`, `AnalysisFPSLimit`, `AnalysisUpdateDelay`, `MaxFPS`, `AlarmMaxFPS`,`Device`, `Channel`, `Format`, `V4LMultiBuffer`, `V4LCapturesPerFrame`, `Protocol`, `Method`, `Options`, `User`, `Pass`, `Host`, `Port`, `Path`, `Width`, `Height`, `Colours`, `Palette`, `Orientation`+0, `Deinterlacing`, `DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, `SaveJPEGs`, `VideoWriter`, `EncoderParameters`, `RecordAudio`, `Brightness`, `Contrast`, `Hue`, `Colour`, `EventPrefix`, `LabelFormat`, `LabelX`, `LabelY`, `LabelSize`,`ImageBufferCount`, `WarmupCount`, `PreEventCount`, `PostEventCount`, `StreamReplayBuffer`, `AlarmFrameCount`, `SectionLength`, `MinSectionLength`, `FrameSkip`, `MotionFrameSkip`, `FPSReportInterval`, `RefBlendPerc`, `AlarmRefBlendPerc`, `TrackMotion`, `Exif`, `SignalCheckPoints`, `SignalCheckColour` FROM `Monitors` WHERE `Function` != 'None' AND `Type` = 'Local' AND `Device`='/dev/video0']
07/04/20 22:36:35.140012 zmc_dvideo0[6887].DB4-zm_db.cpp/112 [Success running query: SELECT `Id`, `Name`, `ServerId`, `StorageId`, `Type`, `Function`+0, `Enabled`, `LinkedMonitors`, `AnalysisFPSLimit`, `AnalysisUpdateDelay`, `MaxFPS`, `AlarmMaxFPS`,`Device`, `Channel`, `Format`, `V4LMultiBuffer`, `V4LCapturesPerFrame`, `Protocol`, `Method`, `Options`, `User`, `Pass`, `Host`, `Port`, `Path`, `Width`, `Height`, `Colours`, `Palette`, `Orientation`+0, `Deinterlacing`, `DecoderHWAccelName`, `DecoderHWAccelDevice`, `RTSPDescribe`, `SaveJPEGs`, `VideoWriter`, `EncoderParameters`, `RecordAudio`, `Brightness`, `Contrast`, `Hue`, `Colour`, `EventPrefix`, `LabelFormat`, `LabelX`, `LabelY`, `LabelSize`,`ImageBufferCount`, `WarmupCount`, `PreEventCount`, `PostEventCount`, `StreamReplayBuffer`, `AlarmFrameCount`, `SectionLength`, `MinSectionLength`, `FrameSkip`, `MotionFrameSkip`, `FPSReportInterval`, `RefBlendPerc`, `AlarmRefBlendPerc`, `TrackMotion`, `Exif`, `SignalCheckPoints`, `SignalCheckColour` FROM `Monitors` WHERE `Function` != 'None' AND `Type` = 'Local' AND `Device`='/dev/video0']
07/04/20 22:36:35.140692 zmc_dvideo0[6887].DB1-zm_monitor.cpp/2000 [Got 1 monitors]
07/04/20 22:36:35.141164 zmc_dvideo0[6887].DB1-zm_monitor.cpp/2116 [Got 1 for v4l_captures_per_frame]
07/04/20 22:36:35.141643 zmc_dvideo0[6887].DB2-zm_camera.cpp/55 [New camera id: 1 width: 640 height: 480 colours: 3 subpixelorder: 6 capture: 1]
07/04/20 22:36:35.142136 zmc_dvideo0[6887].DB2-zm_local_camera.cpp/346 [V4L support enabled, using V4L2 api]
07/04/20 22:36:35.142529 zmc_dvideo0[6887].DB2-zm_local_camera.cpp/365 [little-endian processor detected]
07/04/20 22:36:35.142901 zmc_dvideo0[6887].INF-zm_local_camera.cpp/447 [No direct match for the selected palette (0x00000001) and target colorspace (03). Format conversion is required, performance penalty expected]
07/04/20 22:36:35.171515 zmc_dvideo0[6887].DB2-zm_local_camera.cpp/455 [Using swscale for image conversion]
07/04/20 22:36:35.172152 zmc_dvideo0[6887].DB3-zm_local_camera.cpp/654 [Selected subpixelorder: 6]
07/04/20 22:36:35.178203 zmc_dvideo0[6887].DB4-zm_image.cpp/273 [Blend: Using SSE2 fast blend function]
07/04/20 22:36:35.178904 zmc_dvideo0[6887].DB4-zm_image.cpp/335 [Delta: Using SSSE3 delta functions]