No video in ZM, but XAWTV works fine...
Posted: Sun Sep 20, 2009 6:02 pm
Hi there,
I've been wrestling with zoneminder all day (originally tried to install from source on 64-bit Fedora 11, wasted an hour on that before finding a precomiled RPM which did it all for me - duh...)
Anyway, all's running fine now, ZM 1.24.2 is fired up, and I try to add my USB webcam, which has been confirmed as working with xawtv (despite a few odd errors):
[root@jellycomp ~]# xawtv -c /dev/video0
This is xawtv-3.95, running on Linux/x86_64 (2.6.30.5-43.fc11.x86_64)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
ioctl: VIDIOC_G_STD(std=0x3e7fe0ca98 [PAL_H,PAL_I,PAL_K,PAL_N,PAL_60,?,?,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
Anyway, despite all that, I get a great, clear image - nice.
Then, however, I try zmu:
[root@jellycomp ~]# zmu -d /dev/video0 -q -v
Error, failed to query crop /dev/video0: Invalid argument
And forcing V4L v1 doesn't help much:
[root@jellycomp ~]# zmu -d /dev/video0 -q -v -V 1
Error, failed to get channel 0 attributes: Invalid argument
lsusb shows my device as:
Bus 001 Device 005: ID 0ac8:332d Z-Star Microelectronics Corp. Vega USB 2.0 Camera
Anyway, I figure as it's working in xawtv, I might as well give it a shot in zoneminder, so set up a new monitor, but from the moment I add it, the camera shows as red, and I get no image at all.
I did have trouble getting it to show video in xawtv previously, but found that was due to having another USB cam on the same USB bus, so disconnected the other.
So, I'm a bit stuck really! In case it's of interest - this camera works perfectly with the similar app "motion" - didn't need any config, drivers or anything, just worked the moment I fired the app up...
Any ideas?
Thanks!
BDK
I've been wrestling with zoneminder all day (originally tried to install from source on 64-bit Fedora 11, wasted an hour on that before finding a precomiled RPM which did it all for me - duh...)
Anyway, all's running fine now, ZM 1.24.2 is fired up, and I try to add my USB webcam, which has been confirmed as working with xawtv (despite a few odd errors):
[root@jellycomp ~]# xawtv -c /dev/video0
This is xawtv-3.95, running on Linux/x86_64 (2.6.30.5-43.fc11.x86_64)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
ioctl: VIDIOC_G_STD(std=0x3e7fe0ca98 [PAL_H,PAL_I,PAL_K,PAL_N,PAL_60,?,?,SECAM_K1,SECAM_L,?ATSC_8_VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
Anyway, despite all that, I get a great, clear image - nice.
Then, however, I try zmu:
[root@jellycomp ~]# zmu -d /dev/video0 -q -v
Error, failed to query crop /dev/video0: Invalid argument
And forcing V4L v1 doesn't help much:
[root@jellycomp ~]# zmu -d /dev/video0 -q -v -V 1
Error, failed to get channel 0 attributes: Invalid argument
lsusb shows my device as:
Bus 001 Device 005: ID 0ac8:332d Z-Star Microelectronics Corp. Vega USB 2.0 Camera
Anyway, I figure as it's working in xawtv, I might as well give it a shot in zoneminder, so set up a new monitor, but from the moment I add it, the camera shows as red, and I get no image at all.
I did have trouble getting it to show video in xawtv previously, but found that was due to having another USB cam on the same USB bus, so disconnected the other.
So, I'm a bit stuck really! In case it's of interest - this camera works perfectly with the similar app "motion" - didn't need any config, drivers or anything, just worked the moment I fired the app up...
Any ideas?
Thanks!
BDK