-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Changing camera resolution breaks the camera portal #10399
Comments
Have you tested if you are getting the same result when using the V4L2 capture instead? I can say from my own experience that some capture devices are just buggy like that. They don't allow changing capture parameters until turned off and on. This was consistent with other camera-applications. Not doubting there could be an issue, just wanting to make sure this is actually related to the portal implementation. |
Yeah, using the V4L2 works as expected, but I found another way to get the bug to go away other than restarting the app, I can just change the camera source in the portal settings and change it back. |
Hi @shetozz, can you please reproduce this issue while you run Please double check if the logs don't contain sensitive information before uploading them! |
I see this same behaviour too. Seems to give pipewire a hard time, as audio drops out in firefox and I have to restart the pipewire service. Here's the debug output:
|
Here's the If I restart pipewire and run obs, the camera is at the new resolution. So it does change the settings, but something else fails along the way. |
Using
If I select a camera whose backend is v4l2 (not libcamera) then this crash doesn't happen (there are other glitches, similar to #10588 - I have to switch back and forth sometimes to get a particular framerate working). |
Operating System Info
Other
Other OS
Fedora 39 workstation eddition
OBS Studio Version
30.1.0
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/hsHQW4pOfOAh58Ey
OBS Studio Crash Log URL
No response
Expected Behavior
Changing camera resolution should keep the camera working.
Current Behavior
Changing the camera resolution breaks the portal -camera turns off and the video freezes-, and changing it back doesn't fix it. You have to restart OBS.
Steps to Reproduce
...
Anything else we should know?
No response
The text was updated successfully, but these errors were encountered: