Video Problems
Nice that did the trick, but then i got antother error.
Feb 9 22:20:37 surveilance zmc_dvideo0[5590]: ERR [Failed to set picture attributes: Invalid argument]
Feb 9 22:20:37 surveilance pwc: Could not find suitable size.
Feb 9 22:20:37 surveilance zmc_dvideo0[5590]: ERR [Failed to set window attributes: Numerical result out of range]
Where do i config this?
Feb 9 22:20:37 surveilance zmc_dvideo0[5590]: ERR [Failed to set picture attributes: Invalid argument]
Feb 9 22:20:37 surveilance pwc: Could not find suitable size.
Feb 9 22:20:37 surveilance zmc_dvideo0[5590]: ERR [Failed to set window attributes: Numerical result out of range]
Where do i config this?
I've checked the FAQ, heres what i've done, tried the pix size in FAQ and 640x800 as it says on the webcam Philips ToUcam FUN II PCVC 830K
Error:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Failed to set picture attributes: Invalid argument]
I also did the shared memory "upgrade" in FAQ and rebooted i still get:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I went throug the logs here are some more:
Feb 10 13:11:08 surveilance zmwatch[7428]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
When i look at ipcs after run of zmpkg the apache2 is removed there, and apache is dead. Restart of apache and ipcs gives still none, i think i have to reboot to make it work again. But i've set the same shared memory address in zm config.
Feb 10 13:10:16 surveilance zmfix[7378]: ERR [Can't chmod /dev/v4l/video0 to 20666: Operation not permitted]
Error:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Failed to set picture attributes: Invalid argument]
I also did the shared memory "upgrade" in FAQ and rebooted i still get:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I went throug the logs here are some more:
Feb 10 13:11:08 surveilance zmwatch[7428]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
When i look at ipcs after run of zmpkg the apache2 is removed there, and apache is dead. Restart of apache and ipcs gives still none, i think i have to reboot to make it work again. But i've set the same shared memory address in zm config.
Feb 10 13:10:16 surveilance zmfix[7378]: ERR [Can't chmod /dev/v4l/video0 to 20666: Operation not permitted]
I think this error contributes to the next error you are getting. If the image is not able to be captured, then there will be nothing in the shared mem.r0y wrote:I've checked the FAQ, heres what i've done, tried the pix size in FAQ and 640x800 as it says on the webcam Philips ToUcam FUN II PCVC 830K
Error:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Failed to set picture attributes: Invalid argument]
I'm not familuar with the flavor of linux you are useing but is /dev/v4l/video0 correct?r0y wrote: I also did the shared memory "upgrade" in FAQ and rebooted i still get:
Feb 10 13:11:20 surveilance zmc_dvideo0[7451]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
I went throug the logs here are some more:
Feb 10 13:11:08 surveilance zmwatch[7428]: ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
When i look at ipcs after run of zmpkg the apache2 is removed there, and apache is dead. Restart of apache and ipcs gives still none, i think i have to reboot to make it work again. But i've set the same shared memory address in zm config.
Feb 10 13:10:16 surveilance zmfix[7378]: ERR [Can't chmod /dev/v4l/video0 to 20666: Operation not permitted]
All other versions of Linux that I have used have always been /dev/videoN.
Regards,
Corey
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i have one of the philips things but as yet have failed to get it running with linux but
", tried the pix size in FAQ and 640x800 as it says on the webcam Philips ToUcam FUN II PCVC 830K"
thats some high res toucam,
", tried the pix size in FAQ and 640x800 as it says on the webcam Philips ToUcam FUN II PCVC 830K"
thats some high res toucam,
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
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
Yes it is, but i've read about it and is philips bogus 640x800... But thats what is says on the box... and also 800x600 snapshot... But anyone know what pic attrib i should set it to?jameswilson wrote:i have one of the philips things but as yet have failed to get it running with linux but
", tried the pix size in FAQ and 640x800 as it says on the webcam Philips ToUcam FUN II PCVC 830K"
thats some high res toucam,
i think i have come a little further with errors:
Feb 11 00:30:18 surveilance zmdc[11103]: INF ['zmc -d /dev/video0' started at 06/02/11 00:30:18]
Feb 11 00:30:18 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' starting at 06/02/11 00:30:18, pid = 11103]
Feb 11 00:30:18 surveilance zmc_dvideo0[11103]: INF [Debug Level = 0, Debug Log = <none>]
Feb 11 00:30:18 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' died, signal 10]
Feb 11 00:30:58 surveilance zmdc[11029]: INF [Starting pending process, zmc -d /dev/video0]
Feb 11 00:30:58 surveilance zmc_dvideo0[11152]: INF [Debug Level = 0, Debug Log = <none>]
Feb 11 00:30:58 surveilance zmdc[11152]: INF ['zmc -d /dev/video0' started at 06/02/11 00:30:58]
Feb 11 00:30:58 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' starting at 06/02/11 00:30:58, pid = 11152]
Feb 11 00:30:58 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' died, signal 10]
it looks like this now. And funny think.. it doesn't open the video0 device cause then a red light on the cam indicates it, cat /dev/video0 opens the device..
Feb 11 00:30:18 surveilance zmdc[11103]: INF ['zmc -d /dev/video0' started at 06/02/11 00:30:18]
Feb 11 00:30:18 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' starting at 06/02/11 00:30:18, pid = 11103]
Feb 11 00:30:18 surveilance zmc_dvideo0[11103]: INF [Debug Level = 0, Debug Log = <none>]
Feb 11 00:30:18 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' died, signal 10]
Feb 11 00:30:58 surveilance zmdc[11029]: INF [Starting pending process, zmc -d /dev/video0]
Feb 11 00:30:58 surveilance zmc_dvideo0[11152]: INF [Debug Level = 0, Debug Log = <none>]
Feb 11 00:30:58 surveilance zmdc[11152]: INF ['zmc -d /dev/video0' started at 06/02/11 00:30:58]
Feb 11 00:30:58 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' starting at 06/02/11 00:30:58, pid = 11152]
Feb 11 00:30:58 surveilance zmdc[11029]: INF ['zmc -d /dev/video0' died, signal 10]
it looks like this now. And funny think.. it doesn't open the video0 device cause then a red light on the cam indicates it, cat /dev/video0 opens the device..
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
im in unsure teritory now but does cat grab a stll from the webcam and save it as a jpeg, if so can you see the res of the image from that pic and use those settings, also i beleive webcams use a different pallate one of the yuv ones but i as i have failed to get mine working im probably not best placed to help
Sorry
James
Sorry
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
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
- lazyleopard
- Posts: 403
- Joined: Tue Mar 02, 2004 6:12 pm
- Location: Gloucestershire, UK