Page 1 of 1

No image?? no clue

Posted: Thu Feb 23, 2006 8:17 am
by stabak
ok here it is,

Suse 10 x86_64
webcam logitech quickcam communicate STX with spca5xx
apache 2.0.54
Mysql 4.1.13
all requirements ok
configured properly...
streaming works with , xawtv ,gqcam and other applications

Symptom : no streaming at all (monitor, etc), Zone produces the image just fine , Record produces events but browser(s) show nothing out of the : http://localhost/cgi-bin/nph-zms?mode=j ... 1140603604 OR plain zms

Checked all zm logs and apache2 messages and can't find anything interesting other than below :

warn.log : Feb 22 11:14:40 localhost zmc_dvideo0[6368]: ERR [Failed to set picture attributes: Invalid argument]

zmu -q -d/dev/video0 -v
Video Capabilities
Name: Logitech QuickCam Communicate STX
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 640
Maximum Height: 480
Minimum Width: 176
Minimum Height: 144
Window Attributes
X Offset: 0
Y Offset: 0
Width: 384
Height: 288
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 0
Colour :0
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: ZC301-2
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL


Apologize in advance if this is a v4l or camera/driver problem or just ME but after a thorough search i found others with exact same probs and tried all proposed remedies without success

Posted: Thu Feb 23, 2006 1:20 pm
by maciekc
Check your apache log if cgi scripts are running. try to get still images in viewing monitor. Probably this is apache not configured. I think that is not your driver/camera problem.

Posted: Thu Feb 23, 2006 1:56 pm
by stabak
Thanks Maciekc for the reply... I don't get still images either so I was afraid its a permission thing or the zmc, nph-zmc....

How can I test the cgi scripts are running or hav errors? Never had an issue before with cgi... and scripts.
Nop nothing interesting with cgi executions

Posted: Thu Feb 23, 2006 3:41 pm
by maciekc
It must be something with zms, nph-zms. You can try to get images directly from url:
http://localhost/cgi-bin/nph-zms?mode=j ... &scale=100
and
http://localhost/cgi-bin/zms?mode=jpeg& ... &scale=100


check your error.log and access.log of apache - /var/log/apache/ - that's the path in my debian, should be almost the same in your distro.
Please post your a part of log when you open monitor in browser.

Posted: Fri Feb 24, 2006 6:37 am
by stabak
maciekc wrote:It must be something with zms, nph-zms. You can try to get images directly from url:
http://localhost/cgi-bin/nph-zms?mode=j ... &scale=100
and
http://localhost/cgi-bin/zms?mode=jpeg& ... &scale=100
I don't get anything directly other than the binary (save as) or the execution on konqueror for example
maciekc wrote:check your error.log and access.log of apache - /var/log/apache/ - that's the path in my debian, should be almost the same in your distro.
Please post your a part of log when you open monitor in browser.
That's is the thing, i just get only this from access.log and nothing from error :

10.0.0.1 - - [24/Feb/2006:08:29:18 +0200] "GET /zm/zm.php?view=watchevents&max_events=10&mid=1 HTTP/1.1" 200 3643 "http://localhost/zm/zm.php?view=watch&m ... &scale=100" "Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8) Gecko/20051111 Firefox/1.5"

Posted: Fri Feb 24, 2006 11:20 pm
by zoneminder
Does Konqueror support mpjpeg image streams? If not you can try the Cambozola applet instead, you can use that anyway to test with in the meantime.