Support and queries relating to all previous versions of ZoneMinder
chandi
Posts: 9 Joined: Tue Mar 10, 2009 2:46 am
Post
by chandi » Wed Mar 11, 2009 2:25 am
Hi,
I have a Creative Webcam Live! which works fine with xawtv but gives me only black frames with zoneminder. The driver is the latest gspcav1.
When I click on the monitor I see no image (not event a black one) and it says IDLE 0.0fps but when it creates events it makes black frames with the timestamp on it. I can see no errors in log files. /var/log/messages says it's capturing at 23.89fps.
Code: Select all
linux# zmu -d /dev/video0 -q -v
Video Capabilities
Name: Creative Live!
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: ZC301-2
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Any idea what to do ?
Thanks,
Chandi
kingofkya
Posts: 1110 Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada
Post
by kingofkya » Wed Mar 11, 2009 3:04 am
information like distro would be nice but anyways
did you set your shared memory setting?
if so go look at the logs(location is listed in zoneminder config).
chandi
Posts: 9 Joined: Tue Mar 10, 2009 2:46 am
Post
by chandi » Wed Mar 11, 2009 12:59 pm
Hi,
sorry for the lack of information.
ZM_VERSION=1.23.3
Linux goa 2.6.22-gentoo-r5 #13 PREEMPT
Bus 001 Device 003: ID 041e:4036 Creative Technology, Ltd Webcam Live!/Live! Pro
I had problems with shared memory but I fixed them.
linux # ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 777 442368 0
0x7a6d0001 294913 apache 700 23041668 2
The second one is zoneminder's.
Thanks,
Chandi
chandi
Posts: 9 Joined: Tue Mar 10, 2009 2:46 am
Post
by chandi » Mon Mar 16, 2009 2:29 pm
What is strang is that I can save videos/stills from the webcam using xawtv and streamer.
Why would zoneminder see those as black frames then ? I don't understand
chandi
Posts: 9 Joined: Tue Mar 10, 2009 2:46 am
Post
by chandi » Tue Mar 17, 2009 1:03 pm
It now works... I have upgraded to the latest 1.24 release and that fixed it.
Thanks,
Chandi