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.
Search found 11 matches
- Tue Dec 22, 2015 8:59 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
- Tue Dec 22, 2015 8:49 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
Re: Failed to set video standard 255: Device or resource busy
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 ...
- Tue Dec 22, 2015 8:23 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
Re: Failed to set video standard 255: Device or resource busy
maybe delete the line:
Code: Select all
ATTR{name}=="usbtv", GOTO="my_v4l2_pal_goodname"
- Mon Dec 21, 2015 8:57 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
Re: Failed to set video standard 255: Device or resource busy
run `dmesg --follow` in a separate terminal . Sometimes the driver goes nuts. Then replug.
- Mon Dec 21, 2015 8:52 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
Re: Failed to set video standard 255: Device or resource busy
Create these 2 files: /etc/udev/rules.d/85-my_stk1160_pal.rules 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 ...
- Wed Sep 16, 2015 11:14 am
- Forum: ZoneMinder 1.28.x
- Topic: v4l2 software auto-brightness/contrast
- Replies: 2
- Views: 1957
Re: v4l2 software auto-brightness/contrast
Nevermind, found `zmu -qi`Does ZM store the latest frame anywhere? I know the location is /var/cache/zoneminder in recorder mode, but what about modect mode?
- Fri Sep 11, 2015 8:15 pm
- Forum: ZoneMinder 1.28.x
- Topic: v4l2 software auto-brightness/contrast
- Replies: 2
- Views: 1957
v4l2 software auto-brightness/contrast
Hi. How can I automatically adjust a v4l2 device brightness/contrast based on caprured frame properties? I see manual controls in the monitor settings, but does ZM do anything automatically?
I've read that it could be supported at a driver level, but my driver doesn't seem to have it.
I've read that it could be supported at a driver level, but my driver doesn't seem to have it.
- Sat Aug 29, 2015 8:25 pm
- Forum: Hardware Queries
- Topic: What if capturing is possible from only one input at a time?
- Replies: 1
- Views: 1347
Re: What if capturing is possible from only one input at a t
Managed to split one capture device using ffmpeg. ZM can't read uncompressed video from it, so instead I made ffmpeg output the split video to several v4l2loopback devices. There's a separate monitor in ZM for each virtual device. Synchronizing source switching and splitting in ffmpeg with system ...
- Tue Aug 18, 2015 12:01 pm
- Forum: ZoneMinder 1.28.x
- Topic: Failed to set video standard 255: Device or resource busy
- Replies: 10
- Views: 7492
Failed to set video standard 255: Device or resource busy
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: $ v4l2-ctl -d /dev/video0 -S Video Standard = 0x00001000 NTSC-M picture is black and white in xawtv. Working black and white ...
- Sun Aug 16, 2015 12:29 pm
- Forum: Hardware Queries
- Topic: What if capturing is possible from only one input at a time?
- Replies: 1
- Views: 1347
What if capturing is possible from only one input at a time?
Hi. I want to try with USB DVR EasyCAP DC60. It has 4 inputs, but only one can be used at time. Can I tell zoneminder to switch active camera every n seconds (by opening a different /dev/videoN file or by running a shell command)? If so, how will motion detection behave when input image suddenly ...
- Sat Jul 04, 2015 3:56 pm
- Forum: Non-ZoneMinder Chat
- Topic: USB DVR for wired cameras compatible with zoneminder?
- Replies: 0
- Views: 3551
USB DVR for wired cameras compatible with zoneminder?
Hi. Can't find any USB device in http://www.zoneminder.com/wiki/index.php/Hardware_Compatibility_Lis Can't find any success story with zoneminder and USB Want to convert an old laptop into a recorder. * order some $8 cameras (wired, analogue) * order an $10 four channel USB DVR (found one, drivers ...