Trying to get a Logitech USB QuickCam to work...
Posted: Fri Mar 24, 2006 3:45 am
Hey All,
Got Zoneminder 1.22 installed from source on CentOS 4.2 and I'm trying to setup my Logitech camera to do some testing with. I seem to be running into a problem. I've search with google and the list but it didn't seem to find anything very useful.
I can pull up the camera info okay
Based on this I set the settings to: (Tried several others as well)
Function: Monitor
Max FPS 5
Device: /dev/video0
Channel: 0
Format: 0
Palette: YUV420P
Capture Width: 160
Capture Height: 120
In the zmdc.log I can see it starting and crashing
So I turned on debuging and find the follow errors.
Any help is appreciated.
routerboy
Got Zoneminder 1.22 installed from source on CentOS 4.2 and I'm trying to setup my Logitech camera to do some testing with. I seem to be running into a problem. I've search with google and the list but it didn't seem to find anything very useful.
I can pull up the camera info okay
Code: Select all
Video Capabilities
Name: Logitech QuickCam Zoom
Type: 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 160
Minimum Height: 120
Window Attributes
X Offset: 0
Y Offset: 0
Width: 160
Height: 120
Picture Attributes
Palette: 15 - YUV 4:2:0 Planar
Colour Depth: 24
Brightness: 32256
Hue: 65535
Colour :34076
Contrast: 64512
Whiteness: 49152
Channel 0 Attributes
Name: Webcam
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
Function: Monitor
Max FPS 5
Device: /dev/video0
Channel: 0
Format: 0
Palette: YUV420P
Capture Width: 160
Capture Height: 120
In the zmdc.log I can see it starting and crashing
Code: Select all
03/23/2006 22:36:59.028042 zmdc[3331].INF [Starting pending process, zmc -d /dev/video0]
03/23/2006 22:36:59.029523 zmdc[4301].INF ['zmc -d /dev/video0' started at 06/03/23 22:36:59]
03/23/2006 22:36:59.032277 zmdc[3331].INF ['zmc -d /dev/video0' starting at 06/03/23 22:36:59, pid = 4301]
03/23/2006 22:37:00.512485 zmdc[3331].ERR ['zmc -d /dev/video0' crashed, exit status 255]
Code: Select all
03/23/06 22:40:48.321013 zmc_dvideo0[4523].ERR-zm_local_camera.cpp/582 [Sync failure for frame 0 buffer 1(1): Input/output error]
03/23/06 22:40:48.321087 zmc_dvideo0[4523].ERR-zm_local_camera.cpp/565 [Capture failure for frame 0: Device or resource busy]
routerboy