Adding identical webcams to zoneminder
Posted: Mon Jun 16, 2014 12:02 am
Hello, (first post).
I have tried Googling this, and found multiple mentioned of bandwidth, but that doesn't seem to be the issue.
Two identical USB webcams (I actually have 4, but only try 2 at a time).
First one works fine - very easy to add.
Second one doesn't work, but works fine when swapped with the first ... then the other doesn't work. So I can only get one (either one) to work at once.
zmu -d /dev/video1 -q -v -U * -P *
Video Device: /dev/video9
General Capabilities
Driver: uvcvideo
Card: USB2.0 Camera
Bus: usb-0000:00:13.2-2
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Bounds: 640 x 480
Default: 640 x 480
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Extract from /var/log/messages
Jun 16 00:56:14 localhost zmdc[19242]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
and
Jun 16 00:57:28 localhost zmdc[19242]: INF ['zmc -d /dev/video1' crashed, signal 134]
I have run out of ideas.
I can run the second camera fine using Cheese (whilst running the first through ZM).
As far as I understand, all ZM cameras are their own zmc process, and therefore don't clash. Since the OS (CentoOS 6.5) can view both cameras (one in ZM one in Cheese) at the same time, I don't see where the confusion is coming from.
One other comment, at one point, when I switched cameras, I had the output from /dev/video0 displayed on a monitor for /dev/video1.
I would appreciate any help.
Many thanks.
I have tried Googling this, and found multiple mentioned of bandwidth, but that doesn't seem to be the issue.
Two identical USB webcams (I actually have 4, but only try 2 at a time).
First one works fine - very easy to add.
Second one doesn't work, but works fine when swapped with the first ... then the other doesn't work. So I can only get one (either one) to work at once.
zmu -d /dev/video1 -q -v -U * -P *
Video Device: /dev/video9
General Capabilities
Driver: uvcvideo
Card: USB2.0 Camera
Bus: usb-0000:00:13.2-2
Version: 1.0.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Bounds: 640 x 480
Default: 640 x 480
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Extract from /var/log/messages
Jun 16 00:56:14 localhost zmdc[19242]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
and
Jun 16 00:57:28 localhost zmdc[19242]: INF ['zmc -d /dev/video1' crashed, signal 134]
I have run out of ideas.
I can run the second camera fine using Cheese (whilst running the first through ZM).
As far as I understand, all ZM cameras are their own zmc process, and therefore don't clash. Since the OS (CentoOS 6.5) can view both cameras (one in ZM one in Cheese) at the same time, I don't see where the confusion is coming from.
One other comment, at one point, when I switched cameras, I had the output from /dev/video0 displayed on a monitor for /dev/video1.
I would appreciate any help.
Many thanks.