It's a bit dark in my living room..

Forum for questions and support relating to the 1.25.x releases only.
Locked
QSDQDFSQDSQF
Posts: 2
Joined: Fri Jun 14, 2013 1:00 pm

It's a bit dark in my living room..

Post by QSDQDFSQDSQF »

Hi,
I have zoneminder 1.25 set up on a CentOS 6.4 box. When I plug in the camera, I get...

Code: Select all

usb 1-1.2: new high speed USB device number 5 using ehci_hcd
usb 1-1.2: New USB device found, idVendor=046d, idProduct=08ce
usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 1-1.2: SerialNumber: 8B91D1A2
usb 1-1.2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device <unnamed> (046d:08ce)
input: UVC Camera (046d:08ce) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input9
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.0.0)
usbcore: registered new interface driver snd-usb-audio
If I

Code: Select all

ls
/dev/video, I get /dev/video0, so I'm going on the basis that this is my camera.

So I add a monitor, and set it to /dev/video0. As source type, I choose 'local' first. Function is 'monitor'. Enabled, yes. FPS, I choose 14 to be on the safe side. In the sources tab, I select Video for Linux 2, Channel 0, Format PAL (I'm in the UK), and 320 x 240 as size.

Unfortunately, all I get is a black screen, and underneath, 'State: Idle - 0.00 fps'. In /var/log/messages, I get:

Code: Select all

Jun 14 14:05:38 servername zmc_dvideo[10940]: ERR [No monitors found]
Jun 14 14:05:38 servername zmdc[28713]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Jun 14 14:09:28 servername zms[11024]: ERR [Got unexpected memory map file size 3073524, expected 9217524]
Jun 14 14:09:28 servername zms[11024]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Jun 14 14:09:29 servername zmu[11031]: ERR [Got unexpected memory map file size 3073524, expected 9217524]
Jun 14 14:09:29 servername zmu[11031]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
Jun 14 14:09:29 servername zmu[11034]: ERR [Got unexpected memory map file size 3073524, expected 9217524]
Jun 14 14:09:29 servername zmu[11034]: WAR [Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results]
And that's as far as I can get.

Can someone advise me where to go next? Thanks.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: It's a bit dark in my living room..

Post by bb99 »

Bring the camera up in a browser or, for example, VLC and discover the properties.
QSDQDFSQDSQF
Posts: 2
Joined: Fri Jun 14, 2013 1:00 pm

Re: It's a bit dark in my living room..

Post by QSDQDFSQDSQF »

bb99 wrote:Bring the camera up in a browser or, for example, VLC and discover the properties.
Hi,
Thanks for the response. How do I do that? There's no GUI on the server, and I'm right now accessing it via http : / / m y d o m a i n . c o m / z m
mythedoff
Posts: 25
Joined: Sat Dec 04, 2010 5:21 pm

Re: It's a bit dark in my living room..

Post by mythedoff »

The webcam is a v4l1 device. See bf65's response might help: http://www.zoneminder.com/forums/viewto ... 21&t=20510

v4l1compat.so I think is what is needed.
Locked