How to get vga resolution with zoneminder

Support and queries relating to all previous versions of ZoneMinder
Locked
joerg
Posts: 2
Joined: Thu Jul 24, 2003 9:56 am

How to get vga resolution with zoneminder

Post by joerg »

Hi Philip,
First of all, gratulation to this nice piece of software.

Zoneminder have some problems to capture vga sized picture
from my quickcam 4000. On xawtv and gnomemetting the
grabbing are ok. Ok too, when zoneminder works
on y:352x288 by yuv420p.

When I try to set vga resolution 640x480, I get the messages
"Failed to set picture attributes: Invalid argument". So
I test each palette entry of the combobox - same result.
Do you have same magic power ?

Thanks for your help.

Joerg

P.S.: enclosed some text from my messages.log


modprobe pwc size=vga dev_hint=3 leds=0,0

Jul 24 11:39:50 pach kernel: pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 8.10 loaded.
Jul 24 11:39:50 pach kernel: pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
Jul 24 11:39:50 pach kernel: pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
Jul 24 11:39:50 pach kernel: pwc Default image size set to vga [640x480].
Jul 24 11:39:50 pach kernel: pwc Trace options: 0x0040
Jul 24 11:39:50 pach kernel: pwc Preferred compression set to 0.
Jul 24 11:39:50 pach kernel: usb.c: registered new driver Philips webcam
Jul 24 11:39:50 pach kernel: pwc Logitech QuickCam 4000 Pro USB webcam detected.
Jul 24 11:39:50 pach kernel: pwc Registered as /dev/video3.

insmod -f /usr/local/2.4.20-4GB/modules/pwcx.o

Jul 24 11:45:24 pach kernel: pwc Philips webcam decompressor routines version 8.3
Jul 24 11:45:24 pach kernel: pwc Supports all cameras supported by the main module (pwc).


zoneminder:
Jul 24 11:46:52 pach zmc-d3[23398]: INF [Got 1 monitors]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [X:0]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [Y:0]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [W:640]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [H:480]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [P:15]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [D:24]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [B:32256]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [h:65535]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [Cl:32114]
Jul 24 11:46:53 pach zmc-d3[23398]: INF [Cn:26624]
Jul 24 11:46:53 pach zmc-d3[23398]: ERR [Failed to set picture attributes: Invalid argument]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: How to get vga resolution with zoneminder

Post by zoneminder »

Hi Joerg,

This is a little odd. Have you tried setting STRICT_VIDEO_CONFIG to off? This will ignore the error you are getting and continue. You may then find that it does actually capture correctly despite it saying it won't.

Cheers,

Phil,
joerg
Posts: 2
Joined: Thu Jul 24, 2003 9:56 am

Re: How to get vga resolution with zoneminder

Post by joerg »

Hi Philip,
thanks for your reply. But STRICT_VIDEO_CONFIG is set to off.
After restart same problem is going on.

Cheers,
Joerg
Locked