Bug Report Game Capture resize bug (look here Jim)

Haliinen

Member
I'm capturing this game through OpenGL (because the plugin I use is based off OpenGL), if that matters, the same thing happens on DirectX as well probably though I didn't test that yet. I'm not sure but since the in-game resolution is 1280x960 (4:3 aspect) and the stream output resolution is 1280x720 (16:9 aspect) it thinks that the game I'm capturing will also be in 16:9 aspect, which isn't the case.

Just an image of how it looks:
OBS%20Game%20Capture%20Bug%20possibly.dib


This gets very painful to resize to my preference.


Log file, just in case (yes I'm on Windows 7, but using an official Windows 8 theme for it, the reason to why Aero is enabled is because I don't capture my monitor.)
Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 4500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580
  Video Adapter Dedicated Video Memory: 1560739840
  Video Adapter Shared System Memory: 2684235776
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: medium
    CBR: no
    max bitrate: 1808
    buffer size: 1808
    quality: 10
------------------------------------------
using memory capture
Total frames rendered: 256, number of frames that lagged: 1 (0.39%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.314 ms] [avg calls per frame: 1] [children: 67.8%] [unaccounted: 32.2%]
| scene->Preprocess - [0.0905%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [67.7%] [avg time: 2.243 ms] [avg calls per frame: 1] [children: 38%] [unaccounted: 29.7%]
| | CopyResource - [0.483%] [avg time: 0.016 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0604%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [37.4%] [avg time: 1.24 ms] [avg calls per frame: 0]
| | sending stuff out - [0%] [avg time: 0 ms] [avg calls per frame: 0]
==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
there's a "fit to screen" option in the game capture which automatically resizes it, is there an issue with using that?
 

Haliinen

Member
The thing is, I would like to resize it to my preference so I have some space for some other sources to the left/right. That's why I stream in 16:9 on a 4:3 game. I just want the resize feature in Game Capture to work the same as in Software Capture, it works fine there. For the record, fit to screen didn't do anything, maybe because it already thinks the source is fit?

EDIT:
OBSBugIguess.png


Base resolution is 1280x720, nothing is downscaled this time. It's not supposed to look like this, that's for sure. This is how I want it however, so I have some space over to the left to add more sources, but it gets a bit more painful to resize.
 

JCade

New Member
I went to the IRC channel for help with this specific issue.
Until we are able to modify/specify the exact resolution for a source in OBS, this is the solution.


First, make sure that OBS isn't running. Otherwise, the changes will simply revert.
Go to: ..\Users\[username]\AppData\Roaming\OBS and find scenes.xconfig
Find the name of the source file you want to modify the size of.

Example:
My stream output res is 1680x720, however my main monitor's native res is 1680x1050 (resizing to 1152x720 gives me the same ratio, 16:10, with a height of 720).
The source name is pc-game.
So, under the entry for pc-game, I change the values of cx and cy to 1152 and 720 respectively.
ignoreAspect must be set to "1" for the specified source.
obsspecifysourceresolut.png

Once you're done, save the file and then open OBS; your source should now be at the specified size.
Rinse and repeat as needed.
-
Hope I helped.
 

Bensam123

Member
Although it's not a fix, software capturing the specific region would provide what you're looking for. Otherwise DXtory would also provide a option to this (it has built in scaling and croping).
 
Top