Hi,

I'm using a camera (1cac:a332 kinstone C8) with uvc (SVN r233, fairly
old, I know). Usually, I sue this camera at 320x240 resolution at a
frame rate of 20f/s. When I try and up the frame size to 640x480, I
always get a timeout when I do a select().

I expected that if I passed a long enough timeout to select that it
would eventually indicate that a frame is ready, but that turned out not
to be true. It doesn't matter what value of timeout I pass to select -
the call just pends for whatever time I specify, but still always times
out.

After a bit of investigation I discovered that if I reduce the frame
rate specified to the camera via the stream parameters, I can then
select and dequeue a frame. It seems as though this is the critical
value - unless I indicate a low enough frame rate the camera never
captures a frame. i.e. the camera must be able to capture a frame within
the frame rate given, regardless of how long a timeout is specified to
select.

Is this correct behaviour?

Could someone point me at the part of the source code where the timeout
is implemented?

Cheers

Darren

_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to