Issues connecting to USB cameras

Forum for questions and support relating to the 1.24.x releases only.
Locked
thefinn93
Posts: 1
Joined: Sun Aug 01, 2010 8:54 pm

Issues connecting to USB cameras

Post by thefinn93 »

Hello,
I installed Zoneminder yesterday on my Ubuntu 10.04 machine. I connected my camera, verified that it worked with xawtv and followed the instructions from the wiki to add it to zoneminder, including adding the right users to the right groups and so on. However, the source name (/dev/video0 (0)) stays red and when I click on the name i gave the camera (labtech) it either shows me a black box (http://dl.dropbox.com/u/3267301/2.png) or a broken image (don't have a screenshot. looks just like that but with the little icon indicating that my browser cant find the image). The main screen (http://localhost/zm) looks like this http://dl.dropbox.com/u/3267301/1.png
I looked all over but everyone seemed to say that i needed to give the right users the right permissions, which i did[/url]

Also, unrelated - is there a way to attach images to a post? I couldn't figure it out so i used dropbox...
dewsandman32
Posts: 2
Joined: Mon Aug 02, 2010 10:15 pm

Post by dewsandman32 »

@thefinn93
I am having the same problem.
I installed ZM 1.24.1 on an Ubuntu 9.10 server box and cannot figure out how to get video through the console on another machine. USB camera is verified through xawtv to work correctly and capture images. Exact same set up (/dev/video0) and get the exact same problem (broken image or in the case of my IP camera --fps). I've been surfing the web and trying stuff on my own for the past two days and haven't figured anything out yet. If I figure anything out I'll let you know.
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

Shared memory? Wiki faq might help.
dewsandman32
Posts: 2
Joined: Mon Aug 02, 2010 10:15 pm

Post by dewsandman32 »

I do have the shared memory configured correctly, I finally picked up video from my remote IP cameras but the USB one still won't work (it actually died, cheap give-away). Anyway, one issue I did have with picking up video from the IPs was to make sure resolution was set the same as the camera, then I had to turn down the buffer settings. I decreased buffer frames, warmup, and stream image and the picture just popped up. I don't profess to have any true knowledge of why it worked, but it did so I'm not gonna complain.
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

No indeed - if it's working, leave the bugger alone!

Reducing buffer sizes may reduce memory usage though, so I'm still thinking shared memory configuration.

Whatever though, glad you got it working.
Locked