No imagen in watch window

Support and queries relating to all previous versions of ZoneMinder
Locked
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

No imagen in watch window

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

what res are you running?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

Post 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
jaume85
Posts: 20
Joined: Mon Oct 06, 2008 5:13 pm

Post 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.
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

Post by blas_lg »

Thanks Jaume,

But how can be changed the cam resolution ?

TIA,

blas
jaume85
Posts: 20
Joined: Mon Oct 06, 2008 5:13 pm

Post 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 ! ;)
blas_lg
Posts: 7
Joined: Mon Oct 27, 2008 8:24 am

Post 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
Locked