Question / Help Game Capture Problem

keon191

New Member
Recently, starting about a day ago, game capture just decided to not work anymore. No matter what game I open game capture just shows a black screen.
I've tried reinstalling OBS, my nvidia drivers and a bunch of other things but It just will not work.
Window capture and about every other scene type works just not game capture.

Keep in mind this just started happening, everything was fine up until a day ago. I don't recall installing any new drivers or programs that would cause issues so :\


w/ Gamecapture
http://puu.sh/8adlm.jpg

w/ Window Capture
http://puu.sh/8adoA.jpg

Code:
14:52:53: Open Broadcaster Software v0.62b test build 1 - 64bit ( ^ω^)
14:52:53: -------------------------------
14:52:53: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
14:52:53: CPU Speed: 3500MHz
14:52:53: Physical Memory:  8069MB Total, 4686MB Free
14:52:53: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
14:52:53: monitor 1: pos={0, 0}, size={1920, 1080}
14:52:53: Windows Version: 6.2 Build 9200
14:52:53: Aero is Enabled
14:52:53: -------------------------------
14:52:53: OBS Modules:
14:52:53: Base Address     Module
14:52:53: 0000000087CB0000 OBS.exe
14:52:53: 000000008C320000 OBSApi.dll
14:52:53: 000000008CB40000 DShowPlugin.dll
14:52:53: 000000008E800000 GraphicsCapture.dll
14:52:53: 000000008C290000 NoiseGate.dll
14:52:53: 000000008C260000 PSVPlugin.dll
14:52:53: ------------------------------------------
14:52:53: Adapter 1
14:52:53:   Video Adapter: NVIDIA GeForce GTX 770
14:52:53:   Video Adapter Dedicated Video Memory: 2082140160
14:52:53:   Video Adapter Shared System Memory: 2147807232
14:52:53:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
14:52:53: =====Stream Start: 2014-04-15, 14:52:53===============================================
14:52:53:   Multithreaded optimizations: On
14:52:53:   Base resolution: 1920x1080
14:52:53:   Output resolution: 1920x1080
14:52:53: ------------------------------------------
14:52:53: Loading up D3D10 on NVIDIA GeForce GTX 770 (Adapter 1)...
14:52:53: ------------------------------------------
14:52:53: Audio Format: 48000 Hz
14:52:53: ------------------------------------------
14:52:53: Audio Channels: 2 Ch
14:52:53: Playback device Default
14:52:53: ------------------------------------------
14:52:53: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:52:53: Global Audio time adjust: 0
14:52:53: Using 7.1 surround speaker setup
14:52:53: ------------------------------------------
14:52:53: Using auxilary audio input: Microphone (2- USB Audio CODEC )
14:52:53: Mic time offset: 0
14:52:53: ------------------------------------------
14:52:53: Audio Encoding: AAC
14:52:53:     bitrate: 128
14:52:53: Using graphics capture
14:52:53: Using text output
14:52:54: Using bitmap image
14:52:54: Trying to hook process: APB.exe
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = -5
14:52:54: Scene buffering time set to 400
14:52:54: ------------------------------------------
14:52:54: Video Encoding: x264
14:52:54:     fps: 30
14:52:54:     width: 1920, height: 1080
14:52:54:     preset: veryfast
14:52:54:     profile: high
14:52:54:     keyint: 250
14:52:54:     CBR: yes
14:52:54:     CFR: yes
14:52:54:     max bitrate: 1000
14:52:54:     buffer size: 1000
14:52:54: ------------------------------------------
14:52:55:
14:52:55: Profiler result for the last frame:
14:52:55: ==============================================================
14:52:55: video thread frame - [time: 32.322 ms (cpu time: 15.625 ms)]
14:52:55: | scene->Preprocess - [time: 0.002 ms (cpu time: 0 ms)]
14:52:55: | GPU download and conversion - [time: 0.083 ms (cpu time: 0 ms)]
14:52:55: | | flush - [time: 0.082 ms (cpu time: 0 ms)]
14:52:55: ==============================================================
14:52:55:
15:02:11: Total frames encoded: 16683, total frames duplicated: 14 (0.08%)
15:02:11: Total frames rendered: 16674, number of late frames: 3 (0.02%) (it's okay for some frames to be late)
15:02:11:
15:02:11: Profiler time results:
15:02:11:
15:02:11: ==============================================================
15:02:11: video thread frame - [100%] [avg time: 0.572 ms] [children: 17.3%] [unaccounted: 82.7%]
15:02:11: | scene->Preprocess - [2.27%] [avg time: 0.013 ms]
15:02:11: | GPU download and conversion - [15%] [avg time: 0.086 ms] [children: 11.4%] [unaccounted: 3.67%]
15:02:11: | | flush - [7.34%] [avg time: 0.042 ms]
15:02:11: | | CopyResource - [3.67%] [avg time: 0.021 ms]
15:02:11: | | conversion to 4:2:0 - [0.35%] [avg time: 0.002 ms]
15:02:11: Convert444Threads - [100%] [avg time: 1.075 ms] [children: 99.6%] [unaccounted: 0.372%]
15:02:11: | Convert444toNV12 - [99.6%] [avg time: 1.071 ms]
15:02:11: encoder thread frame - [100%] [avg time: 1.676 ms] [children: 0.119%] [unaccounted: 99.9%]
15:02:11: | sending stuff out - [0.119%] [avg time: 0.002 ms]
15:02:11: ==============================================================
15:02:11:
15:02:11:
15:02:11: Profiler CPU results:
15:02:11:
15:02:11: ==============================================================
15:02:11: video thread frame - [cpu time: avg 0.066 ms, total 1109.38 ms] [avg calls per frame: 1]
15:02:11: | scene->Preprocess - [cpu time: avg 0.001 ms, total 31.25 ms] [avg calls per frame: 1]
15:02:11: | GPU download and conversion - [cpu time: avg 0.019 ms, total 328.125 ms] [avg calls per frame: 1]
15:02:11: | | flush - [cpu time: avg 0.009 ms, total 156.25 ms] [avg calls per frame: 1]
15:02:11: | | CopyResource - [cpu time: avg 0.006 ms, total 109.375 ms] [avg calls per frame: 1]
15:02:11: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:02:11: Convert444Threads - [cpu time: avg 1.059 ms, total 35296.9 ms] [avg calls per frame: 2]
15:02:11: | Convert444toNV12 - [cpu time: avg 1.057 ms, total 35234.4 ms] [avg calls per frame: 2]
15:02:11: encoder thread frame - [cpu time: avg 1.172 ms, total 19546.9 ms] [avg calls per frame: 1]
15:02:11: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
15:02:11: ==============================================================
15:02:11:
15:02:11: =====Stream End: 2014-04-15, 15:02:11=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
The error code in the log file there means it was unable to inject the game capture hook in to the game. Is OBS being run as administrator? That might be necessary, though this error is particularly rare, so I'm not entirely sure. The game may have anti-cheating mechanisms that block game capture from capturing as well, though I'm pretty sure that it works with that game.
 

Krazy

Town drunk
Verify which driver version you are on (open device manager, expand Display, right click your NVIDIA gpu and select properties, go over to the driver tab, and look at the last five digits of the "Driver Version" line) . The 337.50 beta drivers break a lot of stuff. Also, if any of your games had patches, they might have changed/updated anti-cheat stuff that would block capture (relating to what Jim mentioned).

Which game are you trying to capture?
 

keon191

New Member
@Krazy I was trying to capture apb reloaded but I was getting the black screen with any game I opened. Also I had installed the beta drivers after the issues appeared. Tried re-installing the latest and beta neither of which fixed the issues.

---------------------------------------------------

I think I figured out what the problem is, if this isn't it then the problem resolved itself. I use mumble to chat with friends while playing games and it has the overlay thing which injects the moment a game starts up (showing fps, who's chatting, etc.) which I had enabled a day or so ago. Disabled it and game capture started working. Could be completely unrelated but that's all I did. Should the issue reappear I'll post back here letting you guys know this wasn't the case.
 
Top