-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary workaround for chrome/skype. #180
Conversation
I have questions and comments about this. First, i can confirm that this works well on linux for skype. Chromium already worked without it. However, it no longer works on Cheese, for example. Obviously, being a workaround, it is not a good solution. I have several comments:
|
Thanks for these valid comments. In fact, the code I wrote is just a minimal solution to get skype/chrome working again without having to recompile the browser myself. It should be easy to add additional parameters which allow to change the fixed resolution and framerate also from the command line. There is also a more extensive solution which I described in an issue in my private repo, namely to expose some selected "preferrable" resolution/framerate settings via the older v4l interface as valid resolutions, so that apps reading the possible resolutions via this API can change between them without even reloading the module with new parameters. However, as I do not see much resonance on my simple and stupid patch, I think it will not be worth the time to implement these improvements. After all my patch is sufficient as a workaround for my own purposes. If you actually do need those improvements urgently, let me know. Regarding higher resolutions for skype, I myself had the experience that these will take up a lot of CPU power and battery, running up the fans. Hence I picked the smallest possible resolution. |
I think it's just a project that has stalled for a bit, but resonance and push will come from pushing forward from these ends. I would not let the lack of response discourage you from contributing. I do not speak on behalf of the project, so I do not know what the requirements would be to merge this feature (at least as a first step so that we have some experimental fix). I'd say renaming the parameter could be a reasonable thing to do for a first merge, and making it possible to work for other resolutions could be a separate PR (just to divide it into bite-sized chunks that are almost trivial to merge). @patjak Do you have an opinion on this? Is this mergeable? |
Hi, sorry for the delay. I've been thinking about this for a while and perhaps we should just revert back to discrete frame sizes instead. Most applications seems to only care about UVC and UVC only uses discrete frame sizes. Perhaps we can add stepwise back with a kernel parameter. So basically what you are proposing but the other way around :) I don't like the 320x240 limit. There are both low-end and high-end machines using facetimehd so that would hurt the high-end machines. |
Still thinking? |
Any news? |
@maximilianduell |
I went ahead and patched this. Thanks |
Ah sorry, just read it now. Thanks! |
No description provided.