Hi
I running a zm 1.25 installation on ubuntu server 11.10.
All went well in the installation process and also I attached 2 IP cameras (FOSCAM) and I can view them in monitor mode.
I want to add a usb webcam and even after a large search I cant really know how to.(I understand that I can use a streamer but I want to try to connect it localy.)
I did zmu -d /dev/video0 -q -v and get this :
root@ubuntu-migrus1:/usr/lib# zmu -d /dev/video0 -q -v
Video Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: LG Webcam
Bus: usb-0000:00:10.4-5
Version: 1.1.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
and this my settings in zm (in image attached)
so can anybody tell me what do I do wrong?
a week with zm need usb webcam help
a week with zm need usb webcam help
- Attachments
-
- 123zm.png (5.06 KiB) Viewed 2012 times
Re: a week with zm need usb webcam help
I use 2 usb HD auto focus webcams with ZM 1.25 as well as 5 ip cameras. I use mjpg-streamer to connect to the USB cameras and connect ZM as if it is a remote IP camera. This works reasonably well but USB runs out of bandwidth very easily. Look through the ZM Wiki and faq.
http://www.zoneminder.com/wiki/index.php/Uvc < this is what you are asking....
http://sourceforge.net/projects/mjpg-streamer/
This may not be the "right" way but it is the only way I have gotten a local usb webcam to work reliably. High frame rates will saturate usb the symptom is "not enough room on device" errors. Lower frame rate and/or lower pixel size will fix this. Also I use ubuntu so I had to setup udev rules so the 2 usb cameras do not swap with each other when I reboot.
http://www.zoneminder.com/wiki/index.php/Uvc < this is what you are asking....
http://sourceforge.net/projects/mjpg-streamer/
This may not be the "right" way but it is the only way I have gotten a local usb webcam to work reliably. High frame rates will saturate usb the symptom is "not enough room on device" errors. Lower frame rate and/or lower pixel size will fix this. Also I use ubuntu so I had to setup udev rules so the 2 usb cameras do not swap with each other when I reboot.
Debian 7.8 Zoneminder 1.28.1 from source AMD FX-8370 Processor 16 gig of ram. 11 HD IP cameras.
-
- Posts: 4
- Joined: Wed Apr 18, 2012 9:29 pm
Re: a week with zm need usb webcam help
You just need to experiment with source and palette. Try PAL B/YUYV. I'm gonna bet that YUYV does it, not sure about PAL B.
I just got my setup with 2 USB webcams working fine, there is no mjpg_streamer for x64 and I don't feel like learning how to compile from source today. Oddly, with the second camera (A Logitech 9000) it wasn't showing up until I changed the resolution low, and restarted. I assumed bandwidth issues. Then I changed high, and it quit. Then I stopped and restarted ZM again with the higher settings, and it works fine.
You shouldn't have bandwidth problems with a single cam though.
I just got my setup with 2 USB webcams working fine, there is no mjpg_streamer for x64 and I don't feel like learning how to compile from source today. Oddly, with the second camera (A Logitech 9000) it wasn't showing up until I changed the resolution low, and restarted. I assumed bandwidth issues. Then I changed high, and it quit. Then I stopped and restarted ZM again with the higher settings, and it works fine.
You shouldn't have bandwidth problems with a single cam though.