Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local camera : Device or ressource busy #3104

Open
TP234-CPE opened this issue Jan 2, 2021 · 8 comments
Open

Local camera : Device or ressource busy #3104

TP234-CPE opened this issue Jan 2, 2021 · 8 comments
Labels

Comments

@TP234-CPE
Copy link

Environment

  • ZoneMinder Version: 1.34.22-buster1 installed from-source
  • Debian GNU/Linux 10

Describe the bug
I use analog cameras with a 4ch capture card using the tw68 driver (2 devices video0&1 both having 2 channels 0&1) . When I set up the monitor with source type Local I get a fatal error Device or ressource busy, whatever palett color, video format PAL/NTCS, video size I put. I also tried with different brand of cameras nothing seems to work beside using LibVLC as a source type to use a VLC stream as a workaround but it can only work with one channel per device. I also found others pretty similar closed issue #2406, #733, and #2405 but with no solutions. I also read that some people didn't had this issue with the kernel 3 and before as they had to manually install the driver. Starting with kernel 4, the tw68 driver was rewritten to be directly into inside.

To Reproduce
Using a tw68 analog card with any analog camera and a linux kernel in version 4 minimum.

Expected behavior
Zoneminder to access the video stream of the camera.

Debug Logs
On the web interface :

2021-01-02 19:18:10	zmc_dvideo0		9248	ERR	Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring	zm_zone.cpp	926
2021-01-02 19:18:10	zmc_dvideo0		9248	FAT	Failed to set video standard 255: 16 Device or resource busy	zm_local_camera.cpp	957
2021-01-02 19:18:10	zmdc		2030	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2021-01-02 19:17:30	zmc_dvideo0		9246	ERR	Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring	zm_zone.cpp	926
2021-01-02 19:17:30	zmc_dvideo0		9246	FAT	Failed to set video standard 255: 16 Device or resource busy	zm_local_camera.cpp	957
2021-01-02 19:17:30	zmdc		2030	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2021-01-02 19:17:10	zmc_dvideo0		9245	ERR	Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring	zm_zone.cpp	926
2021-01-02 19:17:10	zmc_dvideo0		9245	FAT	Failed to set video standard 255: 16 Device or resource busy	zm_local_camera.cpp	957
2021-01-02 19:17:10	zmdc		2030	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2021-01-02 19:17:00	zmc_dvideo0		9240	ERR	Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring	zm_zone.cpp	926
2021-01-02 19:17:00	zmc_dvideo0		9240	FAT	Failed to set video standard 255: 16 Device or resource busy	zm_local_camera.cpp	957
2021-01-02 19:17:00	zmdc		2030	ERR	'zmc -d /dev/video0' exited abnormally, exit status 255	zmdc.pl	
2021-01-02 19:16:54	zmwatch		2123	WAR	Restarting capture daemon for Monitor-11, no image since startup. Startup time was 1609611037 - now 1609611414 > 45	zmwatch.pl	
2021-01-02 19:16:45	zmc_dvideo0		9233	DB1	LogOpts: level=DB9 effective=DB9, screen=OFF, database=DB9, logfile=DB9->/tmp/zm/loglevel9, syslog=DB9	zm_logger.cpp	255
2021-01-02 19:16:45	zmc_dvideo0		9233	DB1	Detected a x86\x86-64 processor with SSE4.2	zm_utils.cpp	275
2021-01-02 19:16:44	zmwatch		2123	WAR	Restarting capture daemon for Monitor-11, no image since startup. Startup time was 1609611037 - now 1609611404 > 45

This is all I know, hope someone will have an idea of what i could do. I join a file with a part of my debug log level 9, tell me what I could add to help you understanding what is happening.

@welcome
Copy link

welcome bot commented Jan 2, 2021

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

@TP234-CPE
Copy link
Author

TP234-CPE commented Jan 3, 2021

Couldn't upload the debug log txt so there is a link to it so there is a link to it: https://gofile.io/d/wUz6E8

@TP234-CPE
Copy link
Author

TP234-CPE commented Feb 16, 2021

Since the link died I'm reposting a part of the log level 9 file :

02/16/21 17:01:06.444988 zmc_dvideo0[3486].DB1-zm_logger.cpp/255 [LogOpts: level=DB9 effective=DB9, screen=OFF, database=WAR, logfile=DB9->/tmp/zm/loglevel9, syslog=DB9]

02/16/21 17:01:06.445358 zmc_dvideo0[3486].DB1-zm_utils.cpp/275 [Detected a x86\x86-64 processor with SSE4.2]
02/16/21 17:01:06.445397 zmc_dvideo0[3486].DB1-zm_monitor.cpp/1996 [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']
02/16/21 17:01:06.445511 zmc_dvideo0[3486].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']
02/16/21 17:01:06.445535 zmc_dvideo0[3486].DB1-zm_monitor.cpp/2004 [Got 1 monitors]
02/16/21 17:01:06.445563 zmc_dvideo0[3486].DB2-zm_camera.cpp/56 [New camera id: 11 width: 752 line size: 3008 height: 582 colours: 4 subpixelorder: 8 capture: 1]
02/16/21 17:01:06.445586 zmc_dvideo0[3486].DB2-zm_local_camera.cpp/346 [V4L support enabled, using V4L2 api]
02/16/21 17:01:06.445602 zmc_dvideo0[3486].DB2-zm_local_camera.cpp/365 [little-endian processor detected]
02/16/21 17:01:06.445615 zmc_dvideo0[3486].DB2-zm_local_camera.cpp/377 [Using automatic format selection]
02/16/21 17:01:06.445648 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 (0x4f424752) at index 0]
02/16/21 17:01:06.445665 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 BE (0x51424752) at index 1]
02/16/21 17:01:06.445679 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 (0x50424752) at index 2]
02/16/21 17:01:06.445693 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 BE (0x52424752) at index 3]
02/16/21 17:01:06.445706 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit BGR 8-8-8 (0x33524742) at index 4]
02/16/21 17:01:06.445720 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit RGB 8-8-8 (0x33424752) at index 5]
02/16/21 17:01:06.445733 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit BGRA/X 8-8-8-8 (0x34524742) at index 6]
02/16/21 17:01:06.445746 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit A/XRGB 8-8-8-8 (0x34424752) at index 7]
02/16/21 17:01:06.445760 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: YUYV 4:2:2 (0x56595559) at index 8]
02/16/21 17:01:06.445783 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/1219 [Got format: UYVY 4:2:2 (0x59565955) at index 9]
02/16/21 17:01:06.445799 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 (0x5247424f) at index 0]
02/16/21 17:01:06.445812 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 BE (0x52474251) at index 1]
02/16/21 17:01:06.445825 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 (0x52474250) at index 2]
02/16/21 17:01:06.445837 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 BE (0x52474252) at index 3]
02/16/21 17:01:06.445849 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit BGR 8-8-8 (0x42475233) at index 4]
02/16/21 17:01:06.445861 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit RGB 8-8-8 (0x52474233) at index 5]
02/16/21 17:01:06.445874 zmc_dvideo0[3486].DB6-zm_local_camera.cpp/1248 [Choosing format: 32-bit BGRA/X 8-8-8-8 (0x42475234) at index 6]
02/16/21 17:01:06.445890 zmc_dvideo0[3486].INF-zm_local_camera.cpp/385 [Selected capture palette: 32-bit BGRA/X 8-8-8-8 (0x34524742)]
02/16/21 17:01:06.445908 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/654 [Selected subpixelorder: 7]
02/16/21 17:01:06.445928 zmc_dvideo0[3486].DB4-zm_image.cpp/302 [Blend: Using SSE2 fast blend function]
02/16/21 17:01:06.445946 zmc_dvideo0[3486].DB4-zm_image.cpp/364 [Delta: Using SSSE3 delta functions]
02/16/21 17:01:06.445960 zmc_dvideo0[3486].DB4-zm_image.cpp/465 [Deinterlace: Using standard functions]
02/16/21 17:01:06.445972 zmc_dvideo0[3486].DB4-zm_image.cpp/478 [Image buffer copy: Using standard memcpy]
02/16/21 17:01:06.446005 zmc_dvideo0[3486].DB1-zm_monitor.cpp/382 [encoder params # Lines beginning with # are a comment 
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf=23]
02/16/21 17:01:06.446052 zmc_dvideo0[3486].DB7-zm_video.cpp/585 [Parsed 4 lines]
02/16/21 17:01:06.446073 zmc_dvideo0[3486].DB1-zm_monitor.cpp/424 [monitor purpose=1]
02/16/21 17:01:06.446087 zmc_dvideo0[3486].DB1-zm_monitor.cpp/438 [mem.size(8) SharedData=600 TriggerData=560 VideoStoreData=4128 timestamps=160 images=10x1750656 = 17506560 total=17512072]
02/16/21 17:01:06.446100 zmc_dvideo0[3486].DB1-zm_storage.cpp/94 [No id passed to Storage constructor.  Using default path /var/cache/zoneminder/events instead]
02/16/21 17:01:06.446112 zmc_dvideo0[3486].DB1-zm_monitor.cpp/442 [Storage path: /var/cache/zoneminder/events]
02/16/21 17:01:06.446128 zmc_dvideo0[3486].DB3-zm_monitor.cpp/557 [Connecting to monitor.  Purpose is 1]
02/16/21 17:01:06.446146 zmc_dvideo0[3486].DB3-zm_monitor.cpp/565 [Success opening mmap file at (/dev/shm/zm.mmap.11)]
02/16/21 17:01:06.446160 zmc_dvideo0[3486].DB3-zm_monitor.cpp/594 [MMap file size is 17512072]
02/16/21 17:01:06.446175 zmc_dvideo0[3486].DB1-zm_monitor.cpp/599 [Unable to map file /dev/shm/zm.mmap.11 (17512072 bytes) to locked memory, trying unlocked]
02/16/21 17:01:06.446192 zmc_dvideo0[3486].DB1-zm_monitor.cpp/602 [Mapped file /dev/shm/zm.mmap.11 (17512072 bytes) to unlocked memory]
02/16/21 17:01:06.446209 zmc_dvideo0[3486].DB3-zm_monitor.cpp/614 [mmapped to 0x7f3338ae9000]
02/16/21 17:01:06.446224 zmc_dvideo0[3486].DB3-zm_monitor.cpp/634 [Aligning shared memory images to the next 64 byte boundary]
02/16/21 17:01:06.446236 zmc_dvideo0[3486].DB3-zm_monitor.cpp/637 [Allocating 10 image buffers]
02/16/21 17:01:06.446252 zmc_dvideo0[3486].DB3-zm_monitor.cpp/668 [Success connecting]
02/16/21 17:01:06.452640 zmc_dvideo0[3486].DB1-zm_monitor.cpp/517 [Monitor Monitor-11 has function 2,
label format = '%N - %d/%m/%y %H:%M:%S', label X = 0, label Y = 0, label size = 1,
image buffer count = 10, warmup count = 0, pre-event count = 5, post-event count = 5, alarm frame count = 1,
fps report interval = 2, ref blend percentage = 6, alarm ref blend percentage = 6, track motion = 0]
02/16/21 17:01:06.452875 zmc_dvideo0[3486].DB1-zm_zone.cpp/884 [Got 1 zones for monitor Monitor-11]
02/16/21 17:01:06.452905 zmc_dvideo0[3486].DB5-zm_zone.cpp/915 [Parsing polygon 0,0 751,0 751,581 0,581]
02/16/21 17:01:06.452919 zmc_dvideo0[3486].DB3-zm_zone.cpp/759 [Parsing polygon string '0,0 751,0 751,581 0,581']
02/16/21 17:01:06.452933 zmc_dvideo0[3486].DB3-zm_zone.cpp/791 [Got coordinate 0,0 from polygon string]
02/16/21 17:01:06.452945 zmc_dvideo0[3486].DB3-zm_zone.cpp/791 [Got coordinate 751,0 from polygon string]
02/16/21 17:01:06.452958 zmc_dvideo0[3486].DB3-zm_zone.cpp/791 [Got coordinate 751,581 from polygon string]
02/16/21 17:01:06.452970 zmc_dvideo0[3486].DB3-zm_zone.cpp/791 [Got coordinate 0,581 from polygon string]
02/16/21 17:01:06.452992 zmc_dvideo0[3486].DB3-zm_zone.cpp/811 [Successfully parsed polygon string]
02/16/21 17:01:06.453005 zmc_dvideo0[3486].ERR-zm_zone.cpp/926 [Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring]
02/16/21 17:01:06.487462 zmc_dvideo0[3486].DB1-zm_monitor.cpp/2395 [Loaded monitor 11(Monitor-11), 0 zones]
02/16/21 17:01:06.487520 zmc_dvideo0[3486].INF-zmc.cpp/223 [Starting Capture version 1.34.22]
02/16/21 17:01:06.487678 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/711 [Opening video device /dev/video0]
02/16/21 17:01:06.487715 zmc_dvideo0[3486].DB2-zm_local_camera.cpp/724 [V4L2 support enabled, using V4L2 api]
02/16/21 17:01:06.487729 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/728 [Checking video device capabilities]
02/16/21 17:01:06.487745 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/738 [Setting up video format]
02/16/21 17:01:06.487761 zmc_dvideo0[3486].DB4-zm_local_camera.cpp/765 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 000002d0
 v4l2_data.fmt.fmt.pix.height = 00000246
 v4l2_data.fmt.fmt.pix.pixelformat = 34524742
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 00000b40
 v4l2_data.fmt.fmt.pix.sizeimage = 00199380
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/16/21 17:01:06.487781 zmc_dvideo0[3486].DB4-zm_local_camera.cpp/808 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 000002d0
 v4l2_data.fmt.fmt.pix.height = 00000246
 v4l2_data.fmt.fmt.pix.pixelformat = 34524742
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 00000b40
 v4l2_data.fmt.fmt.pix.sizeimage = 00199380
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/16/21 17:01:06.487795 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/850 [Setting up request buffers]
02/16/21 17:01:06.487808 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/863 [Request buffers count is 8]
02/16/21 17:01:06.488327 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/880 [Setting up data buffers: Channels 1 MultiBuffer 1 Buffers: 2]
02/16/21 17:01:06.488438 zmc_dvideo0[3486].DB3-zm_local_camera.cpp/935 [Configuring video source]
02/16/21 17:01:06.488473 zmc_dvideo0[3486].FAT-zm_local_camera.cpp/957 [Failed to set video standard 255: 16 Device or resource busy]
02/16/21 17:01:26.636968 zmc_dvideo0[3494].DB1-zm_logger.cpp/255 [LogOpts: level=DB9 effective=DB9, screen=OFF, database=WAR, logfile=DB9->/tmp/zm/loglevel9, syslog=DB9]
02/16/21 17:01:26.637301 zmc_dvideo0[3494].DB1-zm_utils.cpp/275 [Detected a x86\x86-64 processor with SSE4.2]
02/16/21 17:01:26.637338 zmc_dvideo0[3494].DB1-zm_monitor.cpp/1996 [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']
02/16/21 17:01:26.637782 zmc_dvideo0[3494].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']
02/16/21 17:01:26.637857 zmc_dvideo0[3494].DB1-zm_monitor.cpp/2004 [Got 1 monitors]
02/16/21 17:01:26.637890 zmc_dvideo0[3494].DB2-zm_camera.cpp/56 [New camera id: 11 width: 752 line size: 3008 height: 582 colours: 4 subpixelorder: 8 capture: 1]
02/16/21 17:01:26.637912 zmc_dvideo0[3494].DB2-zm_local_camera.cpp/346 [V4L support enabled, using V4L2 api]
02/16/21 17:01:26.637928 zmc_dvideo0[3494].DB2-zm_local_camera.cpp/365 [little-endian processor detected]
02/16/21 17:01:26.637941 zmc_dvideo0[3494].DB2-zm_local_camera.cpp/377 [Using automatic format selection]
02/16/21 17:01:26.637970 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 (0x4f424752) at index 0]
02/16/21 17:01:26.637991 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 BE (0x51424752) at index 1]
02/16/21 17:01:26.638006 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 (0x50424752) at index 2]
02/16/21 17:01:26.638019 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 BE (0x52424752) at index 3]
02/16/21 17:01:26.638033 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit BGR 8-8-8 (0x33524742) at index 4]
02/16/21 17:01:26.638046 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit RGB 8-8-8 (0x33424752) at index 5]
02/16/21 17:01:26.638059 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit BGRA/X 8-8-8-8 (0x34524742) at index 6]
02/16/21 17:01:26.638073 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit A/XRGB 8-8-8-8 (0x34424752) at index 7]
02/16/21 17:01:26.638087 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: YUYV 4:2:2 (0x56595559) at index 8]
02/16/21 17:01:26.638100 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/1219 [Got format: UYVY 4:2:2 (0x59565955) at index 9]
02/16/21 17:01:26.638114 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 (0x5247424f) at index 0]
02/16/21 17:01:26.638127 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 BE (0x52474251) at index 1]
02/16/21 17:01:26.638139 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 (0x52474250) at index 2]
02/16/21 17:01:26.638151 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 BE (0x52474252) at index 3]
02/16/21 17:01:26.638163 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit BGR 8-8-8 (0x42475233) at index 4]
02/16/21 17:01:26.638175 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit RGB 8-8-8 (0x52474233) at index 5]
02/16/21 17:01:26.638195 zmc_dvideo0[3494].DB6-zm_local_camera.cpp/1248 [Choosing format: 32-bit BGRA/X 8-8-8-8 (0x42475234) at index 6]
02/16/21 17:01:26.638212 zmc_dvideo0[3494].INF-zm_local_camera.cpp/385 [Selected capture palette: 32-bit BGRA/X 8-8-8-8 (0x34524742)]
02/16/21 17:01:26.638230 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/654 [Selected subpixelorder: 7]
02/16/21 17:01:26.638247 zmc_dvideo0[3494].DB4-zm_image.cpp/302 [Blend: Using SSE2 fast blend function]
02/16/21 17:01:26.638265 zmc_dvideo0[3494].DB4-zm_image.cpp/364 [Delta: Using SSSE3 delta functions]
02/16/21 17:01:26.638279 zmc_dvideo0[3494].DB4-zm_image.cpp/465 [Deinterlace: Using standard functions]
02/16/21 17:01:26.638291 zmc_dvideo0[3494].DB4-zm_image.cpp/478 [Image buffer copy: Using standard memcpy]
02/16/21 17:01:26.638322 zmc_dvideo0[3494].DB1-zm_monitor.cpp/382 [encoder params # Lines beginning with # are a comment 
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf=23]
02/16/21 17:01:26.638369 zmc_dvideo0[3494].DB7-zm_video.cpp/585 [Parsed 4 lines]
02/16/21 17:01:26.638390 zmc_dvideo0[3494].DB1-zm_monitor.cpp/424 [monitor purpose=1]
02/16/21 17:01:26.638402 zmc_dvideo0[3494].DB1-zm_monitor.cpp/438 [mem.size(8) SharedData=600 TriggerData=560 VideoStoreData=4128 timestamps=160 images=10x1750656 = 17506560 total=17512072]
02/16/21 17:01:26.638416 zmc_dvideo0[3494].DB1-zm_storage.cpp/94 [No id passed to Storage constructor.  Using default path /var/cache/zoneminder/events instead]
02/16/21 17:01:26.638428 zmc_dvideo0[3494].DB1-zm_monitor.cpp/442 [Storage path: /var/cache/zoneminder/events]
02/16/21 17:01:26.638444 zmc_dvideo0[3494].DB3-zm_monitor.cpp/557 [Connecting to monitor.  Purpose is 1]
02/16/21 17:01:26.638462 zmc_dvideo0[3494].DB3-zm_monitor.cpp/565 [Success opening mmap file at (/dev/shm/zm.mmap.11)]
02/16/21 17:01:26.638475 zmc_dvideo0[3494].DB3-zm_monitor.cpp/594 [MMap file size is 17512072]
02/16/21 17:01:26.638490 zmc_dvideo0[3494].DB1-zm_monitor.cpp/599 [Unable to map file /dev/shm/zm.mmap.11 (17512072 bytes) to locked memory, trying unlocked]
02/16/21 17:01:26.638506 zmc_dvideo0[3494].DB1-zm_monitor.cpp/602 [Mapped file /dev/shm/zm.mmap.11 (17512072 bytes) to unlocked memory]
02/16/21 17:01:26.638520 zmc_dvideo0[3494].DB3-zm_monitor.cpp/614 [mmapped to 0x7fc607d68000]
02/16/21 17:01:26.638532 zmc_dvideo0[3494].DB3-zm_monitor.cpp/634 [Aligning shared memory images to the next 64 byte boundary]
02/16/21 17:01:26.638544 zmc_dvideo0[3494].DB3-zm_monitor.cpp/637 [Allocating 10 image buffers]
02/16/21 17:01:26.638559 zmc_dvideo0[3494].DB3-zm_monitor.cpp/668 [Success connecting]
02/16/21 17:01:26.645012 zmc_dvideo0[3494].DB1-zm_monitor.cpp/517 [Monitor Monitor-11 has function 2,
label format = '%N - %d/%m/%y %H:%M:%S', label X = 0, label Y = 0, label size = 1,
image buffer count = 10, warmup count = 0, pre-event count = 5, post-event count = 5, alarm frame count = 1,
fps report interval = 2, ref blend percentage = 6, alarm ref blend percentage = 6, track motion = 0]
02/16/21 17:01:26.645330 zmc_dvideo0[3494].DB1-zm_zone.cpp/884 [Got 1 zones for monitor Monitor-11]
02/16/21 17:01:26.645372 zmc_dvideo0[3494].DB5-zm_zone.cpp/915 [Parsing polygon 0,0 751,0 751,581 0,581]
02/16/21 17:01:26.645397 zmc_dvideo0[3494].DB3-zm_zone.cpp/759 [Parsing polygon string '0,0 751,0 751,581 0,581']
02/16/21 17:01:26.645422 zmc_dvideo0[3494].DB3-zm_zone.cpp/791 [Got coordinate 0,0 from polygon string]
02/16/21 17:01:26.645442 zmc_dvideo0[3494].DB3-zm_zone.cpp/791 [Got coordinate 751,0 from polygon string]
02/16/21 17:01:26.645454 zmc_dvideo0[3494].DB3-zm_zone.cpp/791 [Got coordinate 751,581 from polygon string]
02/16/21 17:01:26.645465 zmc_dvideo0[3494].DB3-zm_zone.cpp/791 [Got coordinate 0,581 from polygon string]
02/16/21 17:01:26.645485 zmc_dvideo0[3494].DB3-zm_zone.cpp/811 [Successfully parsed polygon string]
02/16/21 17:01:26.645498 zmc_dvideo0[3494].ERR-zm_zone.cpp/926 [Zone 11/All for monitor Monitor-11 extends outside of image dimensions, (0,0), (751,581), ignoring]
02/16/21 17:01:26.669896 zmc_dvideo0[3494].DB1-zm_monitor.cpp/2395 [Loaded monitor 11(Monitor-11), 0 zones]
02/16/21 17:01:26.669952 zmc_dvideo0[3494].INF-zmc.cpp/223 [Starting Capture version 1.34.22]
02/16/21 17:01:26.670170 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/711 [Opening video device /dev/video0]
02/16/21 17:01:26.670215 zmc_dvideo0[3494].DB2-zm_local_camera.cpp/724 [V4L2 support enabled, using V4L2 api]
02/16/21 17:01:26.670240 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/728 [Checking video device capabilities]
02/16/21 17:01:26.670267 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/738 [Setting up video format]
02/16/21 17:01:26.670294 zmc_dvideo0[3494].DB4-zm_local_camera.cpp/765 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 000002d0
 v4l2_data.fmt.fmt.pix.height = 00000246
 v4l2_data.fmt.fmt.pix.pixelformat = 34524742
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 00000b40
 v4l2_data.fmt.fmt.pix.sizeimage = 00199380
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/16/21 17:01:26.670321 zmc_dvideo0[3494].DB4-zm_local_camera.cpp/808 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 000002d0
 v4l2_data.fmt.fmt.pix.height = 00000246
 v4l2_data.fmt.fmt.pix.pixelformat = 34524742
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 00000b40
 v4l2_data.fmt.fmt.pix.sizeimage = 00199380
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/16/21 17:01:26.670336 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/850 [Setting up request buffers]
02/16/21 17:01:26.670348 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/863 [Request buffers count is 8]
02/16/21 17:01:26.670856 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/880 [Setting up data buffers: Channels 1 MultiBuffer 1 Buffers: 2]
02/16/21 17:01:26.670971 zmc_dvideo0[3494].DB3-zm_local_camera.cpp/935 [Configuring video source]
02/16/21 17:01:26.671005 zmc_dvideo0[3494].FAT-zm_local_camera.cpp/957 [Failed to set video standard 255: 16 Device or resource busy]
02/16/21 17:02:06.840256 zmc_dvideo0[3497].DB1-zm_logger.cpp/255 [LogOpts: level=DB9 effective=DB9, screen=OFF, database=WAR, logfile=DB9->/tmp/zm/loglevel9, syslog=DB9]
02/16/21 17:02:06.840589 zmc_dvideo0[3497].DB1-zm_utils.cpp/275 [Detected a x86\x86-64 processor with SSE4.2]
02/16/21 17:02:06.840626 zmc_dvideo0[3497].DB1-zm_monitor.cpp/1996 [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']
02/16/21 17:02:06.840729 zmc_dvideo0[3497].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']
02/16/21 17:02:06.840767 zmc_dvideo0[3497].DB1-zm_monitor.cpp/2004 [Got 1 monitors]
02/16/21 17:02:06.840795 zmc_dvideo0[3497].DB2-zm_camera.cpp/56 [New camera id: 11 width: 752 line size: 3008 height: 582 colours: 4 subpixelorder: 8 capture: 1]
02/16/21 17:02:06.840819 zmc_dvideo0[3497].DB2-zm_local_camera.cpp/346 [V4L support enabled, using V4L2 api]
02/16/21 17:02:06.840835 zmc_dvideo0[3497].DB2-zm_local_camera.cpp/365 [little-endian processor detected]
02/16/21 17:02:06.840848 zmc_dvideo0[3497].DB2-zm_local_camera.cpp/377 [Using automatic format selection]
02/16/21 17:02:06.840877 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 (0x4f424752) at index 0]
02/16/21 17:02:06.840895 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit A/XRGB 1-5-5-5 BE (0x51424752) at index 1]
02/16/21 17:02:06.840909 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 (0x50424752) at index 2]
02/16/21 17:02:06.840924 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 16-bit RGB 5-6-5 BE (0x52424752) at index 3]
02/16/21 17:02:06.840938 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit BGR 8-8-8 (0x33524742) at index 4]
02/16/21 17:02:06.840951 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 24-bit RGB 8-8-8 (0x33424752) at index 5]
02/16/21 17:02:06.840965 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit BGRA/X 8-8-8-8 (0x34524742) at index 6]
02/16/21 17:02:06.840979 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: 32-bit A/XRGB 8-8-8-8 (0x34424752) at index 7]
02/16/21 17:02:06.840993 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: YUYV 4:2:2 (0x56595559) at index 8]
02/16/21 17:02:06.841008 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/1219 [Got format: UYVY 4:2:2 (0x59565955) at index 9]
02/16/21 17:02:06.841022 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 (0x5247424f) at index 0]
02/16/21 17:02:06.841035 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit A/XRGB 1-5-5-5 BE (0x52474251) at index 1]
02/16/21 17:02:06.841047 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 (0x52474250) at index 2]
02/16/21 17:02:06.841059 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 16-bit RGB 5-6-5 BE (0x52474252) at index 3]
02/16/21 17:02:06.841071 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit BGR 8-8-8 (0x42475233) at index 4]
02/16/21 17:02:06.841084 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1254 [No match for format: 24-bit RGB 8-8-8 (0x52474233) at index 5]
02/16/21 17:02:06.841096 zmc_dvideo0[3497].DB6-zm_local_camera.cpp/1248 [Choosing format: 32-bit BGRA/X 8-8-8-8 (0x42475234) at index 6]
02/16/21 17:02:06.841112 zmc_dvideo0[3497].INF-zm_local_camera.cpp/385 [Selected capture palette: 32-bit BGRA/X 8-8-8-8 (0x34524742)]
02/16/21 17:02:06.841130 zmc_dvideo0[3497].DB3-zm_local_camera.cpp/654 [Selected subpixelorder: 7]
02/16/21 17:02:06.841149 zmc_dvideo0[3497].DB4-zm_image.cpp/302 [Blend: Using SSE2 fast blend function]
02/16/21 17:02:06.841168 zmc_dvideo0[3497].DB4-zm_image.cpp/364 [Delta: Using SSSE3 delta functions]
02/16/21 17:02:06.841182 zmc_dvideo0[3497].DB4-zm_image.cpp/465 [Deinterlace: Using standard functions]
02/16/21 17:02:06.841195 zmc_dvideo0[3497].DB4-zm_image.cpp/478 [Image buffer copy: Using standard memcpy]
02/16/21 17:02:06.841225 zmc_dvideo0[3497].DB1-zm_monitor.cpp/382 [encoder params # Lines beginning with # are a comment 
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf=23]
@connortechnology
Copy link
Member

We are likely not going to be able to fix this without access to this card to test against. Would that be possible?

In the meantime, I have changed the code in master to make this a non-fatal error. So please update and report.

@TP234-CPE
Copy link
Author

Thank you for taking time ! Yes that is doable, how do you want to proceed?

@TP234-CPE
Copy link
Author

I updated the software I can now access the video stream even if the image is a bit shaky and glitchy but the driver tw68 generates tons of system error messages (it was doing the same when I used LibVLC as source so probably a tw68 issue) :

[ 7067.100538] tw68 0000:03:05.0: PABORT interrupt
[ 7067.107737] tw68 0000:03:04.0: PABORT interrupt
[ 7067.108057] tw68 0000:03:05.0: PABORT interrupt

I still have the error but not fatal as it was planned :

2021-02-17 19:39:12	zmc_dvideo0		27797	ERR	Failed to set video standard 255: 16 Device or resource busy]	zm_local_camera.cpp	952
2021-02-17 19:39:12	zmdc		25572	WAR	Can't find process with command of 'zmc -d /dev/video0'	zmdc.pl

The real issue is that I still cannot use 2 cameras on the the same device but using different channel. When I try to do so, none of them are working, I have this new fatal error "[Unable to initialise memory mapping: Device or resource busy]" and I get this logs (level 9) :

02/17/21 22:03:21.730335 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [475 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:21.730353 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [476 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:21.730366 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [476 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:21.730383 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [477 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:21.730396 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [477 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:21.730413 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [478 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:21.730426 zmc_dvideo0[5560].DB9-zm_image.cpp/2526 [478 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:21.730442 zmc_dvideo0[5560].DB9-zm_image.cpp/2567 [Deleting active_edge]
02/17/21 22:03:21.730454 zmc_dvideo0[5560].DB9-zm_image.cpp/2567 [Deleting active_edge]
02/17/21 22:03:21.731118 zmc_dvideo0[5560].DB2-zm_camera.cpp/64 [New camera id: 14 width: 640 line size: 640 height: 480 colours: 1 subpixelorder: 2 capture: 1]
02/17/21 22:03:21.731141 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/359 [little-endian processor detected]
02/17/21 22:03:21.731154 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/371 [Using automatic format selection]
02/17/21 22:03:21.731180 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 16-bit A/XRGB 1-5-5-5 (0x4f424752) at index 0]
02/17/21 22:03:21.731197 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 16-bit A/XRGB 1-5-5-5 BE (0x51424752) at index 1]
02/17/21 22:03:21.731212 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 16-bit RGB 5-6-5 (0x50424752) at index 2]
02/17/21 22:03:21.731226 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 16-bit RGB 5-6-5 BE (0x52424752) at index 3]
02/17/21 22:03:21.731240 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 24-bit BGR 8-8-8 (0x33524742) at index 4]
02/17/21 22:03:21.731254 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 24-bit RGB 8-8-8 (0x33424752) at index 5]
02/17/21 22:03:21.731268 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 32-bit BGRA/X 8-8-8-8 (0x34524742) at index 6]
02/17/21 22:03:21.731282 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: 32-bit A/XRGB 8-8-8-8 (0x34424752) at index 7]
02/17/21 22:03:21.731296 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: YUYV 4:2:2 (0x56595559) at index 8]
02/17/21 22:03:21.731310 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1214 [Got format: UYVY 4:2:2 (0x59565955) at index 9]
02/17/21 22:03:21.731324 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit A/XRGB 1-5-5-5 (0x5247424f) at index 0]
02/17/21 22:03:21.731337 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit A/XRGB 1-5-5-5 BE (0x52474251) at index 1]
02/17/21 22:03:21.731350 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit RGB 5-6-5 (0x52474250) at index 2]
02/17/21 22:03:21.731363 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit RGB 5-6-5 BE (0x52474252) at index 3]
02/17/21 22:03:21.731376 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 24-bit BGR 8-8-8 (0x42475233) at index 4]
02/17/21 22:03:21.731389 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 24-bit RGB 8-8-8 (0x52474233) at index 5]
02/17/21 22:03:21.731401 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 32-bit BGRA/X 8-8-8-8 (0x42475234) at index 6]
02/17/21 22:03:21.731413 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 32-bit A/XRGB 8-8-8-8 (0x52474234) at index 7]
02/17/21 22:03:21.731426 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: YUYV 4:2:2 (0x59555956) at index 8]
02/17/21 22:03:21.731438 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: UYVY 4:2:2 (0x55595659) at index 9]
02/17/21 22:03:21.731451 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit A/XRGB 1-5-5-5 (0x5247424f) at index 0]
02/17/21 22:03:21.731469 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit A/XRGB 1-5-5-5 BE (0x52474251) at index 1]
02/17/21 22:03:21.731483 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit RGB 5-6-5 (0x52474250) at index 2]
02/17/21 22:03:21.731495 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 16-bit RGB 5-6-5 BE (0x52474252) at index 3]
02/17/21 22:03:21.731507 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 24-bit BGR 8-8-8 (0x42475233) at index 4]
02/17/21 22:03:21.731520 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 24-bit RGB 8-8-8 (0x52474233) at index 5]
02/17/21 22:03:21.731532 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 32-bit BGRA/X 8-8-8-8 (0x42475234) at index 6]
02/17/21 22:03:21.731544 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1249 [No match for format: 32-bit A/XRGB 8-8-8-8 (0x52474234) at index 7]
02/17/21 22:03:21.731557 zmc_dvideo0[5560].DB6-zm_local_camera.cpp/1243 [Choosing format: YUYV 4:2:2 (0x59555956) at index 8]
02/17/21 22:03:21.731574 zmc_dvideo0[5560].INF-zm_local_camera.cpp/379 [Selected capture palette: YUYV 4:2:2 (0x56595559)]
02/17/21 22:03:21.731588 zmc_dvideo0[5560].INF-zm_local_camera.cpp/437 [No direct match for the selected palette (0x00000001) and target colorspace (01). Format conversion is required, performance penalty expected]
02/17/21 22:03:21.731603 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/445 [Using swscale for image conversion]
02/17/21 22:03:21.731616 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/488 [Using ZM for image conversion]
02/17/21 22:03:21.731628 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/499 [Using SSSE3 YUYV->grayscale fast conversion]
02/17/21 22:03:21.731641 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/644 [Selected subpixelorder: 2]
02/17/21 22:03:21.731657 zmc_dvideo0[5560].DB1-zm_monitor.cpp/629 [Decoding enabled: 1]
02/17/21 22:03:21.731670 zmc_dvideo0[5560].DB1-zm_monitor.cpp/644 [Loaded monitor 14(Clone of Monitor-11), 1 zones]
02/17/21 22:03:21.731685 zmc_dvideo0[5560].DB2-zmc.cpp/216 [2 monitors loaded]
02/17/21 22:03:21.731699 zmc_dvideo0[5560].INF-zmc.cpp/220 [Starting Capture version 1.35.18]
02/17/21 22:03:21.731721 zmc_dvideo0[5560].DB3-zm_monitor.cpp/859 [Connecting to monitor.  Purpose is 1]
02/17/21 22:03:21.731740 zmc_dvideo0[5560].DB3-zm_monitor.cpp/872 [Success opening mmap file at (/dev/shm/zm.mmap.11)]
02/17/21 22:03:21.731755 zmc_dvideo0[5560].DB3-zm_monitor.cpp/901 [MMap file size is 3077544]
02/17/21 22:03:21.731772 zmc_dvideo0[5560].DB1-zm_monitor.cpp/906 [Unable to map file /dev/shm/zm.mmap.11 (3077544 bytes) to locked memory, trying unlocked]
02/17/21 22:03:21.731789 zmc_dvideo0[5560].DB1-zm_monitor.cpp/909 [Mapped file /dev/shm/zm.mmap.11 (3077544 bytes) to unlocked memory]
02/17/21 22:03:21.731803 zmc_dvideo0[5560].DB3-zm_monitor.cpp/949 [Aligning shared memory images to the next 64 byte boundary]
02/17/21 22:03:21.731815 zmc_dvideo0[5560].DB3-zm_monitor.cpp/955 [Allocating 10 image buffers]
02/17/21 22:03:21.737961 zmc_dvideo0[5560].DB1-zm_monitor.cpp/972 [shared.size=632]
02/17/21 22:03:21.738017 zmc_dvideo0[5560].DB3-zm_monitor.cpp/1020 [Success connecting]
02/17/21 22:03:21.738354 zmc_dvideo0[5560].DB3-zm_monitor.cpp/859 [Connecting to monitor.  Purpose is 1]
02/17/21 22:03:21.738388 zmc_dvideo0[5560].DB3-zm_monitor.cpp/872 [Success opening mmap file at (/dev/shm/zm.mmap.14)]
02/17/21 22:03:21.738404 zmc_dvideo0[5560].DB3-zm_monitor.cpp/901 [MMap file size is 3077544]
02/17/21 22:03:21.738426 zmc_dvideo0[5560].DB1-zm_monitor.cpp/906 [Unable to map file /dev/shm/zm.mmap.14 (3077544 bytes) to locked memory, trying unlocked]
02/17/21 22:03:21.738446 zmc_dvideo0[5560].DB1-zm_monitor.cpp/909 [Mapped file /dev/shm/zm.mmap.14 (3077544 bytes) to unlocked memory]
02/17/21 22:03:21.738460 zmc_dvideo0[5560].DB3-zm_monitor.cpp/949 [Aligning shared memory images to the next 64 byte boundary]
02/17/21 22:03:21.738472 zmc_dvideo0[5560].DB3-zm_monitor.cpp/955 [Allocating 10 image buffers]
02/17/21 22:03:21.739617 zmc_dvideo0[5560].DB1-zm_monitor.cpp/972 [shared.size=632]
02/17/21 22:03:21.739655 zmc_dvideo0[5560].DB3-zm_monitor.cpp/1020 [Success connecting]
02/17/21 22:03:21.739939 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/698 [Opening video device /dev/video0]
02/17/21 22:03:21.739976 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/711 [V4L2 support enabled, using V4L2 api]
02/17/21 22:03:21.739991 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/715 [Checking video device capabilities]
02/17/21 22:03:21.740008 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/725 [Setting up video format]
02/17/21 22:03:21.740024 zmc_dvideo0[5560].DB4-zm_local_camera.cpp/752 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 640
 v4l2_data.fmt.fmt.pix.height = 480
 v4l2_data.fmt.fmt.pix.pixelformat = 56595559
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 1280
 v4l2_data.fmt.fmt.pix.sizeimage = 614400
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/17/21 22:03:21.740043 zmc_dvideo0[5560].DB4-zm_local_camera.cpp/795 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 640
 v4l2_data.fmt.fmt.pix.height = 480
 v4l2_data.fmt.fmt.pix.pixelformat = 56595559
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 1280
 v4l2_data.fmt.fmt.pix.sizeimage = 614400
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/17/21 22:03:21.740057 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/844 [Setting up request buffers]
02/17/21 22:03:21.740070 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/848 [Channel count is 2]
02/17/21 22:03:21.740082 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/857 [Request buffers count is 4]
02/17/21 22:03:21.740478 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/874 [Setting up data buffers: Channels 2 MultiBuffer 1 Buffers: 4]
02/17/21 22:03:21.740580 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/930 [Configuring video source]
02/17/21 22:03:21.740614 zmc_dvideo0[5560].ERR-zm_local_camera.cpp/952 [Failed to set video standard 255: 16 Device or resource busy]
02/17/21 22:03:21.740636 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/1976 [Priming capture]
02/17/21 22:03:21.740649 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1979 [Queueing (4) buffers]
02/17/21 22:03:21.740679 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/1997 [Starting video stream]
02/17/21 22:03:21.740704 zmc_dvideo0[5560].DB2-zm_monitor.cpp/2933 [Video stream id is 0, audio is -1, minimum_packets to keep in buffer 5]
02/17/21 22:03:21.785715 zmc_dvideo0[5560].DB2-zmc.cpp/302 [capture delay(0 mSecs 1000/capture_fps) alarm delay(0)]
02/17/21 22:03:21.785779 zmc_dvideo0[5560].DB2-zmc.cpp/302 [capture delay(0 mSecs 1000/capture_fps) alarm delay(0)]
02/17/21 22:03:21.785816 zmc_dvideo0[5560].DB4-zm_monitor.cpp/2488 [Capturing]
02/17/21 22:03:21.785894 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/2052 [Capturing 1 frames]
02/17/21 22:03:21.815080 zmc_dvideo0[5560].DB5-zm_local_camera.cpp/2062 [Captured a frame]
02/17/21 22:03:21.815141 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/2076 [Captured frame 0/0 from channel 0]
02/17/21 22:03:21.815184 zmc_dvideo0[5560].DB1-zm_local_camera.cpp/2121 [Allocating image]
02/17/21 22:03:21.815242 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/2126 [Performing format conversion 2]
02/17/21 22:03:21.815304 zmc_dvideo0[5560].DB9-zm_local_camera.cpp/2158 [Calling the conversion function]
02/17/21 22:03:21.815760 zmc_dvideo0[5560].DB4-zm_monitor.cpp/2490 [Back from capture result=1]
02/17/21 22:03:21.815786 zmc_dvideo0[5560].DB2-zm_monitor.cpp/2515 [Have packet stream_index:0 ?= videostream_id:(0) q.vpktcount(0) event?(0) ]
02/17/21 22:03:21.815801 zmc_dvideo0[5560].DB1-zm_monitor.cpp/2599 [Timestampprivacy]
02/17/21 22:03:21.815818 zmc_dvideo0[5560].DB2-zm_monitor.cpp/2683 [annotating Monitor-11 - 17/02/21 22:03:21]
02/17/21 22:03:21.815831 zmc_dvideo0[5560].DB4-zm_image.cpp/2006 [Font size 1, char_width 6 char_height 11]
02/17/21 22:03:21.815850 zmc_dvideo0[5560].DB2-zm_monitor.cpp/2685 [done annotating Monitor-11 - 17/02/21 22:03:21]
02/17/21 22:03:21.815871 zmc_dvideo0[5560].DB1-zm_monitor.cpp/2605 [Assigning ref image 640x480 size: 307200]
02/17/21 22:03:21.816308 zmc_dvideo0[5560].DB4-zm_packetqueue.cpp/74 [packetqueue queuepacket 0x5596ffa7ce30 0]
02/17/21 22:03:21.816369 zmc_dvideo0[5560].DB4-zm_packetqueue.cpp/76 [No iterators so no one needs us to queue packets.]
02/17/21 22:03:21.816449 zmc_dvideo0[5560].DB4-zm_local_camera.cpp/2182 [Post-capturing]
02/17/21 22:03:21.816469 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/2189 [Switching video source to 1]
02/17/21 22:03:21.816526 zmc_dvideo0[5560].ERR-zm_local_camera.cpp/2197 [Failed to set video format 255: Device or resource busy]
02/17/21 22:03:21.816546 zmc_dvideo0[5560].ERR-zmc.cpp/340 [Failed to post-capture monitor 11 Monitor-11 (1/2)]
02/17/21 22:03:21.816602 zmc_dvideo0[5560].DB1-zmc.cpp/417 [Sleeping for 5]
02/17/21 22:03:26.816733 zmc_dvideo0[5560].DB3-zm_monitor.cpp/859 [Connecting to monitor.  Purpose is 1]
02/17/21 22:03:26.816821 zmc_dvideo0[5560].DB3-zm_monitor.cpp/872 [Success opening mmap file at (/dev/shm/zm.mmap.11)]
02/17/21 22:03:26.816864 zmc_dvideo0[5560].DB3-zm_monitor.cpp/901 [MMap file size is 3077544]
02/17/21 22:03:26.816895 zmc_dvideo0[5560].DB1-zm_monitor.cpp/906 [Unable to map file /dev/shm/zm.mmap.11 (3077544 bytes) to locked memory, trying unlocked]
02/17/21 22:03:26.816914 zmc_dvideo0[5560].DB1-zm_monitor.cpp/909 [Mapped file /dev/shm/zm.mmap.11 (3077544 bytes) to unlocked memory]
02/17/21 22:03:26.816927 zmc_dvideo0[5560].DB3-zm_monitor.cpp/949 [Aligning shared memory images to the next 64 byte boundary]
02/17/21 22:03:26.816940 zmc_dvideo0[5560].DB3-zm_monitor.cpp/955 [Allocating 10 image buffers]
02/17/21 22:03:26.818330 zmc_dvideo0[5560].DB1-zm_monitor.cpp/972 [shared.size=632]
02/17/21 22:03:26.818384 zmc_dvideo0[5560].DB3-zm_monitor.cpp/1020 [Success connecting]
02/17/21 22:03:26.833206 zmc_dvideo0[5560].DB3-zm_monitor.cpp/859 [Connecting to monitor.  Purpose is 1]
02/17/21 22:03:26.833282 zmc_dvideo0[5560].DB3-zm_monitor.cpp/872 [Success opening mmap file at (/dev/shm/zm.mmap.14)]
02/17/21 22:03:26.833326 zmc_dvideo0[5560].DB3-zm_monitor.cpp/901 [MMap file size is 3077544]
02/17/21 22:03:26.833372 zmc_dvideo0[5560].DB1-zm_monitor.cpp/906 [Unable to map file /dev/shm/zm.mmap.14 (3077544 bytes) to locked memory, trying unlocked]
02/17/21 22:03:26.833399 zmc_dvideo0[5560].DB1-zm_monitor.cpp/909 [Mapped file /dev/shm/zm.mmap.14 (3077544 bytes) to unlocked memory]
02/17/21 22:03:26.833413 zmc_dvideo0[5560].DB3-zm_monitor.cpp/949 [Aligning shared memory images to the next 64 byte boundary]
02/17/21 22:03:26.833449 zmc_dvideo0[5560].DB3-zm_monitor.cpp/955 [Allocating 10 image buffers]
02/17/21 22:03:26.834726 zmc_dvideo0[5560].DB1-zm_monitor.cpp/972 [shared.size=632]
02/17/21 22:03:26.834771 zmc_dvideo0[5560].DB3-zm_monitor.cpp/1020 [Success connecting]
02/17/21 22:03:26.882846 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/698 [Opening video device /dev/video0]
02/17/21 22:03:26.882927 zmc_dvideo0[5560].DB2-zm_local_camera.cpp/711 [V4L2 support enabled, using V4L2 api]
02/17/21 22:03:26.882969 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/715 [Checking video device capabilities]
02/17/21 22:03:26.883006 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/725 [Setting up video format]
02/17/21 22:03:26.883022 zmc_dvideo0[5560].DB4-zm_local_camera.cpp/752 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 640
 v4l2_data.fmt.fmt.pix.height = 480
 v4l2_data.fmt.fmt.pix.pixelformat = 56595559
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 1280
 v4l2_data.fmt.fmt.pix.sizeimage = 614400
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/17/21 22:03:26.883074 zmc_dvideo0[5560].DB4-zm_local_camera.cpp/795 [ v4l2_data.fmt.type = 00000001
 v4l2_data.fmt.fmt.pix.width = 640
 v4l2_data.fmt.fmt.pix.height = 480
 v4l2_data.fmt.fmt.pix.pixelformat = 56595559
 v4l2_data.fmt.fmt.pix.field = 00000004
 v4l2_data.fmt.fmt.pix.bytesperline = 1280
 v4l2_data.fmt.fmt.pix.sizeimage = 614400
 v4l2_data.fmt.fmt.pix.colorspace = 00000001
 v4l2_data.fmt.fmt.pix.priv = feedcafe
]
02/17/21 22:03:26.883099 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/844 [Setting up request buffers]
02/17/21 22:03:26.883113 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/848 [Channel count is 2]
02/17/21 22:03:26.883125 zmc_dvideo0[5560].DB3-zm_local_camera.cpp/857 [Request buffers count is 4]
02/17/21 22:03:26.883143 zmc_dvideo0[5560].FAT-zm_local_camera.cpp/866 [Unable to initialise memory mapping: Device or resource busy]
02/17/21 22:03:31.991996 zmc_dvideo0[5562].DB1-zm_logger.cpp/238 [LogOpts: level=DB9 effective=DB9, screen=OFF, database=OFF, logfile=DB9->/var/log/zm/loglevel9, syslog=DB9]
02/17/21 22:03:31.992074 zmc_dvideo0[5562].DB1-zm_utils.cpp/254 [Detected a x86\x86-64 processor with SSE4.2]
02/17/21 22:03:31.992093 zmc_dvideo0[5562].DB1-zm_monitor.cpp/2383 [Loading Monitors with SELECT `Id`, `Name`, `ServerId`, `StorageId`, `Type`, `Function`+0, `Enabled`, `DecodingEnabled`, `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`, `OutputCodec`, `Encoder`, `OutputContainer`, `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`, `RTSPServer`, `SignalCheckPoints`, `SignalCheckColour` FROM `Monitors` WHERE `Function` != 'None' AND `Type` = 'Local' AND `Device`='/dev/video0']
02/17/21 22:03:31.992533 zmc_dvideo0[5562].DB4-zm_db.cpp/137 [Success running query: SELECT `Id`, `Name`, `ServerId`, `StorageId`, `Type`, `Function`+0, `Enabled`, `DecodingEnabled`, `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`, `OutputCodec`, `Encoder`, `OutputContainer`, `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`, `RTSPServer`, `SignalCheckPoints`, `SignalCheckColour` FROM `Monitors` WHERE `Function` != 'None' AND `Type` = 'Local' AND `Device`='/dev/video0']
02/17/21 22:03:31.992562 zmc_dvideo0[5562].DB1-zm_monitor.cpp/2391 [Got 2 monitors]
02/17/21 22:03:31.992590 zmc_dvideo0[5562].DB4-zm_image.cpp/357 [Blend: Using SSE2 fast blend function]
02/17/21 22:03:31.992615 zmc_dvideo0[5562].DB4-zm_image.cpp/419 [Delta: Using SSSE3 delta functions]
02/17/21 22:03:31.992630 zmc_dvideo0[5562].DB4-zm_image.cpp/520 [Deinterlace: Using standard functions]
02/17/21 22:03:31.992643 zmc_dvideo0[5562].DB4-zm_image.cpp/533 [Image buffer copy: Using standard memcpy]
02/17/21 22:03:31.992819 zmc_dvideo0[5562].DB1-zm_storage.cpp/91 [No id passed to Storage constructor.  Using default path /var/cache/zoneminder/events instead]
02/17/21 22:03:31.992840 zmc_dvideo0[5562].DB1-zm_monitor.cpp/439 [Have camera type Local]
02/17/21 22:03:31.992853 zmc_dvideo0[5562].DB1-zm_monitor.cpp/2288 [Reloading linked monitors for monitor Monitor-11, '(null)']
02/17/21 22:03:31.992892 zmc_dvideo0[5562].DB7-zm_video.cpp/583 [Parsed 4 lines]
02/17/21 22:03:31.992930 zmc_dvideo0[5562].DB1-zm_monitor.cpp/603 [mem.size(8) SharedData=632 TriggerData=560 VideoStoreData=4128 timestamps=160 images=10x307200 = 3072000 total=3077544]
02/17/21 22:03:31.993008 zmc_dvideo0[5562].DB1-zm_zone.cpp/848 [Got 1 zones for monitor Monitor-11]
02/17/21 22:03:31.993035 zmc_dvideo0[5562].DB5-zm_zone.cpp/879 [Parsing polygon 0,0 639,0 639,479 0,479]
02/17/21 22:03:31.993049 zmc_dvideo0[5562].DB3-zm_zone.cpp/766 [Got coordinate 0,0 from polygon string]
02/17/21 22:03:31.993062 zmc_dvideo0[5562].DB3-zm_zone.cpp/766 [Got coordinate 639,0 from polygon string]
02/17/21 22:03:31.993074 zmc_dvideo0[5562].DB3-zm_zone.cpp/766 [Got coordinate 639,479 from polygon string]
02/17/21 22:03:31.993086 zmc_dvideo0[5562].DB3-zm_zone.cpp/766 [Got coordinate 0,479 from polygon string]
02/17/21 22:03:31.993098 zmc_dvideo0[5562].DB3-zm_zone.cpp/777 [Successfully parsed polygon string 0,479]
02/17/21 22:03:31.993252 zmc_dvideo0[5562].DB9-zm_image.cpp/2498 [0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:31.993278 zmc_dvideo0[5562].DB9-zm_image.cpp/2498 [1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:31.993294 zmc_dvideo0[5562].DB9-zm_image.cpp/2509 [Moving global edge]
02/17/21 22:03:31.993306 zmc_dvideo0[5562].DB9-zm_image.cpp/2509 [Moving global edge]
02/17/21 22:03:31.993318 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [0 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:31.993331 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [0 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:31.993348 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [1 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:31.993361 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [1 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]
02/17/21 22:03:31.993377 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [2 - 0: min_y: 0, max_y:479, min_x:0.00, 1/m:-0.00]
02/17/21 22:03:31.993390 zmc_dvideo0[5562].DB9-zm_image.cpp/2526 [2 - 1: min_y: 0, max_y:479, min_x:639.00, 1/m:0.00]

@TP234-CPE
Copy link
Author

@connortechnology Do you need anything else?

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants