Operating system and version: Ubuntu 20.04 (also obeserved in the past in Ubuntu 19.10)
OBS Studio version: 25.0.7 (installed through the synaptic package manager, from the official ubuntu repo)
The image produced by Logitech BRIO should have natural colors.
As soon as I open the "Properties for " a v4l2 device, the image doesn't seem to have much red anymore. In the attached log file, opening the properties window happens at line 100. As a workaround, the camera can be unplugged, and plugged back in to get realistic colors. As soon as the properties are opened, red disappears again. Note that the log file doesn't include steps 4, 5 and 6 of the "steps to reproduce". When creating this file, the webcam was preconfigured as a source.


Here's a picture of https://en.wikipedia.org/wiki/SMPTE_color_bars#/media/File:SMPTE_Color_Bars_16x9.svg:

I'm experimenting with this fork of obs-studio because I also want MJPG support: https://github.com/ggodlewski/obs-studio . It doesn't seem to have this issue, and it also lacks all the properties shown below "Color Range" in the propeties menu in my second screenshot. So I assume the issue has something to do with these settings.
While completing this report, I noticed that version 25.0.7 is the version that was shipped with ubuntu 18.10, and was still installed. I quickly "up"-graded OBS to the repository version of ubuntu 20.04, which is 25.0.3+dfgs1-2. This version behaves the same.
This looks like the white balance "auto" setting might be off. Could you try turning it off auto and setting it to a sensible value (like 5500k)?
I tried. It didn't help. In fact it didn't seem to do anything. I switched off the automatic white balance and moved the slider.
I tried it again, and noticed that just after I move the white balance slider, the image changes, but then over the span of a few seconds goes back to how it was. And the change doesn't seem to be white balance related, but rather brightness.
Use the official ppa not the debian packaging. After updating to the official ppa delete the source and re-add it. Feel free to open and provide a log if it still occurs after that.
https://obsproject.com/wiki/install-instructions#ubuntu-installation
Just installed version 25.0.7-0obsproject1 as per the link kkartaltepe sent. The problem still occurs, and here is the new log file according to my previously documented steps to reproduce:
obsblue2.txt
Furthermore, I just tried this webcam with another program called guvcview. This program has the same image controls. In that program, manually setting the white balance temperature to 2000K yields the same image. Switching on the automatic white balance brings back natural colors.
With the newly installed version, I deleted the source, closed OBS, started logging the terminal and opened OBS.
I don't seem to have the power to re-open this ticket.
Hi @depeje and @notr1ch,
It seems to be a bug for v4l2 bool controls: the input widget is created as a checkbox but the value is got as if it was an integer input:
https://github.com/obsproject/obs-studio/blob/master/plugins/linux-v4l2/v4l2-controls.c#L49
Since there is a type validity check that occurs at https://github.com/obsproject/obs-studio/blob/master/libobs/obs-data.c#L1656, it will always return 0, that's why the "White Balance Temperature, Auto" is always set to 0, regardless of the auto settings.
I may open a PR to submit a fix if welcome :)
Hi @clook,
I'm happy to test the PR when you make one :)
Any chance this has been fixed yet? I just streamed a very blue stream by accident a couple of weeks ago; Ubuntu 20.04, OBS (not sure which, probably Ubuntu's), and a Logitech Brio.
Linux: https://www.facebook.com/ChinaCatRiders/videos/2904445076492936/
Windows: https://www.facebook.com/ChinaCatRiders/videos/1908573072609227/
Same camera, same location. The difference is pretty striking.
Probably fixed by #3429
I'm seeing exactly this same bug on my Lenovo Thinkpad using the built-in webcam, using Ubuntu 20.04.
This is some sort of crash in the white balance as people above suggested. My camera went blue in OBS and all other camera apps, selecting the white color balance tick box in OBS did nothing to fix it. BUT, I closed OBS, opened GUVCVIEW and the camera came up blue.. until I ticked the White color balance box in GUVCView. Suddenly my camera looked normal again. Something in OBS is breaking the white color balance, and changing the option in OBS isn't applying the white color balance back to the Camera device.
Are you saying this still occurs in 26.0.2?
No, I've just checked the versions. Debian still has an older build than 26.0.2.
Most helpful comment
Probably fixed by #3429