Page 1 of 1

No imagen in watch window

Posted: Mon Oct 27, 2008 8:53 am
by blas_lg
Hi,

I installed ZoneMinder 1.22.3 in a Ubuntu 8 using a Logitech QuickCam.

When I access to the zm console (using the browser) I can see my cam but the /dev/video0 is in red. When I click to go to the watch window it appears but with no image.

I look in the forums and I chech that:

- My /dev/video0 has rwxrwxrwx
- The zmdc.log has two significative lines:
zma -m 1 exited abnormally, exit status 255
zmc -d /dev/video0 exited abnormally, exit status 255
- The zmwatch.log has the INF message:
Restarting capture daemon for XXXXXXX, shared memory not valid

This camera works fine using xwatv

I would apreciate any idea about how to fix this problem

TIA,

blas

Posted: Mon Oct 27, 2008 5:31 pm
by jameswilson
what res are you running?

Posted: Mon Oct 27, 2008 10:52 pm
by blas_lg
James,

Excuse but I'm very newbie using cameras and zm, but what "res" means ??

Webcam resolution ? If yes, I cofigure zm for 300x300

TIA,

blas

Posted: Mon Oct 27, 2008 10:56 pm
by jameswilson
yes sorry resolution

Often but doesnt seem to be the case here is you dont have enough shared mem.

Id also advise a more conventional res, 300x300 is a bit strange.

try 320x240 or 160x120 just for testing.

Not all cams can give all resolutions.

James

Posted: Tue Oct 28, 2008 11:45 am
by blas_lg
Thanks James for your reply.

As you supose, 300x300 is not the resolution but the size of the image. But I don't know how guess this value and how can it be changed.

Supresly, when I reboot the system, the /dev/video0 lost the permissions. But now, I changed it again but the problem contnues.

TIA,

blas

Posted: Wed Oct 29, 2008 9:41 am
by jaume85
i also have Logitech Webcam.

Test of change resolution 160x120 or 352x288.

This webcams allow 1 or 2 diferent resolution, if not correct don't work.

Posted: Wed Oct 29, 2008 10:15 am
by blas_lg
Thanks Jaume,

But how can be changed the cam resolution ?

TIA,

blas

Posted: Wed Oct 29, 2008 2:29 pm
by jaume85
enter zoneminder by web, clik down to the column source. In my case put name of driver "dev/video0" when clik opening a new window, open the tab source and change capture width, capture heigh.

i hope you will help ! ;)

Posted: Wed Oct 29, 2008 3:03 pm
by blas_lg
Thanks Jaume!!!

I saw a lot of time this param and I always thought that it was about the size of the window !!!

Now it works,

blas

Gràcies