LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting up ZoneMinder (https://www.linuxquestions.org/questions/linux-software-2/setting-up-zoneminder-792763/)

LazerPhreak 03-02-2010 10:20 PM

Setting up ZoneMinder
 
Hello all!
So I have Zoneminder installed and mostly setup but I'm stuck. The problem is that I have No picture on the feed page and the source "/dev/video0" is red.

Ask any questions you need and I will answer

Thanks!!

smoker 03-03-2010 10:39 AM

Depends on your camera really. What is the output format from the camera ?
http://www.zoneminder.com/wiki/index.php/Contents
http://www.zoneminder.com/wiki/index.php/FAQ

LazerPhreak 03-03-2010 05:46 PM

Video Capabilities
Name: Webcam-101
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 640
Height: 480
Picture Attributes
Palette: 8 - YUYV
Colour Depth: 16
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 4287
Channel 0 Attributes
Name: Camera 1
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL



I know I need to make a modprobe for it.....but how should I make it? I cant find any data on webcam-101....

smoker 03-03-2010 05:58 PM

Where did you get that spec list from ?

LazerPhreak 03-03-2010 06:00 PM

That was the output of:
Code:

$ sudo zmu -d /dev/video0 -q -v -U admin -P admin

smoker 03-03-2010 06:11 PM

Any other software you can try the camera on ?
camorama, gideo ?

LazerPhreak 03-03-2010 06:12 PM

Yea the camera works in cheese and xawtv

When viewing from the zm console all i see is white with a broken image icon in the middle

LazerPhreak 03-03-2010 06:20 PM

OK a little progress....I think.

I ran the command:
Code:

sudo usermod -a -G video www-data
and
Code:

sudo /etc/init.d/zoneminder restart
and now I have a black screen. But its solid black. Meaning even when I hold a lighter up to it, It shows nothing. Also....my webcam light doesnt turn on....does that mean anything?

smoker 03-03-2010 06:31 PM

You have to play with the ZM settings. You should test it from another computer with firefox and see if you get an image through.
I take it you've set the monitor function and the url for accessing it remotely ?
http://www.zoneminder.com/wiki/index..._in_ZM_Console

LazerPhreak 03-03-2010 06:34 PM

I tried it with firefox. Same thing. Is there a way to diagnose where the problem actually lies?

smoker 03-03-2010 06:47 PM

You can do this faster if you read the ZM forums and readme's.
Did you try everything in that link I posted ?

Its your ZM config that's probably to blame. You have to fiddle with the ZM monitor settings

LazerPhreak 03-03-2010 06:52 PM

Yea, I actually do read the manuals lol. I've been researching this for days and only came here as a last resort. I guess I can ask elsewhere if necessary...

smoker 03-03-2010 06:55 PM

Well if it works in xawtv then there is a good chance it should work with ZM. But there are lots of settings.


All times are GMT -5. The time now is 08:31 AM.