Question / Help Error Code 5 again

Tsaranis

New Member
I cant get it to work like i did last time i ran a cleaner on my system and after that obs refuses to let me use game capture. Same game Dota 2 no hackshield etc.. halp :(

Code:
15:40:31: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
15:40:31: -------------------------------
15:40:31: CPU Name: AMD Phenom(tm) II X4 945 Processor
15:40:31: CPU Speed: 3013MHz
15:40:31: Physical Memory:  4095MB Total, 4095MB Free
15:40:31: stepping id: 2, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
15:40:31: monitor 1: pos={0, 0}, size={1366, 768}
15:40:31: Windows Version: 6.1 Build 7601 S
15:40:31: Aero is Enabled
15:40:31: -------------------------------
15:40:31: OBS Modules:
15:40:31: Base Address     Module
15:40:31: 01170000         OBS.exe
15:40:31: 73D10000         OBSApi.dll
15:40:31: 74280000         DShowPlugin.dll
15:40:31: 73B40000         GraphicsCapture.dll
15:40:31: 73B20000         NoiseGate.dll
15:40:31: ------------------------------------------
15:40:31: Adapter 1
15:40:31:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
15:40:31:   Video Adapter Dedicated Video Memory: 2096562176
15:40:31:   Video Adapter Shared System Memory: 2147364864
15:40:31: =====Stream Start: 2013-07-07, 15:40:31===============================================
15:40:31:   Multithreaded optimizations: On
15:40:31:   Base resolution: 1366x768
15:40:31:   Output resolution: 1364x768
15:40:31: ------------------------------------------
15:40:31: Loading up D3D10...
15:40:31: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
15:40:31: ------------------------------------------
15:40:31: Using desktop audio input: Speakers (Logitech G930 Headset)
15:40:31: Using 7.1 surround speaker setup
15:40:31: ------------------------------------------
15:40:31: Using auxilary audio input: Microphone (Logitech G930 Headset)
15:40:31: ------------------------------------------
15:40:31: Audio Encoding: AAC
15:40:31:     bitrate: 128
15:40:31: Using Monitor Capture
15:40:31: ------------------------------------------
15:40:31: Video Encoding: x264
15:40:31:     fps: 25
15:40:31:     width: 1364, height: 768
15:40:31:     preset: veryfast
15:40:31:     CBR: yes
15:40:31:     CFR: no
15:40:31:     max bitrate: 1700
15:40:31: ------------------------------------------
15:40:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:40:34:   New Scene
15:40:34: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
15:40:35: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:40:35:   New Scene
15:40:35: Using Monitor Capture
15:40:37: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15:40:37:   New Scene
15:40:37: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
15:41:09: Total frames rendered: 940, number of frames that lagged: 29 (3.09%) (it's okay for some frames to lag)
15:41:09: =====Stream End: 2013-07-07, 15:41:09=================================================
15:49:24: =====Stream Start: 2013-07-07, 15:49:24===============================================
15:49:24:   Multithreaded optimizations: On
15:49:24:   Base resolution: 1366x768
15:49:24:   Output resolution: 1364x768
15:49:24: ------------------------------------------
15:49:24: Loading up D3D10...
15:49:24: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
15:49:24: ------------------------------------------
15:49:24: Using desktop audio input: Speakers (Logitech G930 Headset)
15:49:24: Using 7.1 surround speaker setup
15:49:24: ------------------------------------------
15:49:24: Using auxilary audio input: Microphone (Logitech G930 Headset)
15:49:24: ------------------------------------------
15:49:24: Audio Encoding: AAC
15:49:24:     bitrate: 128
15:49:24: Using Monitor Capture
15:49:24: ------------------------------------------
15:49:24: Video Encoding: x264
15:49:24:     fps: 25
15:49:24:     width: 1364, height: 768
15:49:24:     preset: veryfast
15:49:24:     CBR: yes
15:49:24:     CFR: no
15:49:24:     max bitrate: 1700
15:49:24: ------------------------------------------
15:49:25: Total frames rendered: 37, number of frames that lagged: 10 (27.03%) (it's okay for some frames to lag)
15:49:26: =====Stream End: 2013-07-07, 15:49:26=================================================
15:49:26: =====Stream Start: 2013-07-07, 15:49:26===============================================
15:49:26:   Multithreaded optimizations: On
15:49:26:   Base resolution: 1366x768
15:49:26:   Output resolution: 1364x768
15:49:26: ------------------------------------------
15:49:26: Loading up D3D10...
15:49:26: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
15:49:26: ------------------------------------------
15:49:26: Using desktop audio input: Speakers (Logitech G930 Headset)
15:49:26: Using 7.1 surround speaker setup
15:49:26: ------------------------------------------
15:49:26: Using auxilary audio input: Microphone (Logitech G930 Headset)
15:49:26: ------------------------------------------
15:49:26: Audio Encoding: AAC
15:49:26:     bitrate: 128
15:49:26: Using Monitor Capture
15:49:26: ------------------------------------------
15:49:26: Video Encoding: x264
15:49:26:     fps: 25
15:49:26:     width: 1364, height: 768
15:49:26:     preset: veryfast
15:49:26:     CBR: yes
15:49:26:     CFR: no
15:49:26:     max bitrate: 1700
15:49:26: ------------------------------------------
15:49:28: Using RTMP service: Twitch / Justin.tv
15:49:28:   Server selection: rtmp://live.justin.tv/app
15:49:30: SO_SNDBUF was at 8192
15:49:30: SO_SNDBUF is now 65536
15:50:27: Using Window Capture
15:51:52: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 1048576
15:55:34: Total frames rendered: 9023, number of frames that lagged: 695 (7.70%) (it's okay for some frames to lag)
15:55:34: RTMPPublisher::SocketLoop: Aborting due to bStopping
15:55:34: Number of times waited to send: 4, Waited for a total of 11978 bytes
15:55:34: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
15:55:34: =====Stream End: 2013-07-07, 15:55:34=================================================
16:07:36: =====Stream Start: 2013-07-07, 16:07:36===============================================
16:07:36:   Multithreaded optimizations: On
16:07:36:   Base resolution: 1366x768
16:07:36:   Output resolution: 1364x768
16:07:36: ------------------------------------------
16:07:36: Loading up D3D10...
16:07:36: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
16:07:36: ------------------------------------------
16:07:36: Using desktop audio input: Speakers (Logitech G930 Headset)
16:07:36: Using 7.1 surround speaker setup
16:07:36: ------------------------------------------
16:07:36: Using auxilary audio input: Microphone (Logitech G930 Headset)
16:07:36: ------------------------------------------
16:07:36: Audio Encoding: AAC
16:07:36:     bitrate: 128
16:07:36: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
16:07:36: ------------------------------------------
16:07:36: Video Encoding: x264
16:07:36:     fps: 25
16:07:36:     width: 1364, height: 768
16:07:36:     preset: veryfast
16:07:36:     CBR: yes
16:07:36:     CFR: no
16:07:36:     max bitrate: 1700
16:07:36: ------------------------------------------
16:07:38: Total frames rendered: 57, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
16:07:38: =====Stream End: 2013-07-07, 16:07:38=================================================
16:07:39: =====Stream Start: 2013-07-07, 16:07:39===============================================
16:07:39:   Multithreaded optimizations: On
16:07:39:   Base resolution: 1366x768
16:07:39:   Output resolution: 1364x768
16:07:39: ------------------------------------------
16:07:39: Loading up D3D10...
16:07:39: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
16:07:39: ------------------------------------------
16:07:39: Using desktop audio input: Speakers (Logitech G930 Headset)
16:07:39: Using 7.1 surround speaker setup
16:07:39: ------------------------------------------
16:07:39: Using auxilary audio input: Microphone (Logitech G930 Headset)
16:07:39: ------------------------------------------
16:07:39: Audio Encoding: AAC
16:07:39:     bitrate: 128
16:07:39: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
16:07:39: ------------------------------------------
16:07:39: Video Encoding: x264
16:07:39:     fps: 25
16:07:39:     width: 1364, height: 768
16:07:39:     preset: veryfast
16:07:39:     CBR: yes
16:07:39:     CFR: no
16:07:39:     max bitrate: 1700
16:07:39: ------------------------------------------
16:07:40: Using RTMP service: Twitch / Justin.tv
16:07:40:   Server selection: rtmp://live.justin.tv/app
16:07:41: Total frames rendered: 54, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
16:07:42: SO_SNDBUF was at 8192
16:07:42: SO_SNDBUF is now 65536
16:07:42: RTMPPublisher::SocketLoop: Aborting due to loop exit
16:07:42: Number of times waited to send: 0, Waited for a total of 0 bytes
16:07:42: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
16:07:43: =====Stream End: 2013-07-07, 16:07:43=================================================
16:08:07: =====Stream Start: 2013-07-07, 16:08:07===============================================
16:08:07:   Multithreaded optimizations: On
16:08:07:   Base resolution: 1366x768
16:08:07:   Output resolution: 1364x768
16:08:07: ------------------------------------------
16:08:07: Loading up D3D10...
16:08:07: Playback device {0.0.0.00000000}.{58307984-444b-4223-8da9-04e05cbc39bb}
16:08:07: ------------------------------------------
16:08:07: Using desktop audio input: Speakers (Logitech G930 Headset)
16:08:07: Using 7.1 surround speaker setup
16:08:07: ------------------------------------------
16:08:07: Using auxilary audio input: Microphone (Logitech G930 Headset)
16:08:07: ------------------------------------------
16:08:07: Audio Encoding: AAC
16:08:07:     bitrate: 128
16:08:07: Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, GetLastError = 5
16:08:07: ------------------------------------------
16:08:07: Video Encoding: x264
16:08:07:     fps: 25
16:08:07:     width: 1364, height: 768
16:08:07:     preset: veryfast
16:08:07:     CBR: yes
16:08:07:     CFR: no
16:08:07:     max bitrate: 1700
16:08:07: ------------------------------------------
16:08:09: Using RTMP service: Twitch / Justin.tv
16:08:09:   Server selection: rtmp://live.justin.tv/app
16:08:10: Total frames rendered: 78, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
16:08:11: SO_SNDBUF was at 8192
16:08:11: SO_SNDBUF is now 65536
16:08:11: RTMPPublisher::SocketLoop: Aborting due to loop exit
16:08:11: Number of times waited to send: 0, Waited for a total of 0 bytes
16:08:11: Number of b-frames dropped: 0 (-1.$%), Number of p-frames dropped: 0 (-1.$%), Total 0 (-1.$%)
16:08:11: =====Stream End: 2013-07-07, 16:08:11=================================================
16:08:13: 
16:08:13: Profiler results:
16:08:13: 
16:08:13: ==============================================================
16:08:13: frame - [100%] [avg time: 9.384 ms] [avg calls per frame: 1] [children: 93.2%] [unaccounted: 6.84%]
16:08:13: | scene->Preprocess - [66.3%] [avg time: 6.219 ms] [avg calls per frame: 1]
16:08:13: | video encoding and uploading - [26.9%] [avg time: 2.523 ms] [avg calls per frame: 1] [children: 26.4%] [unaccounted: 0.533%]
16:08:13: | | CopyResource - [0.618%] [avg time: 0.058 ms] [avg calls per frame: 0]
16:08:13: | | conversion to 4:2:0 - [0.821%] [avg time: 0.077 ms] [avg calls per frame: 0]
16:08:13: | | call to encoder - [24.1%] [avg time: 2.261 ms] [avg calls per frame: 0]
16:08:13: | | sending stuff out - [0.821%] [avg time: 0.077 ms] [avg calls per frame: 0]
16:08:13: ==============================================================
16:08:13:
 

Kharay

Member
I am not entirely sure what could be causing it to stop working. But, one suggestion I do have for you -- try running the test build for OBS. I have no trouble whatsoever streaming DOTA2. Also running Win 7 SP1. And I am using the test version of OBS.

http://sourceforge.net/projects/obsproj ... p/download

Just try it, maybe it'll work just like that. To be sure, just completely remove OBS (and all its settings of course) before grabbing the test version. Just to be sure there are no issues with deprecated settings/options.
 

Kharay

Member
Are you running an anti-virus? I'm assuming you are. Anyhow, which one and would you be willing to try it again but this time with the AV completely disabled? May seem like an odd place to look but bear with me for a minute.
 

Tsaranis

New Member
I use comodo and i disabled it.

*Fixed: Disabled a malware add-on that came with my registry cleaner, thx for pointing me in right direction
 
Top