Forums > Jitter

How to keep a camera runningcontinuously for some hours?

Oct 10 2009 | 3:46 pm

For an installation project, I have a webcam that records video when people press a button. However, t seems that after some time, the camera is not responding anymore, the jit.grab is not sending out matrixes anymore. Anyone knows how to keep the camera running?

Oct 12 2009 | 2:36 am

If the camera starts to work again by closing and re-opening the device, then the solution should be simple.

If you expect it to be normally sending out frames, then it’s quite easy to know when it’s not. You could use a timer that keeps resetting when a new frame comes in, and if a certain amount of time passes when you’ve not received a frame, then send a sequence of messages to jit.qt.grab. (send close message, wait 5 seconds, send open message, adjust any other settings as necessary)

Hope that’s helpful.

Oct 15 2009 | 8:59 am

I had the same problem with my video camera, it would auto-shutoff after 5 minutes if there was no buttons pressed etc. I did a hack workaround with a remote control, but it was less than optimal. Opening and closing the camera worked sometimes but crashed others, but that was probably an OS/camera thing that didn’t play well together. Haven’t seen the crash elsewhere.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter