Question / Help stream is showing a black screen for starcraft 2

Riot

New Member
trying to setup obs for sc2 and the game screen is just black anyone know how i can fix this?
 

Jack0r

The Helping Squad
What method are you using to capture SC2? (This means which source did you add to the source list) Window / Monitor or Game Capture? For SC2 game capture should work fine. You might wanna post us a logfile if you run into trouble.
 

Riot

New Member
Jack0r said:
What method are you using to capture SC2? (This means which source did you add to the source list) Window / Monitor or Game Capture? For SC2 game capture should work fine. You might wanna post us a logfile if you run into trouble.

i used game capture


here is the log

22:01:43: ------------------------------------------
22:01:43: Video Encoding: x264
22:01:43: fps: 25
22:01:43: width: 688, height: 372
22:01:43: preset: veryfast
22:01:43: CBR: no
22:01:43: CFR: no
22:01:43: max bitrate: 800
22:01:43: buffer size: 1000
22:01:43: quality: 4
22:01:43: ------------------------------------------
22:01:53: Total frames rendered: 231, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
22:01:53: =====Stream End: 2013-05-16, 22:01:53=================================================
22:02:22: =====Stream Start: 2013-05-16, 22:02:22===============================================
22:02:22: Multithreaded optimizations: On
22:02:22: Base resolution: 1382x744
22:02:22: Output resolution: 688x372
22:02:22: ------------------------------------------
22:02:22: Loading up D3D10...
22:02:22: Playback device Default
22:02:22: ------------------------------------------
22:02:22: Using desktop audio input: Speakers (Conexant SmartAudio HD)
22:02:22: ------------------------------------------
22:02:22: Using auxilary audio input: Microphone (Conexant SmartAudio HD)
22:02:22: ------------------------------------------
22:02:22: Audio Encoding: AAC
22:02:22: bitrate: 256
22:02:22: Using graphics capture
22:02:22: ------------------------------------------
22:02:22: Video Encoding: x264
22:02:22: fps: 25
22:02:22: width: 688, height: 372
22:02:22: preset: veryfast
22:02:22: CBR: no
22:02:22: CFR: no
22:02:22: max bitrate: 800
22:02:22: buffer size: 1000
22:02:22: quality: 4
22:02:22: ------------------------------------------
22:02:32: Total frames rendered: 232, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
22:02:32: =====Stream End: 2013-05-16, 22:02:32=================================================
22:11:12:
22:11:12: Profiler results:
22:11:12:
22:11:12: ==============================================================
22:11:12: frame - [100%] [avg time: 3.844 ms] [avg calls per frame: 1] [children: 69.4%] [unaccounted: 30.6%]
22:11:12: | scene->Preprocess - [5.18%] [avg time: 0.199 ms] [avg calls per frame: 1]
22:11:12: | video encoding and uploading - [64.2%] [avg time: 2.467 ms] [avg calls per frame: 1] [children: 63.2%] [unaccounted: 0.989%]
22:11:12: | | CopyResource - [0.78%] [avg time: 0.03 ms] [avg calls per frame: 0]
22:11:12: | | conversion to 4:2:0 - [0.312%] [avg time: 0.012 ms] [avg calls per frame: 0]
22:11:12: | | call to encoder - [62%] [avg time: 2.384 ms] [avg calls per frame: 0]
22:11:12: | | sending stuff out - [0.078%] [avg time: 0.003 ms] [avg calls per frame: 0]
22:11:12: ==============================================================
22:11:12:
 

Jack0r

The Helping Squad
That looks all good though the start of the log is missing, did you select SC2 using the dropdown of the Game Capture or with a Hot-Key? If you only tried one of those two, could try the other please?
There is also a capturehooklog.txt in the %appdata%\obs\plugindata folder that could have useful information for us, if you could upload that as well.
 

Riot

New Member
Jack0r said:
That looks all good though the start of the log is missing, did you select SC2 using the dropdown of the Game Capture or with a Hot-Key? If you only tried one of those two, could try the other please?
There is also a capturehooklog.txt in the %appdata%\obs\plugindata folder that could have useful information for us, if you could upload that as well.


i used the select application drop down thing

here is the hooklog

2013-05-16, 21:30:18: we're booting up:
21:30:18: (half life scientist) everything.. seems to be in order
21:30:19: D3D9 Present
21:57:22: D3D9EndScene called
21:57:22: D3DPRESENT_PARAMETERS {
21:57:22: BackBufferWidth: 1280
21:57:22: BackBufferHeight: 720
21:57:22: BackBufferFormat: D3DFMT_A8R8G8B8
21:57:22: BackBufferCount: 1
21:57:22: MultiSampleType: D3DMULTISAMPLE_NONE
21:57:22: MultiSampleQuality: 0
21:57:22: SwapEffect: D3DSWAPEFFECT_DISCARD
21:57:22: hDeviceWindow: 656994
21:57:22: Windowed: false
21:57:22: EnableAutoDepthStencil: false
21:57:22: AutoDepthStencilFormat: D3DFMT_UNKNOWN
21:57:22: Flags: None
21:57:22: FullScreen_RefreshRateInHz: 60
21:57:22: PresentationInterval: 2147483648
21:57:22: };
21:57:22: successfully set up d3d9 hooks
21:57:22: D3D9SwapPresent called
21:57:22: ---------------------- Cleared D3D9 Capture ----------------------
21:57:22: received restart event, capturing
21:57:22: DoD3D9GPUHook: success
21:57:22: D3D9EndScene called
21:57:22: D3D9SwapPresent called
22:08:33: D3D9Reset called
22:08:33: ---------------------- Cleared D3D9 Capture ----------------------
22:08:35: successfully set up d3d9 hooks
22:08:35: D3D9Reset called
22:08:35: ---------------------- Cleared D3D9 Capture ----------------------
22:08:35: successfully set up d3d9 hooks
22:08:36: D3D9EndScene called
22:08:36: D3D9SwapPresent called
22:08:36: ---------------------- Cleared D3D9 Capture ----------------------
22:08:36: received restart event, capturing
22:08:36: DoD3D9GPUHook: success
22:08:36: D3D9EndScene called
22:08:36: D3D9SwapPresent called
22:14:37: D3D9Reset called
22:14:37: ---------------------- Cleared D3D9 Capture ----------------------
22:14:39: successfully set up d3d9 hooks
22:14:39: D3D9Reset called
22:14:39: ---------------------- Cleared D3D9 Capture ----------------------
22:14:39: successfully set up d3d9 hooks
22:14:40: D3D9EndScene called
22:14:40: D3D9SwapPresent called
22:14:40: ---------------------- Cleared D3D9 Capture ----------------------
22:14:40: D3D9EndScene called
22:14:40: D3D9SwapPresent called
22:17:48: D3D9Reset called
22:17:48: ---------------------- Cleared D3D9 Capture ----------------------
22:17:49: successfully set up d3d9 hooks
22:17:50: D3D9Reset called
22:17:50: ---------------------- Cleared D3D9 Capture ----------------------
22:17:50: successfully set up d3d9 hooks
22:17:50: D3D9EndScene called
22:17:50: D3D9SwapPresent called
 

Riot

New Member
also i attempted to use the hot key fuction instead but i dont entirely understand how to use it
 

Jack0r

The Helping Squad
I hope one of the developers will find some time to look at your Logfiles, the capturehooklog looks good at first, but then it instantly stops and restarts the hook process.
For the Hot-Key feature. Just set your hotkey, and as soon as your game is in focus, hit the hotkey on your keyboard. The Game should then appear in OBS.
 
Top