Question / Help Unable to capture a transparent Window?

Flo_Ami

New Member
I have a lyrics program that scrolls lyrics against a transparent background so that you can see the window underneath. I can capture this window fine on both Classic and Studio when capturing the monitor, but when I have tried window capture, it only shows up as a black square. I can make due with capturing my whole monitor if I have to, but I'd rather not since it will expose my private messages during streams. Is there any way to fix this? Either via Classic or Studio?

Reference pictures:

Monitor capture (ref for how it should look like) -
monitor_capture_by_shadowedlove97-dbbyfru.png


Window capture -

window_capture_by_shadowedlove97-dbbyfrl.png
 

SumDim

Member
Display capture is not the same as a window capture. Display capture is the entire bitmap of a physical screen device. A window is a graphical user interface element that typically has borders and min/max/close buttons along with a title bar.

It appears what OBS Studio does is enumerate looking for all top level windows on a screen by looking for those with a title and border. Looking at the image you posted, your lyric window is borderless and has no title. This is likely the problem of why it doesn't show up in the Window Capture property dropdown. If you are the programmer, recode it as a window with a title and thin border and see what happens.
 

Suslik V

Active Member
Also, OBS Studio can filter background with Color Key from any source. Thus, solid color background becomes transparent.
 

Fenrir

Forum Admin
To crop sources in OBS Studio, first reset the source to its default size by clicking on it and pressing ctrl+r. Then hold the alt key and drag the red box around the source you wish to crop. The sides will turn green to indicate they are cropped.
 
Top