Bug Report CANT STREAM SF2

thegreekman

New Member
Soldier front 2.
The problem isnt just me, its everyone that tries to stream soldierfront 2 with obs. It used to work before the obs update.
Code:
23:10:41: Open Broadcaster Software v0.554b - 64bit ( ^ω^)
23:10:41: -------------------------------
23:10:41: CPU Name: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
23:10:41: CPU Speed: 2993MHz
23:10:41: Physical Memory:  8086MB Total, 3600MB Free
23:10:41: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:10:41: monitor 1: pos={0, 0}, size={1920, 1080}
23:10:41: Windows Version: 6.1 Build 7601 S
23:10:41: Aero is Enabled
23:10:41: -------------------------------
23:10:41: OBS Modules:
23:10:41: Base Address     Module
23:10:41: 000000003F5E0000 OBS.exe
23:10:41: 00000000EA560000 OBSApi.dll
23:10:41: 00000000F34E0000 DShowPlugin.dll
23:10:41: 00000000F34B0000 GraphicsCapture.dll
23:10:41: 00000000F46A0000 NoiseGate.dll
23:10:41: 00000000F4750000 PSVPlugin.dll
23:10:41: ------------------------------------------
23:10:41: Adapter 1
23:10:41:   Video Adapter: NVIDIA GeForce GT 545
23:10:41:   Video Adapter Dedicated Video Memory: 1025966080
23:10:41:   Video Adapter Shared System Memory: 3221106688
23:10:41: ------------------------------------------
23:10:41: Adapter 2
23:10:41:   Video Adapter: Intel(R) HD Graphics
23:10:41:   Video Adapter Dedicated Video Memory: 67108864
23:10:41:   Video Adapter Shared System Memory: 1711276032
23:10:41: =====Stream Start: 2013-09-15, 23:10:41===============================================
23:10:41:   Multithreaded optimizations: On
23:10:41:   Base resolution: 1920x1080
23:10:41:   Output resolution: 1280x720
23:10:41: ------------------------------------------
23:10:41: Loading up D3D10 on NVIDIA GeForce GT 545...
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture.pShader.blob
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/DrawSolid.pShader.blob
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/DownscaleBilinear1YUV.pShader.blob
23:10:41: Playback device Default
23:10:41: ------------------------------------------
23:10:41: Using desktop audio input: Speakers (Realtek High Definition Audio)
23:10:41: ------------------------------------------
23:10:41: Using auxilary audio input: Microphone (Realtek High Definition Audio)
23:10:41: ------------------------------------------
23:10:41: Audio Encoding: AAC
23:10:41:     bitrate: 128
23:10:41: Using graphics capture
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/ColorKey_RGB.pShader.blob
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/AlphaIgnore.pShader.blob
23:10:41: Using Monitor Capture
23:10:41: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
23:10:41: ------------------------------------------
23:10:41: Video Encoding: x264
23:10:41:     fps: 60
23:10:41:     width: 1280, height: 720
23:10:41:     preset: veryfast
23:10:41:     CBR: yes
23:10:41:     CFR: no
23:10:41:     max bitrate: 3500
23:10:41:     buffer size: 3500
23:10:41: ------------------------------------------
23:10:41: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
23:10:41: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
23:10:45: Using graphics capture
23:10:45: C:/Users/Mike/AppData/Roaming/OBS/shaderCache/shaders/DrawTexture_ColorAdjust.pShader.blob
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
23:10:48: Total frames rendered: 368, number of late frames: 19 (5.16%) (it's okay for some frames to be late)
23:10:48: 
23:10:48: Profiler results:
23:10:48: 
23:10:48: ==============================================================
23:10:48: frame - [100%] [avg time: 3.462 ms (cpu time: avg 1.526 ms, total 561.604 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.0867%]
23:10:48: | frame preprocessing and rendering - [60.8%] [avg time: 2.104 ms (cpu time: avg 0.466 ms, total 171.6 ms)] [avg calls per frame: 1] [children: 46.9%] [unaccounted: 13.9%]
23:10:48: | | scene->Preprocess - [46.9%] [avg time: 1.624 ms (cpu time: avg 0.127 ms, total 46.8 ms)] [avg calls per frame: 1]
23:10:48: | video encoding and uploading - [39.1%] [avg time: 1.355 ms (cpu time: avg 1.059 ms, total 390.004 ms)] [avg calls per frame: 1] [children: 38.8%] [unaccounted: 0.318%]
23:10:48: | | flush - [3.12%] [avg time: 0.108 ms (cpu time: avg 0.084 ms, total 31.2 ms)] [avg calls per frame: 1]
23:10:48: | | CopyResource - [0.491%] [avg time: 0.017 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
23:10:48: | | conversion to 4:2:0 - [0.549%] [avg time: 0.019 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
23:10:48: | | call to encoder - [34.6%] [avg time: 1.199 ms (cpu time: avg 0.975 ms, total 358.804 ms)] [avg calls per frame: 0]
23:10:48: | | sending stuff out - [0.0289%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
23:10:48: | Convert444Threads - [928%] [avg time: 32.12 ms (cpu time: avg 1.398 ms, total 514.802 ms)] [avg calls per frame: 1]
23:10:48: ==============================================================
23:10:48: 
23:10:48: =====Stream End: 2013-09-15, 23:10:48=================================================
 

R1CH

Forum Admin
Developer
Error 5 means access denied. Try running OBS as admin, if that doesn't help, the game likely uses some kernel anti-cheat that prevents OBS from capturing it. In that case, you can try window capture or monitor capture as a last resort.
 

thegreekman

New Member
I do run obs as admin. What i dont understand is obs worked for this game before obs updated. Now it wont work. Monitor and window capture dont work when the game goes into fullscreen.
 

R1CH

Forum Admin
Developer
You can always try going back to an older version of OBS, but most likely the game updated and blocks OBS. It's also possible you have firewall / security / av software that is blocking OBS too, make sure to disable anything like that and try.
 

thegreekman

New Member
Bump. Is there any solution to this yet? Still black screen after obs updates when i try to stream it.
Should i tell the creators of the game about this?
 

dodgepong

Administrator
Community Helper
It's most likely an issue with the game itself. Anti-cheat on F2P games is often pretty aggressive.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
If the game has a windowed or borderless mode, then you may need to use that to capture it for the time being, if that's okay -- unfortunately there are still some games which reject game capture -- error number 5 means access denied, it just means that something is actually blocking game capture.
 

thegreekman

New Member
When i get into a game its full screen, but when its in the lobby its windowed. But it does have a windowed and borderless mode.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
As I stated error 5 in the log means access denied. Either the program is blocking you from being allowed to do it, or you do not have enough permissions on your system (due to UAC or whatever) to be able to get it working. This isn't particularly OBS' fault in this instance because something is denying OBS from functioning in this case
 

thegreekman

New Member
My friend is able to stream it game capture with version 0.522 for some reason.
But is their is a way if the developers of sf2 allow obs to bypass their anti cheat, will it work then?
 
Top