framerate is low
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-v4l2capture |
New
|
Undecided
|
Unassigned |
Bug Description
Compared to the other lib, capture frame rate is low on the same hardware.
--
simon@bourne:
stopped capture, frame rate is 9.02251679714
stopped capture, frame rate is 8.94467536006
stopped capture, frame rate is 9.17101152571
--
simon@bourne:
Capture size 640 480
starting capture
trying to stop...
stopped capture, frame rate is 0.747753137051
starting capture
trying to stop...
stopped capture, frame rate is 4.83288197441
starting capture
trying to stop...
stopped capture, frame rate is 4.8239900316
starting capture
trying to stop...
stopped capture, frame rate is 4.07253613909
Terminated...
--
Mungewell.
Are you shure you create enough buffers? Call create_buffers with at least 4 as argument. Call read_and_queue instead of read to return the buffer to the driver quicker.