Question / Help Black screen

Astug

New Member
Hi.

I would like to use OBS to record my gameplay but I cannot get it to work properly.

Every recording shows a black screen but it does record the game's audio.

I'm running OBS's 64 bit executable as admin and I've set game capture as a source (using the hotkey method).

I've tryed using the compatibility hook but it has made no difference.

Below you can find the settings I'm using.

Encoding:
GXrSupf.jpg


Broadcast:
8aF4zAF.jpg


Video:
7j49EP4.jpg


Advanced:
tn1Oqcc.jpg


I've included a log aswell.

(The log states that the preset being used is llhq -whilst the above image shows that this should be hq-, this is because I set the preset to automatic to see if that might fix the issue, but sadly it did not.)

Code:
00:41:32: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
00:41:32: -------------------------------
00:41:32: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
00:41:32: CPU Speed: 3400MHz
00:41:32: Physical Memory:  8133MB Total, 3422MB Free
00:41:32: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
00:41:32: monitor 1: pos={0, 0}, size={1920, 1200}
00:41:32: Windows Version: 6.2 Build 9200
00:41:32: Aero is Enabled
00:41:32: -------------------------------
00:41:32: OBS Modules:
00:41:32: Base Address     Module
00:41:32: 00000000BB700000 OBS.exe
00:41:32: 00000000BEA70000 OBSApi.dll
00:41:32: 00000000BE9B0000 DShowPlugin.dll
00:41:32: 00000000BE970000 GraphicsCapture.dll
00:41:32: 00000000BE940000 NoiseGate.dll
00:41:32: 00000000BE910000 PSVPlugin.dll
00:41:32: 00000000BE8E0000 scenesw.dll
00:41:32: ------------------------------------------
00:41:32: Adapter 1
00:41:32:   Video Adapter: NVIDIA GeForce GTX 970
00:41:32:   Video Adapter Dedicated Video Memory: 4186312704
00:41:32:   Video Adapter Shared System Memory: 4264404992
00:41:32:   Video Adapter Output 1: pos={0, 0}, size={1920, 1200}, attached=true
00:41:32: =====Stream Start: 2015-06-14, 00:41:32===============================================
00:41:32:   Multithreaded optimizations: On
00:41:32:   Base resolution: 1920x1200
00:41:32:   Output resolution: 1920x1200
00:41:32: ------------------------------------------
00:41:32: Loading up D3D10 on NVIDIA GeForce GTX 970 (Adapter 1)...
00:41:32: ------------------------------------------
00:41:32: Audio Format: 48000 Hz
00:41:32: ------------------------------------------
00:41:32: Audio Channels: 2 Ch
00:41:32: Playback device Default
00:41:32: ------------------------------------------
00:41:32: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:41:32: Global Audio time adjust: 0
00:41:32: ------------------------------------------
00:41:32: Audio Encoding: AAC
00:41:32:     bitrate: 192
00:41:32: Using graphics capture
00:41:32: Scene buffering time set to 700
00:41:32: Successfully loaded ObsNvenc.dll
00:41:32: ObsNvenc initialized successfully
00:41:32: CUDA loaded successfully
00:41:33: 1 CUDA capable devices found
00:41:33: [ GPU #0 - < GeForce GTX 970 > has Compute SM 5.2, NVENC Available ]
00:41:33: NVENC internal init finished successfully
00:41:33: NVENC supports 10 h264 presets
00:41:33: ------------------------------------------
00:41:33: Video Encoding: NVENC
00:41:33:     fps: 60
00:41:33:     width: 1920, height: 1200
00:41:33:     preset: llhq
00:41:33:     profile: high
00:41:33:     level: autoselect
00:41:33:     keyint: -1
00:41:33:     CBR: no
00:41:33:     CFR: yes
00:41:33:     max bitrate: 50000
00:41:33:     avg bitrate: 50000
00:41:33:     buffer size: 50000
00:41:33:     quality: 10
00:41:33: ------------------------------------------
00:42:04: FlushBufferedVideo: Flushing 44 packets over 717 ms
00:42:05: Total frames encoded: 1858, total frames duplicated: 4 (0.22%)
00:42:05: Total frames rendered: 1865, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
00:42:05: Encoder closed
00:42:05: NVENC deinitialized
00:42:05:
00:42:05: Profiler time results:
00:42:05:
00:42:05: ==============================================================
00:42:05: video thread frame - [100%] [avg time: 0.647 ms] [children: 57.3%] [unaccounted: 42.7%]
00:42:05: | scene->Preprocess - [0.155%] [avg time: 0.001 ms]
00:42:05: | GPU download and conversion - [57.2%] [avg time: 0.37 ms] [children: 37.1%] [unaccounted: 20.1%]
00:42:05: | | flush - [35.5%] [avg time: 0.23 ms]
00:42:05: | | CopyResource - [0.773%] [avg time: 0.005 ms]
00:42:05: | | conversion to 4:2:0 - [0.773%] [avg time: 0.005 ms]
00:42:05: Convert444Threads - [100%] [avg time: 0.952 ms] [children: 99.5%] [unaccounted: 0.525%]
00:42:05: | Convert444toNV12 - [99.5%] [avg time: 0.947 ms]
00:42:05: encoder thread frame - [100%] [avg time: 1.354 ms] [children: 0.443%] [unaccounted: 99.6%]
00:42:05: | sending stuff out - [0.443%] [avg time: 0.006 ms]
00:42:05: ==============================================================
00:42:05:
00:42:05:
00:42:05: Profiler CPU results:
00:42:05:
00:42:05: ==============================================================
00:42:05: video thread frame - [cpu time: avg 0.041 ms, total 78.125 ms] [avg calls per frame: 1]
00:42:05: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: | GPU download and conversion - [cpu time: avg 0.033 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | | flush - [cpu time: avg 0.033 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: Convert444Threads - [cpu time: avg 0.658 ms, total 2390.63 ms] [avg calls per frame: 2]
00:42:05: | Convert444toNV12 - [cpu time: avg 0.653 ms, total 2375 ms] [avg calls per frame: 2]
00:42:05: encoder thread frame - [cpu time: avg 0.034 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | sending stuff out - [cpu time: avg 0.008 ms, total 15.625 ms] [avg calls per frame: 1]
00:42:05: ==============================================================
00:42:05:
00:42:05: =====Stream End: 2015-06-14, 00:42:05=================================================
00:42:37: Terminating 0x10e4


Last game capture log:
2015-06-14, 00:12:34: we're booting up:
00:12:34: CaptureThread: attached to process witcher3.exe
00:12:34: D3D9 Present
00:12:34: DXGI Present
00:12:34: (half life scientist) everything..  seems to be in order

Any help regarding this matter would be highly appreciated.

Thanks in advance.
 
Last edited:

dping

Active Member
Hi.

I would like to use OBS to record my gameplay but I cannot get it to work properly.

Every recording shows a black screen but it does record the game's audio.

I'm running OBS's 64 bit executable as admin and I've set game capture as a source (using the hotkey method).

I've tryed using the compatibility hook but it has made no difference.

Below you can find the settings I'm using.

Encoding:
GXrSupf.jpg


Broadcast:
8aF4zAF.jpg


Video:
7j49EP4.jpg


Advanced:
tn1Oqcc.jpg


I've included a log aswell.

(The log states that the preset being used is llhq -whilst the above image shows that this should be hq-, this is because I set the preset to automatic to see if that might fix the issue, but sadly it did not.)

Code:
00:41:32: Open Broadcaster Software v0.651b - 64bit ( ^ω^)
00:41:32: -------------------------------
00:41:32: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
00:41:32: CPU Speed: 3400MHz
00:41:32: Physical Memory:  8133MB Total, 3422MB Free
00:41:32: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
00:41:32: monitor 1: pos={0, 0}, size={1920, 1200}
00:41:32: Windows Version: 6.2 Build 9200
00:41:32: Aero is Enabled
00:41:32: -------------------------------
00:41:32: OBS Modules:
00:41:32: Base Address     Module
00:41:32: 00000000BB700000 OBS.exe
00:41:32: 00000000BEA70000 OBSApi.dll
00:41:32: 00000000BE9B0000 DShowPlugin.dll
00:41:32: 00000000BE970000 GraphicsCapture.dll
00:41:32: 00000000BE940000 NoiseGate.dll
00:41:32: 00000000BE910000 PSVPlugin.dll
00:41:32: 00000000BE8E0000 scenesw.dll
00:41:32: ------------------------------------------
00:41:32: Adapter 1
00:41:32:   Video Adapter: NVIDIA GeForce GTX 970
00:41:32:   Video Adapter Dedicated Video Memory: 4186312704
00:41:32:   Video Adapter Shared System Memory: 4264404992
00:41:32:   Video Adapter Output 1: pos={0, 0}, size={1920, 1200}, attached=true
00:41:32: =====Stream Start: 2015-06-14, 00:41:32===============================================
00:41:32:   Multithreaded optimizations: On
00:41:32:   Base resolution: 1920x1200
00:41:32:   Output resolution: 1920x1200
00:41:32: ------------------------------------------
00:41:32: Loading up D3D10 on NVIDIA GeForce GTX 970 (Adapter 1)...
00:41:32: ------------------------------------------
00:41:32: Audio Format: 48000 Hz
00:41:32: ------------------------------------------
00:41:32: Audio Channels: 2 Ch
00:41:32: Playback device Default
00:41:32: ------------------------------------------
00:41:32: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:41:32: Global Audio time adjust: 0
00:41:32: ------------------------------------------
00:41:32: Audio Encoding: AAC
00:41:32:     bitrate: 192
00:41:32: Using graphics capture
00:41:32: Scene buffering time set to 700
00:41:32: Successfully loaded ObsNvenc.dll
00:41:32: ObsNvenc initialized successfully
00:41:32: CUDA loaded successfully
00:41:33: 1 CUDA capable devices found
00:41:33: [ GPU #0 - < GeForce GTX 970 > has Compute SM 5.2, NVENC Available ]
00:41:33: NVENC internal init finished successfully
00:41:33: NVENC supports 10 h264 presets
00:41:33: ------------------------------------------
00:41:33: Video Encoding: NVENC
00:41:33:     fps: 60
00:41:33:     width: 1920, height: 1200
00:41:33:     preset: llhq
00:41:33:     profile: high
00:41:33:     level: autoselect
00:41:33:     keyint: -1
00:41:33:     CBR: no
00:41:33:     CFR: yes
00:41:33:     max bitrate: 50000
00:41:33:     avg bitrate: 50000
00:41:33:     buffer size: 50000
00:41:33:     quality: 10
00:41:33: ------------------------------------------
00:42:04: FlushBufferedVideo: Flushing 44 packets over 717 ms
00:42:05: Total frames encoded: 1858, total frames duplicated: 4 (0.22%)
00:42:05: Total frames rendered: 1865, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
00:42:05: Encoder closed
00:42:05: NVENC deinitialized
00:42:05:
00:42:05: Profiler time results:
00:42:05:
00:42:05: ==============================================================
00:42:05: video thread frame - [100%] [avg time: 0.647 ms] [children: 57.3%] [unaccounted: 42.7%]
00:42:05: | scene->Preprocess - [0.155%] [avg time: 0.001 ms]
00:42:05: | GPU download and conversion - [57.2%] [avg time: 0.37 ms] [children: 37.1%] [unaccounted: 20.1%]
00:42:05: | | flush - [35.5%] [avg time: 0.23 ms]
00:42:05: | | CopyResource - [0.773%] [avg time: 0.005 ms]
00:42:05: | | conversion to 4:2:0 - [0.773%] [avg time: 0.005 ms]
00:42:05: Convert444Threads - [100%] [avg time: 0.952 ms] [children: 99.5%] [unaccounted: 0.525%]
00:42:05: | Convert444toNV12 - [99.5%] [avg time: 0.947 ms]
00:42:05: encoder thread frame - [100%] [avg time: 1.354 ms] [children: 0.443%] [unaccounted: 99.6%]
00:42:05: | sending stuff out - [0.443%] [avg time: 0.006 ms]
00:42:05: ==============================================================
00:42:05:
00:42:05:
00:42:05: Profiler CPU results:
00:42:05:
00:42:05: ==============================================================
00:42:05: video thread frame - [cpu time: avg 0.041 ms, total 78.125 ms] [avg calls per frame: 1]
00:42:05: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: | GPU download and conversion - [cpu time: avg 0.033 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | | flush - [cpu time: avg 0.033 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:42:05: Convert444Threads - [cpu time: avg 0.658 ms, total 2390.63 ms] [avg calls per frame: 2]
00:42:05: | Convert444toNV12 - [cpu time: avg 0.653 ms, total 2375 ms] [avg calls per frame: 2]
00:42:05: encoder thread frame - [cpu time: avg 0.034 ms, total 62.5 ms] [avg calls per frame: 1]
00:42:05: | sending stuff out - [cpu time: avg 0.008 ms, total 15.625 ms] [avg calls per frame: 1]
00:42:05: ==============================================================
00:42:05:
00:42:05: =====Stream End: 2015-06-14, 00:42:05=================================================
00:42:37: Terminating 0x10e4


Last game capture log:
2015-06-14, 00:12:34: we're booting up:
00:12:34: CaptureThread: attached to process witcher3.exe
00:12:34: D3D9 Present
00:12:34: DXGI Present
00:12:34: (half life scientist) everything..  seems to be in order

Any help regarding this matter would be highly appreciated.

Thanks in advance.
Set key frame interval to 2
 

Astug

New Member
I just found out that with my current settings (as shown in the images) I can record without the black screen issue but only -

If I open the game I want to record first and then go to game capture properties in OBS, select application and select the game from the dropdown menu, press OK and press start recording.

I can then already see the game being recorded with both video and audio footage.

It seems that when I use the "use hotkey" option under game capture properties I get the black screen issue.

Though this doesn't help me. I don't want to have to start up OBS, open a game, go back to OBS to select it and then start recording, everytime.

I would like to record using a hotkey so that I can start recording whenever I want to without having to alt+tab and without having to record everything.
 

dping

Active Member
I just found out that with my current settings (as shown in the images) I can record without the black screen issue but only -

If I open the game I want to record first and then go to game capture properties in OBS, select application and select the game from the dropdown menu, press OK and press start recording.

I can then already see the game being recorded with both video and audio footage.

It seems that when I use the "use hotkey" option under game capture properties I get the black screen issue.

Though this doesn't help me. I don't want to have to start up OBS, open a game, go back to OBS to select it and then start recording, everytime.

I would like to record using a hotkey so that I can start recording whenever I want to without having to alt+tab and without having to record everything.
Does the same issue happen with x264? I know your settings are probably to high for that but just to test the game capture thing.

usually I have made a scene and a source just for each game and not reuse the same game capture.
 

Astug

New Member
Does the same issue happen with x264? I know your settings are probably to high for that but just to test the game capture thing.

usually I have made a scene and a source just for each game and not reuse the same game capture.

Thanks.

I got it solved by creating a source for every individual game.
 
Top