Error, failed to query crop /dev/video4: Invalid arg..update
Posted: Sat Jan 22, 2011 9:03 pm
Hi,
I manage to get one of the 3 usb cameras to work, problem is that i cant make any of the others work with the same settings, i just randomly tried settings and then the camera started working.
device path = /dev/video1
capture method = v4l2
channel= 0
device format= Pal B
palette= YUYV
width=352
height=288
these settings dont work for any of the other cameras for the same type, and its driving me insane, im not even sure this works after a reboot
i have seen several references to this error, but i have found no real solution to it yet, there was a patch for the source code, but patching did not go though.
My zoneminder installation is working with a capture card, and one IP cam, but its not working with any of the 4 usb cameras i have tired (they are working with xawtv -c /dev/video4)
root@localhost src]# zmu -V 2 -d /dev/video4 -q -v
Error, failed to query crop /dev/video4: Invalid argument
im usiing the soruce from here http://www2.zoneminder.com/downloads/Zo ... 4.2.tar.gz fetched it saturday the 22. january 2011) its compiled on centos 5.5 and i followed this guide
http://akeness.blogspot.com/2010/12/zon ... de-on.html
Is there anyone that can point me in the right direction?
br
Chammy
log info
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Debug Level = 0, Debug Log = <none>]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Starting Capture]
Jan 23 10:42:17 localhost zma_m3[11300]: WAR [Waiting for capture daemon]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: FAT [Failed to setup memory: Invalid argument]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Signal address is (nil), from 0xdb3402]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: [0xdb3402]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: [0xdb3402]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(gsignal+0x50) [0x882df0]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(abort+0x101) [0x884701]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x80576f1]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x806cd66]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x806d927]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x804d1f0]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x804ca3d]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x86fe9c]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x3bd) [0x804c2a1]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Backtrace complete, please execute the following command for more information]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x3bd) 0xdb3402 0xdb3402 0x882df0 0x884701 0x80576f1 0x806cd66 0x806d927 0x804d1f0 0x804ca3d 0x86fe9c 0x804c2a1]
Jan 23 10:42:17 localhost zmdc[2798]: ERR ['zmc -d /dev/video4' exited abnormally, exit status 6]
I manage to get one of the 3 usb cameras to work, problem is that i cant make any of the others work with the same settings, i just randomly tried settings and then the camera started working.
device path = /dev/video1
capture method = v4l2
channel= 0
device format= Pal B
palette= YUYV
width=352
height=288
these settings dont work for any of the other cameras for the same type, and its driving me insane, im not even sure this works after a reboot
i have seen several references to this error, but i have found no real solution to it yet, there was a patch for the source code, but patching did not go though.
My zoneminder installation is working with a capture card, and one IP cam, but its not working with any of the 4 usb cameras i have tired (they are working with xawtv -c /dev/video4)
root@localhost src]# zmu -V 2 -d /dev/video4 -q -v
Error, failed to query crop /dev/video4: Invalid argument
im usiing the soruce from here http://www2.zoneminder.com/downloads/Zo ... 4.2.tar.gz fetched it saturday the 22. january 2011) its compiled on centos 5.5 and i followed this guide
http://akeness.blogspot.com/2010/12/zon ... de-on.html
Is there anyone that can point me in the right direction?
br
Chammy
log info
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Debug Level = 0, Debug Log = <none>]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Starting Capture]
Jan 23 10:42:17 localhost zma_m3[11300]: WAR [Waiting for capture daemon]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: FAT [Failed to setup memory: Invalid argument]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Signal address is (nil), from 0xdb3402]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: [0xdb3402]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: [0xdb3402]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(gsignal+0x50) [0x882df0]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(abort+0x101) [0x884701]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x80576f1]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x806cd66]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x806d927]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x804d1f0]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc [0x804ca3d]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x86fe9c]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: ERR [Backtrace: /usr/local/bin/zmc(__gxx_personality_v0+0x3bd) [0x804c2a1]]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [Backtrace complete, please execute the following command for more information]
Jan 23 10:42:17 localhost zmc_dvideo4[11331]: INF [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x3bd) 0xdb3402 0xdb3402 0x882df0 0x884701 0x80576f1 0x806cd66 0x806d927 0x804d1f0 0x804ca3d 0x86fe9c 0x804c2a1]
Jan 23 10:42:17 localhost zmdc[2798]: ERR ['zmc -d /dev/video4' exited abnormally, exit status 6]