Question / Help Automatic Scaling

FliXiFiX

New Member
Hey guys,
I want to stream an old Game. The only way to get the Game is "Display Capture". My base Resolution is 1920x1080, output scaled is 720p. My game resolution is 1024x768 - 4:3. The problem is, I tab into my game and then the source is very small on the canvas. Is there a way to get it automated upscaled on the canvas?
Sorry for my bad english (:
 

koala

Active Member
If your game is 1024x768, and you want to stream at 720p (1280x720), it makes no sense to use a base resolution of 1920x1080. Set your base resolution to 1280x720, then add the display capture source. I assume you play fullscreen, so the source is 1024x768 in OBS as well. Then resize the source with Right-clicking it ->Transform->Fit to Screen, so it fits on the top and the bottom of the preview, and center it so you have equal black bars on the right and on the left.
 

FliXiFiX

New Member
Thank you for your quick reply.
The Problem is, i only can use Display Capture. So first it captures my whole Desktop, then I tab into my game and the source is very small. I know the solution "fit to Screen", but i can't do this while I'm ingame. Or is the a way?
 

koala

Active Member
I understand your problem, but I don't know an obvious answer. There is a function where you can edit the transform manually: Source->Transform->Edit transform. Set size and Bounding Box Size to 960/720; this is what your game is resized to when fit to 720p.Set position to 160 and 0 (160 pixels is the width of the black bars). If this doesn't work, play with the values and with the drop down boxes. Perhaps you find a combination that fixes the size of the display capture to the game resolution.

If this doesn't work, as last resort, set your Windows desktop resolution to 1024x768 temporarily, so there is no resize if you start the game.
 

MrFrenglish

Member
Im not sur if I understand you well, but if what you say is what I think, then you could do a display capture, then crop the borders until you get the dimensions of your game right and then "re-enlarge" your window to fit to screen.

That way your desktop wont show and the game will fill your obs screen. Not optimal, but thats usually how it goes with older games.
Is that what you meant?
 

FliXiFiX

New Member
Thank you for your help. The best way is, but not the most beautiful way, to change the desktop resolution to the ingame resolution and then it works very well with OBS. I'll test the other ways during the week. As said, it is not te most beautiful way.
 

Interlace

New Member
I'm seeing multiple topics where people ask for a simple autoscale/autostretch on non-canvas resolutions and get flak for it. Not happening here but come on it's not that weird to not want to see artifacts when switching resolutions, or needing to take multiple manual steps to adjust while live :/ Hope the devs figure it out.
 
Last edited:

Nawor

New Member
Hello @FliXiFiX @Interlace,
I've just found how to do it, just add the filter "Scaling/Aspect Ratio" on your capture source and put "Scale Filtering" to "Area" and "Resolution" to "Base (Canvas) Resolution".

Like this:
2021-08-15 22_18_51-Filters for 'Game Capture'.png


You're welcome ;)
 
Top