Failed to set video standard 255: Device or resource busy

Forum for questions and support relating to the 1.28.x releases only.
Locked
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Failed to set video standard 255: Device or resource busy

Post by basinilya »

Hi.
ZM cannot start capture with Device Format = PAL, unless I explicitly set it with v4l2-ctl.
Zoneminder: 1.28.1
Device: EasyCAP 002 (USB)
OS: Arch Linux

After plugging:

Code: Select all

$ v4l2-ctl -d /dev/video0 -S
Video Standard = 0x00001000
        NTSC-M
picture is black and white in xawtv.
Working black and white config in ZM:
Device Format: NTSC-M
Capture Palette: Auto
Capture Width: 720
Capture Height: 480

In xawtv after changing to PAL, picture becomes colored. New config in Zm:
Device Format: PAL
Capture Palette: Auto
Capture Width: 720
Capture Height: 576

But after replugging/rebooting ZM cannot start capture:

Code: Select all

Aug 18 14:42:40 mar.lan zmdc[998]: INF [Starting pending process, zmc -d /dev/video0]
Aug 18 14:42:40 mar.lan zmdc[3879]: INF ['zmc -d /dev/video0' started at 15/08/18 14:42:40]
Aug 18 14:42:40 mar.lan zmdc[998]: INF ['zmc -d /dev/video0' starting at 15/08/18 14:42:40, pid = 3879]
Aug 18 14:42:40 mar.lan zmc_dvideo0[3879]: INF [Selected capture palette: 16 bpp YUY2, 4:2:2, packed (UYVY)]
Aug 18 14:42:40 mar.lan zmc_dvideo0[3879]: INF [No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected]
Aug 18 14:42:40 mar.lan zmc_dvideo0[3879]: INF [Starting Capture]
Aug 18 14:42:40 mar.lan kernel: stk1160: queue_setup: buffer count 8, each 691200 bytes
Aug 18 14:42:40 mar.lan zmc_dvideo0[3879]: FAT [Failed to set video standard 255: Device or resource busy]
Aug 18 14:42:40 mar.lan zmdc[998]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Set the standard explicitly:

Code: Select all

$ v4l2-ctl -d /dev/video0 -s PAL
Standard set to 000000ff
Capture started.

Code: Select all

Aug 18 14:58:35 mar.lan kernel: stk1160: registers to PAL like standard

Aug 18 14:58:36 mar.lan zmdc[4137]: INF [Starting pending process, zmc -d /dev/video0]
Aug 18 14:58:36 mar.lan zmdc[4137]: INF ['zmc -d /dev/video0' starting at 15/08/18 14:58:36, pid = 4424]
Aug 18 14:58:36 mar.lan zmdc[4424]: INF ['zmc -d /dev/video0' started at 15/08/18 14:58:36]
Aug 18 14:58:36 mar.lan zmc_dvideo0[4424]: INF [Selected capture palette: 16 bpp YUY2, 4:2:2, packed (UYVY)]
Aug 18 14:58:36 mar.lan zmc_dvideo0[4424]: INF [No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected]
Aug 18 14:58:36 mar.lan zmc_dvideo0[4424]: INF [Starting Capture]
Aug 18 14:58:36 mar.lan kernel: stk1160: queue_setup: buffer count 8, each 829440 bytes
Aug 18 14:58:36 mar.lan kernel: stk1160: setting alternate 5
Aug 18 14:58:36 mar.lan kernel: stk1160: minimum isoc packet size: 3072 (alt=5)
Aug 18 14:58:36 mar.lan kernel: stk1160: setting alt 5 with wMaxPacketSize=3072
Aug 18 14:58:36 mar.lan kernel: stk1160: allocating urbs...
Aug 18 14:58:36 mar.lan kernel: stk1160: 16 urbs allocated
Aug 18 14:58:36 mar.lan kernel: stk1160: streaming started
Aug 18 14:58:36 mar.lan kernel: URB packet 0, status -18 [Unknown].
Aug 18 14:58:36 mar.lan kernel: URB packet 1, status -71 [Bit-stuff error (bad cable?)].
Aug 18 14:58:40 mar.lan zms[4430]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Monitor-8]
Aug 18 14:58:43 mar.lan zms[4430]: INF [Got signal 15 (Terminated), exiting]
Aug 18 14:58:44 mar.lan zms[4430]: INF [Terminating Logger]
stk1160
Posts: 5
Joined: Mon Dec 21, 2015 7:40 pm

Re: Failed to set video standard 255: Device or resource busy

Post by stk1160 »

Hi,

I have this same problem, is there any chance to fix it? Maybe is there a chance to stream via ffmpeg to zoneminder, but I can't do this, I try it but with no success.

My second message:

Code: Select all

Failed to start capture stream: Message too long
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Re: Failed to set video standard 255: Device or resource busy

Post by basinilya »

Create these 2 files:

/etc/udev/rules.d/85-my_stk1160_pal.rules

Code: Select all

ATTR{name}=="stk1160", GOTO="my_v4l2_pal_goodname"
ATTR{name}=="usbtv", GOTO="my_v4l2_pal_goodname"

GOTO="my_v4l2_pal_end"

LABEL="my_v4l2_pal_goodname"

ACTION=="add", SUBSYSTEM=="video4linux", RUN+="/usr/local/bin/my_stk1160_pal.sh"

LABEL="my_v4l2_pal_end"
/usr/local/bin/my_stk1160_pal.sh

Code: Select all

#!/bin/bash
(
#env
/usr/bin/v4l2-ctl -d "${DEVNAME:?}" -s PAL
) 2>&1 | logger -t my_stk1160_pal
make /usr/local/bin/my_stk1160_pal.sh executable
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Re: Failed to set video standard 255: Device or resource busy

Post by basinilya »

run `dmesg --follow` in a separate terminal . Sometimes the driver goes nuts. Then replug.
stk1160
Posts: 5
Joined: Mon Dec 21, 2015 7:40 pm

Re: Failed to set video standard 255: Device or resource busy

Post by stk1160 »

Thanks for help, but after add this 2 files i have another problem. When i reboot pc, in zoneminder stk have a video, but my other cam logitech c270 have problem with start capture. When i change video to PAL i zoneminder there is a problem with start capture on stk. Dmesg after plug & replug stk

Code: Select all

[11341.484841] usb 1-6: USB disconnect, device number 5
[11341.484986] stk1160: freeing 0 urb buffers...
[11341.484990] stk1160: all urb buffers freed
[11341.485145] stk1160: releasing all resources
[11343.752066] usb 1-6: new high-speed USB device number 6 using ehci-pci
[11343.884926] usb 1-6: New USB device found, idVendor=05e1, idProduct=0408
[11343.884938] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11343.884945] usb 1-6: Product: USB 2.0 Video Capture Controller
[11343.884951] usb 1-6: Manufacturer: Syntek Semiconductor
[11343.886220] usb 1-6: New device Syntek Semiconductor USB 2.0 Video Capture Controller @ 480 Mbps (05e1:0408, interface 0, class 0)
[11343.886230] usb 1-6: video interface 0 found
[11344.534638] saa7115 0-0025: saa7113 found @ 0x4a (stk1160)
[11345.819028] stk1160: driver ver 0.9.5 successfully loaded
[11345.920441] stk1160 1-6:1.0: AC'97 0 access is not valid [0x0], removing mixer.
[11345.920547] stk1160: registers to NTSC like standard
[11346.080258] stk1160 1-6:1.0: V4L2 device registered as video2
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Re: Failed to set video standard 255: Device or resource busy

Post by basinilya »

maybe delete the line:

Code: Select all

ATTR{name}=="usbtv", GOTO="my_v4l2_pal_goodname"
stk1160
Posts: 5
Joined: Mon Dec 21, 2015 7:40 pm

Re: Failed to set video standard 255: Device or resource busy

Post by stk1160 »

Ok, i try but after delete there is my log in zm after reboot vid0 is logitech camera vid2 is stk1160 i create symlink

Code: Select all

2015-12-22 21:30:59.458747	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:58.420158	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:57.381594	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:56.343094	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:55.294799	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:54.252660	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:53.203058	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:52.142095	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:51.092136	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:50.042730	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:48.993622	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:47.944044	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:46.894799	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:45.856407	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:44.817148	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:43.778426	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:42.740041	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:41.701761	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:40.663095	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:39.616026	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:38.388912	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:37.348768	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:36.298618	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:35.260613	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:34.208375	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:33.159034	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:32.109733	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:31.059896	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:30.315708	zmc_dvid2	1701	INF	Monitor-3: 3000 - Capturing at 29.41 fps	zm_monitor.cpp	2907
2015-12-22 21:30:30.022383	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:28.971804	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:27.922073	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:26.883776	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:25.845473	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:24.807583	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:23.767879	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:22.729541	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:21.691203	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:20.652823	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:19.614513	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:18.576213	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:17.538167	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:16.500070	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:15.461305	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:14.409142	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:13.943720	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:30:13.842580	zmc_dvid0	2162	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:30:13.779437	zmc_dvid0	2162	WAR	Hue control is not supported	zm_local_camera.cpp	1756
2015-12-22 21:30:13.280162	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:13.098623	zmc_dvid0	2162	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:30:12.335270	zmc_dvid0	2162	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:30:12.207996	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:12.153610	zmdc	2162	INF	'zmc -d /cam/vid0' started at 15/12/22 21:30:12	zmdc.pl	
2015-12-22 21:30:12.140630	zmdc	1653	INF	'zmc -d /cam/vid0' starting at 15/12/22 21:30:12, pid = 2162	zmdc.pl	
2015-12-22 21:30:12.092280	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 21:30:11.169200	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:10.130787	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:09.092090	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:08.053737	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:07.014949	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:05.976093	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:04.937584	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:03.864164	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:02.789529	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:01.751006	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:30:00.712408	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:59.673920	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:58.634741	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:57.596209	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:56.557834	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:56.480005	zmc_dvid2	1701	INF	Monitor-3: 2000 - Capturing at 29.41 fps	zm_monitor.cpp	2907
2015-12-22 21:29:55.518854	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:54.480570	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:53.429779	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:52.305158	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:51.252753	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:50.203012	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:49.159968	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:48.545457	zms	2154	INF	Terminating Logger	zm_logger.cpp	235
2015-12-22 21:29:48.429186	zms	2154	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2015-12-22 21:29:48.120775	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:47.081789	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:46.021205	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:44.959429	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:43.909396	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:42.858829	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:41.993603	zms	2154	WAR	Shared data not initialised by capture daemon, some query functions may not be available or 

produce invalid results for monitor Monitor-3	zm_monitor.cpp	426

2015-12-22 21:29:41.816539	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:40.778211	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:39.739933	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:38.690244	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:37.652457	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:36.602393	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:35.552643	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:34.502961	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:33.444888	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:32.337217	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:32.334820	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:29:32.213302	zmc_dvid0	1999	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:29:32.157792	zmc_dvid0	1999	WAR	Hue control is not supported	zm_local_camera.cpp	1756
2015-12-22 21:29:31.502985	zmc_dvid0	1999	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:29:31.283954	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:30.373805	zmc_dvid0	1999	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:29:30.199074	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:30.149830	zmdc	1999	INF	'zmc -d /cam/vid0' started at 15/12/22 21:29:30	zmdc.pl	
2015-12-22 21:29:30.136630	zmdc	1653	INF	'zmc -d /cam/vid0' starting at 15/12/22 21:29:30, pid = 1999	zmdc.pl	
2015-12-22 21:29:30.077040	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 21:29:29.036048	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:27.967145	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:26.881534	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:25.831897	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:24.794028	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:23.744159	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:22.661327	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:22.654422	zmc_dvid2	1701	INF	Monitor-3: 1000 - Capturing at 29.41 fps	zm_monitor.cpp	2907
2015-12-22 21:29:21.621912	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:20.583739	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:19.545258	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:18.506664	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:17.457335	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:16.417492	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:15.379235	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:14.330276	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:13.279969	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:12.229650	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:11.134157	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:10.854870	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:29:10.755333	zmc_dvid0	1851	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:29:10.682001	zmc_dvid0	1851	WAR	Hue control is not supported	zm_local_camera.cpp	1756
2015-12-22 21:29:10.072229	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:10.046149	zmc_dvid0	1851	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:29:09.301705	zmc_dvid0	1851	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:29:09.127270	zmdc	1851	INF	'zmc -d /cam/vid0' started at 15/12/22 21:29:09	zmdc.pl	
2015-12-22 21:29:09.121080	zmdc	1653	INF	'zmc -d /cam/vid0' starting at 15/12/22 21:29:09, pid = 1851	zmdc.pl	
2015-12-22 21:29:09.056190	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 21:29:09.033440	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:07.995678	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:06.957102	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:05.907076	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:04.846405	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:03.764237	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:02.692682	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:01.596104	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:29:00.535581	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:59.484962	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:59.360420	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:59.260056	zmc_dvid0	1840	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:28:59.188082	zmc_dvid0	1840	WAR	Hue control is not supported	zm_local_camera.cpp	1756
2015-12-22 21:28:58.556102	zmc_dvid0	1840	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:28:58.434123	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:57.463984	zmc_dvid0	1840	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:28:57.350170	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:57.148100	zmdc	1840	INF	'zmc -d /cam/vid0' started at 15/12/22 21:28:57	zmdc.pl	
2015-12-22 21:28:57.139660	zmdc	1653	INF	'zmc -d /cam/vid0' starting at 15/12/22 21:28:57, pid = 1840	zmdc.pl	
2015-12-22 21:28:57.074450	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 21:28:56.278930	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:55.205343	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:54.085868	zma_m1	1756	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:28:54.060710	zmwatch	1722	INF	Watchdog pausing for 30 seconds	zmwatch.pl	
2015-12-22 21:28:53.897840	zmwatch	1722	INF	Watchdog starting	zmwatch.pl	
2015-12-22 21:28:53.212940	zmdc	1756	INF	'zma -m 1' started at 15/12/22 21:28:53	zmdc.pl	
2015-12-22 21:28:53.182560	zmdc	1653	INF	'zma -m 1' starting at 15/12/22 21:28:53, pid = 1756	zmdc.pl	
2015-12-22 21:28:53.085170	zmdc	1653	INF	Starting pending process, zma -m 1	zmdc.pl	
2015-12-22 21:28:52.965320	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:52.837361	zmc_dvid0	1704	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:28:52.751271	zmc_dvid0	1704	WAR	Hue control is not supported	zm_local_camera.cpp	1756
2015-12-22 21:28:52.477470	zmdc	1722	INF	'zmwatch.pl' started at 15/12/22 21:28:52	zmdc.pl	
2015-12-22 21:28:52.462310	zmdc	1653	INF	'zmwatch.pl' starting at 15/12/22 21:28:52, pid = 1722	zmdc.pl	
2015-12-22 21:28:52.094430	zmfilter	1707	INF	Scanning for events	zmfilter.pl	
2015-12-22 21:28:52.041659	zmc_dvid0	1704	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:28:50.285810	zmdc	1714	INF	'zmaudit.pl -c' started at 15/12/22 21:28:50	zmdc.pl	
2015-12-22 21:28:50.265770	zmdc	1653	INF	'zmaudit.pl -c' starting at 15/12/22 21:28:50, pid = 1714	zmdc.pl	
2015-12-22 21:28:48.632480	zmc_dvid2	1701	INF	Starting Capture	zmc.cpp	195
2015-12-22 21:28:48.393660	zmdc	1707	INF	'zmfilter.pl' started at 15/12/22 21:28:48	zmdc.pl	
2015-12-22 21:28:48.386600	zmdc	1653	INF	'zmfilter.pl' starting at 15/12/22 21:28:48, pid = 1707	zmdc.pl	
2015-12-22 21:28:48.333447	zmc_dvid0	1704	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:28:48.250020	zmdc	1653	ERR	'zma -m 1' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:48.240417	zmc_dvid2	1701	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:28:48.165700	zmdc	1704	INF	'zmc -d /cam/vid0' started at 15/12/22 21:28:48	zmdc.pl	
2015-12-22 21:28:48.158160	zmdc	1653	INF	'zmc -d /cam/vid0' starting at 15/12/22 21:28:48, pid = 1704	zmdc.pl	
2015-12-22 21:28:48.109554	zma_m1	1700	ERR	Shared data not initialised by capture daemon for monitor Logitech	zm_monitor.cpp	421
2015-12-22 21:28:48.060140	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 21:28:48.025750	zmdc	1701	INF	'zmc -d /cam/vid2' started at 15/12/22 21:28:48	zmdc.pl	
2015-12-22 21:28:48.009880	zmdc	1653	INF	'zmc -d /cam/vid2' starting at 15/12/22 21:28:48, pid = 1701	zmdc.pl	
2015-12-22 21:28:47.915310	zmdc	1653	INF	Starting pending process, zmc -d /cam/vid2	zmdc.pl	
2015-12-22 21:28:47.874990	zmdc	1700	INF	'zma -m 1' started at 15/12/22 21:28:47	zmdc.pl	
2015-12-22 21:28:47.865900	zmdc	1653	INF	'zma -m 1' starting at 15/12/22 21:28:47, pid = 1700	zmdc.pl	
2015-12-22 21:28:47.814690	zmdc	1653	INF	Starting pending process, zma -m 1	zmdc.pl	
2015-12-22 21:28:47.769930	zmdc	1653	ERR	'zmc -d /cam/vid2' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:47.681370	zmdc	1653	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:47.661150	zmc_dvid2	1689	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:28:47.636170	zmdc	1653	ERR	'zma -m 1' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:28:47.497262	zmc_dvid0	1679	INF	No direct match for the selected palette and target colorspace. Format conversion is 

required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 21:28:47.494233	zma_m1	1684	ERR	Got empty memory map file size 0, is the zmc process for this monitor running?	zm_monitor.cpp	

513
2015-12-22 21:28:47.330350	zmdc	1689	INF	'zmc -d /cam/vid2' started at 15/12/22 21:28:47	zmdc.pl	
2015-12-22 21:28:47.324290	zmdc	1653	INF	'zmc -d /cam/vid2' starting at 15/12/22 21:28:47, pid = 1689	zmdc.pl	
2015-12-22 21:28:46.592390	zmdc	1684	INF	'zma -m 1' started at 15/12/22 21:28:46	zmdc.pl	
2015-12-22 21:28:46.587660	zmdc	1653	INF	'zma -m 1' starting at 15/12/22 21:28:46, pid = 1684	zmdc.pl	
2015-12-22 21:28:45.986240	zmdc	1679	INF	'zmc -d /cam/vid0' started at 15/12/22 21:28:45	zmdc.pl

Ok when i replug stk it works, but logitech isn`t, when stk is unlpugged for few seconds logitech start capturing, but when i plug stk there is an error with stk.

Code: Select all

15-12-22 21:42:00.517754	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:59.467772	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:58.394154	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:57.349329	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:56.300841	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:56.095894	web_js	2080	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-349013s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 21:41:55.253633	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:54.204955	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:53.491532	web_php	2151	ERR	socket_sendto( /var/run/zm/zms-349013s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 21:41:53.164091	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:52.125250	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:51.086488	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:50.031934	zma_m3	3762	WAR	Waiting for capture daemon	zm_monitor.cpp	486
2015-12-22 21:41:49.817150	zmdc	1653	ERR	'zmc -d /cam/vid2' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 21:41:49.747628	zmc_dvid2	4208	FAT	Failed to start capture stream: No space left on device	zm_local_camera.cpp	1947
2015-12-22 21:41:49.668197	zmc_dvid2	4208	INF	Starting Capture	zmc.cpp
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Re: Failed to set video standard 255: Device or resource busy

Post by basinilya »

It's hard to say what causes the error. There're some general hints:

* plug your chinese DVRs to different USB controllers: use the command: `lsusb -t` to ensure that. If you fail, you can't use 2 DVRs simultaneously.
* watch `dmesg --follow` and system log (`sudo journalctl --follow` or `tail -F /var/log/messages`)
* test everything with ffmpeg before zm:

Code: Select all

ffmpeg -f v4l2 -i /dev/v4l/by-id/usb-Syntek_Semiconductor_USB_2.0_Video_Capture_Controller-video-index0 -f null x
* choose proper resolution in ZM.
stk1160
Posts: 5
Joined: Mon Dec 21, 2015 7:40 pm

Re: Failed to set video standard 255: Device or resource busy

Post by stk1160 »

Ok, i try and read about next error, thanks for help, know i see a video on this grabber ;) Your stk works with zm with any problems? Do you have only one? I need grabber and one usb cam. I have another 3 usb cams but i have problems with all, only logitech works very well :(
basinilya
Posts: 11
Joined: Sat Jul 04, 2015 3:46 pm

Re: Failed to set video standard 255: Device or resource busy

Post by basinilya »

I have 3 stks. The more you plug the less stably they work. One problem is corrupted packets. ffmpeg says: "expected n bytes, got m bytes" and dies.
Another problem is it sometimes cannot allocate buffers and start capture. Have to reset the usb device.
stk1160
Posts: 5
Joined: Mon Dec 21, 2015 7:40 pm

Re: Failed to set video standard 255: Device or resource busy

Post by stk1160 »

Very bad for me. Maybe i try stream stk via ffmpeg to zoneminder and problem is gone? Did you try?


Ok, logitech start when i change resolution to 320x240 from 1280x960/720 . Usb bandwitch problem or only driver? I don`t think that logitech use more than 60mbits in 1280x960/720.



Haha now all crashed, stk and logitech, no video.

log zm

Code: Select all

2015-12-22 22:33:44.395970	zmdc	1642	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 22:33:44.333947	zmc_dvid0	10843	FAT	Failed to set video format: Input/output error	zm_local_camera.cpp	728
2015-12-22 22:33:43.470126	zms	10845	INF	Terminating Logger	zm_logger.cpp	235
2015-12-22 22:33:43.411365	zms	10845	ERR	Terminating, last frame sent time 1450820022.911211 secs more than maximum of 10.000000	zm_monitor.cpp	4155
2015-12-22 22:33:42.851815	zms	10845	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Logitech	zm_monitor.cpp	426
2015-12-22 22:33:42.804417	zms	10845	INF	Authenticated user 'admin'	zm_user.cpp	241
2015-12-22 22:33:41.744943	web_js	7264	WAR	Adjusting to minimum width when getting popup size for tag 'watch' - getPopupSize()		
2015-12-22 22:33:41.453279	web_php	2322	ERR	socket_sendto( /var/run/zm/zms-011176s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:33:39.269543	zmc_dvid0	10843	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:33:39.194439	zmc_dvid0	10843	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:33:39.079720	zmdc	1642	INF	'zmc -d /cam/vid0' starting at 15/12/22 22:33:39, pid = 10843	zmdc.pl	
2015-12-22 22:33:39.075330	zmdc	10843	INF	'zmc -d /cam/vid0' started at 15/12/22 22:33:39	zmdc.pl	
2015-12-22 22:33:39.009980	zmdc	1642	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 22:33:31.220419	zms	10840	INF	Terminating Logger	zm_logger.cpp	235
2015-12-22 22:33:31.161271	zms	10840	ERR	Terminating, last frame sent time 1450820010.661114 secs more than maximum of 10.000000	zm_monitor.cpp	4155
2015-12-22 22:33:30.559496	zms	10840	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Monitor-3	zm_monitor.cpp	426

2015-12-22 22:33:23.780910	web_php	1815	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:33:08.778047	web_js	7265	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:33:08.489789	web_php	7265	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:32:58.177450	web_php	7264	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:32:43.304715	web_js	1815	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:32:43.000989	web_php	1815	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:32:28.190551	web_js	1815	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:32:27.903571	web_php	1815	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:32:19.519530	zmdc	1642	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 22:32:19.457124	zmc_dvid0	10676	FAT	Failed to set video format: Input/output error	zm_local_camera.cpp	728
2015-12-22 22:32:17.597267	web_php	1817	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:32:14.384460	zmc_dvid0	10676	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:32:14.298148	zmc_dvid0	10676	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:32:14.123560	zmdc	10676	INF	'zmc -d /cam/vid0' started at 15/12/22 22:32:14	zmdc.pl	
2015-12-22 22:32:14.119620	zmdc	1642	INF	'zmc -d /cam/vid0' starting at 15/12/22 22:32:14, pid = 10676	zmdc.pl	
2015-12-22 22:32:14.044300	zmdc	1642	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 22:32:02.803161	web_js	1817	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:32:02.510950	web_php	1817	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:31:47.751485	web_js	7266	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:31:47.433929	web_php	7266	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:31:37.132604	web_php	1816	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:31:34.485500	zmdc	1642	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 22:31:34.425691	zmc_dvid0	10528	FAT	Failed to set video format: Input/output error	zm_local_camera.cpp	728
2015-12-22 22:31:29.362681	zmc_dvid0	10528	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:31:29.287290	zmc_dvid0	10528	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:31:29.172800	zmdc	1642	INF	'zmc -d /cam/vid0' starting at 15/12/22 22:31:29, pid = 10528	zmdc.pl	
2015-12-22 22:31:29.169430	zmdc	10528	INF	'zmc -d /cam/vid0' started at 15/12/22 22:31:29	zmdc.pl	
2015-12-22 22:31:29.098920	zmdc	1642	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 22:31:22.287835	web_js	1816	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:31:22.001219	web_php	1816	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:31:09.498410	zmdc	1642	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 22:31:09.437228	zmc_dvid0	10526	FAT	Failed to set video format: Input/output error	zm_local_camera.cpp	728
2015-12-22 22:31:06.463242	web_js	7265	ERR	getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2015-12-22 22:31:06.167037	web_php	7265	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:31:04.371581	zmc_dvid0	10526	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:31:04.296316	zmc_dvid0	10526	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:31:04.143710	zmdc	10526	INF	'zmc -d /cam/vid0' started at 15/12/22 22:31:04	zmdc.pl	
2015-12-22 22:31:04.138760	zmdc	1642	INF	'zmc -d /cam/vid0' starting at 15/12/22 22:31:04, pid = 10526	zmdc.pl	
2015-12-22 22:31:04.059810	zmdc	1642	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 22:31:00.026776	zmc_dvid2	10524	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:30:59.827579	zmc_dvid2	10524	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:30:59.783583	zmc_dvid2	10524	INF	Selected capture palette: UYVY 4:2:2 (UYVY)	zm_local_camera.cpp	348
2015-12-22 22:30:59.599940	zmdc	10524	INF	'zmc -d /cam/vid2' started at 15/12/22 22:30:59	zmdc.pl	
2015-12-22 22:30:59.598450	zmdc	1642	INF	'zmc -d /cam/vid2' starting at 15/12/22 22:30:59, pid = 10524	zmdc.pl	
2015-12-22 22:30:59.136200	zmwatch	1725	INF	Restarting capture daemon for Monitor-3, time since last capture 48 seconds (1450819859-1450819811)	zmwatch.pl	
2015-12-22 22:30:55.870188	web_php	1815	ERR	socket_sendto( /var/run/zm/zms-810328s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2330
2015-12-22 22:30:54.641070	zmdc	1642	ERR	'zmc -d /cam/vid0' exited abnormally, exit status 255	zmdc.pl	
2015-12-22 22:30:54.593190	zmc_dvid0	10518	FAT	Failed to set video format: Input/output error	zm_local_camera.cpp	728
2015-12-22 22:30:49.515990	zmc_dvid0	10518	INF	Starting Capture	zmc.cpp	195
2015-12-22 22:30:49.432473	zmc_dvid0	10518	INF	No direct match for the selected palette and target colorspace. Format conversion is required, performance penalty expected	zm_local_camera.cpp	408
2015-12-22 22:30:49.303710	zmdc	1642	INF	'zmc -d /cam/vid0' starting at 15/12/22 22:30:49, pid = 10518	zmdc.pl	
2015-12-22 22:30:49.300400	zmdc	10518	INF	'zmc -d /cam/vid0' started at 15/12/22 22:30:49	zmdc.pl	
2015-12-22 22:30:49.226730	zmdc	1642	INF	Starting pending process, zmc -d /cam/vid0	zmdc.pl	
2015-12-22 22:30:49.066550	zmdc	1642	INF	'zmc -d /cam/vid2' crashed, signal 8	zmdc.pl	
2015-12-22 22:30:44.208608	zms	10367	INF	Terminating Logger	zm_logger.cpp	235
2015-12-22 22:30:44.162548	zms	10367	ERR	Terminating, last frame sent time 10.065597 secs more than maximum of 10.000000	zm_monitor.cpp	4155
2015-12-22 22:30:35.930965	zmc_dvid2	9578	INF	Got signal 15 (Terminated), exiting	zm_signal.cpp	40
2015-12-22 22:30:35.880550	zmdc	1642	INF	'zmc -d /cam/vid2' stopping at 15/12/22 22:30:35	zmdc.pl	
2015-12-22 22:30:35.080840	zmwatch	1725	INF	Restarting capture daemon for Monitor-3, time since last capture 11 seconds (1450819822-1450819811)	zmwatch.pl	
2015-12-22 22:30:35.025830	zmdc	1642	INF	'zmc -d /cam/vid0' crashed, signal 8	zmdc.pl	
2015-12-22 22:30:33.910983	zms	10367	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results for monitor Monitor-3	zm_monitor.cpp	426
Locked