rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

Add RFC: Consistent behavior for video sources that do not have video

Open gxalpha opened this issue 1 year ago • 1 comments

Description

To fix the problem of what to do when a video source has no video, we create a system for the user to indicate what they want the source to do. Presented to the user as a separate setting, the user can choose between invisible, the last frame, or a black image the size of the last frame. OBS handles when a source indicates that it no longer has video.

Motivation and Context

Some video sources, like window capture, video capture, or media sources, at some point in their lifetime might not have any video to display. Currently, what sources do is that scenario is pretty much a wild west. For example, macOS Screen Capture shows the last known frame, Media Sources have a checkbox between invisible and the last known frame, Game Capture (Windows) shows nothing (to my knowledge), etc. Past discussions have shown that different users expect differnt things to happen in this case. Some want the last frame, others want nothing, etc. Part of this are privacy concerns on what is shown, however this goes both ways: A window capture that shows the last frame may not be supposed to do that as the user clicked the window away since they showed something they didn't mean to; meanwhile a source that suddenly shows nothing could expose what is below it. Giving control over this to the user should address those conerns.

Link to RFC

Please comment your thoughts!

gxalpha avatar Jun 11 '24 15:06 gxalpha

I suppose "no video" is a bit broad when it's meant address "no video when video might be expected". I'll change that when integrating the other feedback above.

gxalpha avatar Aug 24 '24 14:08 gxalpha