Question / Help OBS Won't stream BF4 [BLACK SCREEN]

doruxray

New Member
It's simple I add game capture, select Battlefield 4 and whether I preview or stream the screen of the OBS stays black. It's not because of my machine, I can stream other games just fine. Please help me I'd love to stream some BF4
 
Last edited:
I had some bad luck with BF4 myself earlier this week. The only way I could capture the damn thing was by running BF4 in windowed mode. Borderless windowed mode didn't work, as it seems OBS can't find the window at that point.

So, try playing in windowed mode. For whatever reason BF4 doesn't allow you to choose a resolution when you're in windowed mode. Luckily it changes dynamically when you resize the window. So, if you want to play it in somewhat full screen, maximize the window.

Try and see how that works for you.
 

doruxray

New Member
Sorry for the late reply

@DryRoastedLemon It didn't work sadly

@dodgepong Thanks for helping, here is the log.

Code:
22:12:40: Open Broadcaster Software v0.625b - 32bit (´・ω・`)
22:12:40: -------------------------------
22:12:40: CPU Name: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
22:12:40: CPU Speed: 3292MHz
22:12:40: Physical Memory:  4095MB Total, 4095MB Free
22:12:40: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
22:12:40: monitor 1: pos={0, 0}, size={1440, 900}
22:12:40: Windows Version: 6.1 Build 7601 S
22:12:40: Aero is Disabled
22:12:40: -------------------------------
22:12:40: OBS Modules:
22:12:40: Base Address     Module
22:12:40: 01260000         OBS.exe
22:12:40: 67CE0000         OBSApi.dll
22:12:40: 6FD70000         DShowPlugin.dll
22:12:40: 6FD40000         GraphicsCapture.dll
22:12:40: 6FD10000         NoiseGate.dll
22:12:40: 6FCF0000         PSVPlugin.dll
22:12:40: ------------------------------------------
22:12:40: Adapter 1
22:12:40:   Video Adapter: NVIDIA GeForce GTX 660 
22:12:40:   Video Adapter Dedicated Video Memory: 2086469632
22:12:40:   Video Adapter Shared System Memory: 2147807232
22:12:40:   Video Adapter Output 1: pos={0, 0}, size={1440, 900}, attached=true
22:12:40: =====Stream Start: 2014-08-14, 22:12:40===============================================
22:12:40:   Multithreaded optimizations: On
22:12:40:   Base resolution: 1280x720
22:12:40:   Output resolution: 1280x720
22:12:40: ------------------------------------------
22:12:40: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
22:12:40: ------------------------------------------
22:12:40: Audio Format: 48000 Hz
22:12:40: ------------------------------------------
22:12:40: Audio Channels: 2 Ch
22:12:40: Playback device {0.0.0.00000000}.{5442aa6e-296e-4f72-a1de-5afd78040d87}
22:12:40: ------------------------------------------
22:12:40: Using desktop audio input: Speakers (Realtek High Definition Audio)
22:12:40: Global Audio time adjust: 0
22:12:40: ------------------------------------------
22:12:40: Using auxilary audio input: Microphone (Realtek High Definition Audio)
22:12:40: Mic time offset: 0
22:12:40: ------------------------------------------
22:12:40: Audio Encoding: AAC
22:12:40:     bitrate: 128
22:12:40: Using graphics capture
22:12:40: Trying to hook process: bf4.exe
Warning -- GraphicsCaptureSource::AttemptCapture: Failed to inject library, error code = -5
22:12:41: Scene buffering time set to 700
22:12:41: ------------------------------------------
22:12:41: Video Encoding: x264
22:12:41:     fps: 30
22:12:41:     width: 1280, height: 720
22:12:41:     preset: veryfast
22:12:41:     profile: high
22:12:41:     keyint: 60
22:12:41:     CBR: yes
22:12:41:     CFR: yes
22:12:41:     max bitrate: 3000
22:12:41:     buffer size: 3000
22:12:41: ------------------------------------------
22:12:41: Audio timestamp for device 'Microphone (Realtek High Definition Audio)' was behind target timestamp by 22643195
22:13:34: Using graphics capture
22:13:38: Using graphics capture
Warning -- GraphicsCaptureSource::AttemptCapture: Failed to inject library, error code = -5
22:14:16: Total frames encoded: 2823, total frames duplicated: 40 (1.42%)
22:14:16: Total frames rendered: 2813, number of late frames: 6 (0.21%) (it's okay for some frames to be late)
22:14:16:
22:14:16: Profiler time results:
22:14:16:
22:14:16: ==============================================================
22:14:16: video thread frame - [100%] [avg time: 1.317 ms] [children: 24.5%] [unaccounted: 75.5%]
22:14:16: | scene->Preprocess - [0.152%] [avg time: 0.002 ms]
22:14:16: | GPU download and conversion - [24.4%] [avg time: 0.321 ms] [children: 22.3%] [unaccounted: 2.05%]
22:14:16: | | flush - [18.4%] [avg time: 0.242 ms]
22:14:16: | | CopyResource - [3.72%] [avg time: 0.049 ms]
22:14:16: | | conversion to 4:2:0 - [0.228%] [avg time: 0.003 ms]
22:14:16: Convert444Threads - [100%] [avg time: 0.996 ms] [children: 99.4%] [unaccounted: 0.602%]
22:14:16: | Convert444toNV12 - [99.4%] [avg time: 0.99 ms]
22:14:16: encoder thread frame - [100%] [avg time: 1.857 ms] [children: 0.269%] [unaccounted: 99.7%]
22:14:16: | sending stuff out - [0.269%] [avg time: 0.005 ms]
22:14:16: ==============================================================
22:14:16:
22:14:16:
22:14:16: Profiler CPU results:
22:14:16:
22:14:16: ==============================================================
22:14:16: video thread frame - [cpu time: avg 0.116 ms, total 327.602 ms] [avg calls per frame: 1]
22:14:16: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:14:16: | GPU download and conversion - [cpu time: avg 0.027 ms, total 78 ms] [avg calls per frame: 1]
22:14:16: | | flush - [cpu time: avg 0.016 ms, total 46.8 ms] [avg calls per frame: 1]
22:14:16: | | CopyResource - [cpu time: avg 0.011 ms, total 31.2 ms] [avg calls per frame: 1]
22:14:16: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:14:16: Convert444Threads - [cpu time: avg 0.906 ms, total 5054.43 ms] [avg calls per frame: 2]
22:14:16: | Convert444toNV12 - [cpu time: avg 0.903 ms, total 5038.83 ms] [avg calls per frame: 2]
22:14:16: encoder thread frame - [cpu time: avg 1.263 ms, total 3556.82 ms] [avg calls per frame: 1]
22:14:16: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:14:16: ==============================================================
22:14:16:
22:14:16: =====Stream End: 2014-08-14, 22:14:16=================================================


Last game capture log:
2014-08-10, 20:54:32: we're booting up:
20:54:32: CaptureThread: attached to process javaw.exe
20:54:32: GL Present
20:54:32: (half life scientist) everything..  seems to be in order
20:54:32: SwapBuffers(3707835565) Called
20:54:32: NV Capture available
20:54:32: FBO available
20:54:32: setting up gl data
20:54:33: share device: 1021940348
20:54:33: share texture: 879325368
20:54:33: share device handle: 3914356910
20:54:33: share texture handle: 3974622834
20:54:33: DoGLGPUHook: success
20:54:33: wglSwapBuffers(3707835565) Called
20:54:47: stop requested, terminating gl capture
20:54:47: ---------------------- Cleared OpenGL Capture ----------------------
20:54:47: wglSwapBuffers(3707835565) Called
20:54:47: setting up gl data
20:54:47: SwapBuffers(3707835565) Called
20:55:41: share device: 1011650004
20:55:41: share texture: 1037964792
20:55:41: share device handle: 3914355918
20:55:41: share texture handle: 3974622834
20:55:41: DoGLGPUHook: success
20:55:51: stop requested, terminating gl capture
20:55:51: ---------------------- Cleared OpenGL Capture ----------------------
20:55:51: wglSwapBuffers(3707835565) Called
20:55:51: setting up gl data
20:55:51: SwapBuffers(3707835565) Called
20:59:46: share device: 1063406932
20:59:46: share texture: 1172778872
20:59:46: share device handle: 3914355918
20:59:46: share texture handle: 4009665890
20:59:46: DoGLGPUHook: success
21:01:15: stop requested, terminating gl capture
21:01:15: ---------------------- Cleared OpenGL Capture ----------------------
21:01:15: wglSwapBuffers(3707835565) Called
21:01:15: setting up gl data
21:01:15: SwapBuffers(3707835565) Called
21:02:49: share device: 1417841900
21:02:49: share texture: 1113776760
21:02:49: share device handle: 3914355918
21:02:49: share texture handle: 2458204210
21:02:49: DoGLGPUHook: success
21:23:01: stop requested, terminating gl capture
21:23:01: ---------------------- Cleared OpenGL Capture ----------------------
21:23:01: wglSwapBuffers(3707835565) Called
21:23:01: setting up gl data
21:23:02: SwapBuffers(3707835565) Called
21:23:05: wglDeleteContext Called
21:23:05: ---------------------- Cleared OpenGL Capture ----------------------
 

Itzems

New Member
Fixed the issue it's with orgin. Go to settings and disable orgin overlay. You can only disable overlay for orgin while your not in game. Now I'm back to 120fpa on 720p 60 fps stream. Also go to game capture properties and check the box that has anti cheat. I did these two and it runs amazing
 
Top