obsproject / obsproject/obs-studio
Anything with Subtract blending mode appears black in rescaled output
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
30.1.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/h2Ilp5Wf1bzNCqlK
OBS Studio Crash Log URL
No response
Expected Behavior
The video output should match the visuals in the program view.
Current Behavior
When rescaling output to stream or recording, any area of the output where the layer with Subtract blending is unobstructed appears solid black.
Steps to Reproduce
- Create a background image layer.
- Create a foreground image layer and set its blending to Subtract.
- Place a third semitransparent layer on top.
- Go to recording output settings and enable rescale output.
- Record the scene and look at the output file.
Anything else we should know?
The issue can be fixed by placing a solid black image over the entire screen and setting it to Additive blending.
This is a half educated guess, but I think this may involve the rescaler taking alpha values into account? This issue only occurs with Subtract blending specifically and outputs correctly to the Program view, any unscaled outputs, and behind any semitransparent layers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided OBS log and reproduce the issue using the listed scene setup and recording rescale steps on Windows 11. Compare the Program view with the recorded output, focusing on areas using Subtract blending. Done means rescaled recordings match the Program view without those areas becoming solid black.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100