[cpia] frame rate

Jack Diederich jack_diederich@email.com
Fri, 9 Jun 2000 19:25:24 -0400 (EDT)


I'm assuming you have a version of gqcam > 0.6 (before that it was hard coded at 2 frames per second). Make sure to use the '-F' option to grab frames as quickly as possible.  Then echo to /proc/cpia/video0 'sensor_fps=30' and 'target_framerate=30' and you should be able to get about 30 fps when the image isn't changing.  About 15 fps is all you can expect when the image is changing costantly.  The defaults in /proc/cpia/videoX are set to something lower, like 15 fps.  On the other hand, this is all you really need because it isn't going much higher than 15 fps when alot of action is happening on camera.

On my PIII 500Mhz 30 fps sucks up to 40% CPU.

If this doesn work for you, or you have other problems w/ gqcam please post here. I did the threading on that app, and tried specifcally to support as high a framerate as possible.

-jack
------Original Message------
From: Joseph Eggleston <eggles@rsch.comm.mot.com>
To: cpia@risc.uni-linz.ac.at
Sent: June 9, 2000 10:14:04 PM GMT
Subject: [cpia] frame rate


I've been using the Webcam II under both linux (using cpia-1.0) and NT.
I've noticed that NT gets about twice the frame rate that gqcam gets.
Adding vic on linux cuts the frame rate in half again (about 5fps using
vic on linux). Does anyone have any suggestions on how to get better
frame rate?

_______________________________________________
cpia mailing list  -  cpia@risc.uni-linz.ac.at
http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com