Page 1 of 1
Capture failure for frame 0
Posted: Tue Sep 30, 2003 9:42 pm
by reetix
When I run zmc -d 0 the daemon runs, but I have no picture, and in the syslog, it shows:
Sep 30 22:26:27 creative zmc-d0[1126]: ERR [Capture failure for frame 0: Invalid argument]
Sep 30 22:26:27 creative zmc-d0[1126]: ERR [Sync failure for frame 0: Invalid argument]
on and on .. anyone know what causes this?
cheers
paul
Re: Capture failure for frame 0
Posted: Thu Oct 02, 2003 4:33 pm
by zoneminder
Hi Paul,
What camera or capture card are you using with your system?
Regards,
Phil,
Re: Capture failure for frame 0
Posted: Thu Oct 02, 2003 5:37 pm
by reetix
Hi Phil, thanks for replying, heres an update:
When I was getting this error, I had Capture Width & Capture Height set to zero. I set these values to 320 and 240. Now I get a different error:
Oct 2 18:37:11 creative zmc-d0[1032]: INF [Starting Capture]
Oct 2 18:37:20 creative zmu[1041]: ERR [Can't open New.jpg: Permission denied]
Oct 2 18:37:25 creative zmu[1054]: ERR [Can't open New.jpg: Permission denied]
Re: Capture failure for frame 0
Posted: Mon Oct 06, 2003 4:59 pm
by reetix
I've solved this problem, zoneminder was setup to use the web user apache, but apache doesn't exist, I've changed it to 'nobody' (the user apache is using) and now it's fine.
Re: Capture failure for frame 0
Posted: Thu Mar 11, 2004 3:23 pm
by lazyleopard
I've had this with 1.18.1 too. The flood of "Capture failure" and "Sync failure" messages, that is....
Mar 11 14:21:52 x zmc-d0[23766]: ERR [Sync failure for frame 0: Invalid argument]
Mar 11 14:21:52 x zmc-d0[23766]: ERR [Capture failure for frame 0: Invalid argument]
....repeated for at least 100 megabytes-worth...
It happens when the video capture parameters are invalid (say all zero, or width and height the wrong way round so that one is out of range, or...) but a camera gets started anyway.
The problem is that the messages are produced at a phenomenal rate. My syslog grew to fill the available space (hundreds of megabytes) in less than a minute....