Re: [PATCH v1] media: vivid: Add webcam parameter for (un)limited bandwidth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/04/2023 09:31, Max Staudt wrote:
> On 4/11/23 16:26, Hans Verkuil wrote:
>> I think we either use this bandwidth option and calculate the max fps based on
>> that (basically the bandwidth divided by (image_size + some blanking factor)),
>> or we keep it simple and instead of going down two steps in fps we allow up to
>> 60 fps up to 720p, then 30 fps for 1080p and 15 fps for 4k.
>>
>> The fps values currently used are a bit outdated w.r.t. modern webcams, so
>> upgrading it wouldn't hurt. And this is a lot simpler than doing bandwidth
>> calculations.
> 
> Do I understand you correctly, are you suggesting to simply update the FPS limits to a new fixed schema, and not have an option at all?

Correct.

The ideal solution is indeed proper bandwidth calculations, since this would
be a proper emulation of actual webcam hardware. If you have time and are
interested in doing the work, then that would be great, of course.

But if you just want to increase the fps limits to be more in line with
modern webcams, then that's much quicker and should be fine.

It might also be interesting to perhaps allow for 120 fps for the low
resolutions (below 720p).

Regards,

	Hans

> 
> I'm happy to prepare an alternative patch for that, too.
> 
> 
> 
> Max
> 




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux