Re: [Linux-uvc-devel] Multiple camera framerate.

2010-05-07 Thread Laurent Pinchart
Hi Dennis, On Tuesday 27 April 2010 18:19:01 Dennis Muhlestein wrote: On 04/27/2010 05:48 AM, Paulo Assis wrote: 2010/4/27 Ian Latterian.lat...@midnightcode.org: You can grab frames at whatever speed you want, but it's the camera framerate that will make a difference in the usb bandwidth

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-05-07 Thread Laurent Pinchart
Hi Denis, On Tuesday 04 May 2010 17:37:13 Dennis Muhlestein wrote: On 04/29/2010 12:40 PM, Dennis Muhlestein wrote: One idea I've been toying with is to add a semaphore around submitting the URBs. In uvc_video.c, where the URBs are submitted, I'd acquire a semephore for each device

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-05-07 Thread Dennis Muhlestein
On 05/07/2010 09:10 AM, Laurent Pinchart wrote: I'm attaching the patch in case anyone wants to play with this or suggest ways to improve it. Interesting approach, but definitely a hack. I'm not sure if it has a chance to make it to the driver. Most definitely a hack. I just included it

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-05-04 Thread Dennis Muhlestein
On 04/29/2010 12:40 PM, Dennis Muhlestein wrote: One idea I've been toying with is to add a semaphore around submitting the URBs. In uvc_video.c, where the URBs are submitted, I'd acquire a semephore for each device currently submitting URBs. The semaphore would limit the number of devices to

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Ian Latter
as one thought ;-) - Original Message - From: Dennis Muhlestein djmuhlest...@gmail.com To: linux-uvc-devel@lists.berlios.de Subject: [Linux-uvc-devel] Multiple camera framerate. Date: Mon, 26 Apr 2010 14:43:39 -0600 I have a project I've been playing with that uses a number of cameras

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Paulo Assis
Dennis, Can anyone suggest a way to configure the cameras at a higher framerate without overloading the USB bus?  Suppose I can read at 10 fps right now without overloading the USB bus.  I'd like to set the framerate to 15, but still just capture around 10. You can grab frames at whatever

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Ian Latter
You can grab frames at whatever speed you want, but it's the camera framerate that will make a difference in the usb bandwidth and not the amount of frames you get with your application. So, if you don't take a frame from the UVC driver, it will simply continue to refresh an internal buffer

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Paulo Assis
Ian 2010/4/27 Ian Latter ian.lat...@midnightcode.org: You can grab frames at whatever speed you want, but it's the camera framerate that will make a difference in the usb bandwidth and not the amount of frames you get with your application. So, if you don't take a frame from the UVC

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Dennis Muhlestein
On 04/27/2010 04:52 AM, Paulo Assis wrote: Dennis, Can anyone suggest a way to configure the cameras at a higher framerate without overloading the USB bus? Suppose I can read at 10 fps right now without overloading the USB bus. I'd like to set the framerate to 15, but still just capture

Re: [Linux-uvc-devel] Multiple camera framerate.

2010-04-27 Thread Dennis Muhlestein
On 04/27/2010 04:08 AM, Dr. Alexander K. Seewald wrote: Hi Dennis, I don't think it is possible to decouple the recording frame rate from the output framerate, at least not with the UVC firmware out there. But you could try to switch off auto exposure and set it manually if your cameras expose