Question / Help Difficulty Streaming a game

GameAndReload

New Member
I just recently started using OBS, and seems to work perfectly fine for most things. However.. there is one Game I've tried several ways of streaming, but have had no success. Arctic Combat.

OBS seems to record the Channel lobby just fine, but produces a black screen when I enter a match. For what reason, I don't know. All sounds are still accounted for and heard, but nothing of the actual game is captured.

I've tried both Software Capture set to Monitor capture, as well as the standard Game Capture. Both give the same result.
Also, I'd like to note this game doesn't allow for it to be minimized in any way during a match.

Is there something I'm missing or a setting I need to change to get this to work?

Thanks in advance for any help.
 

GameAndReload

New Member
Posting log, note the last two streams as they are the game giving me the issue.
Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: AMD FX(tm)-4170 Quad-Core Processor
CPU Speed: 4200MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 2
monitor 1: pos={0, 0}, size={1280, 1024}
Windows Version: 6.2 Build 9200 
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 275
  Video Adapter Dedicated Video Memory: 911605760
  Video Adapter Shared System Memory: 3354996736
------------------------------------------
Adapter 2
  Video Adapter: Microsoft Basic Render Driver
  Video Adapter Dedicated Video Memory: 0
  Video Adapter Shared System Memory: 268435456
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x1024
  Output resolution: 1280x1024
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- USB Sound Device        )
------------------------------------------
Using auxilary audio input: Microphone (2- USB Sound Device        )
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 1024
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ord.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1684, outputRateWindowTime: 1000, dropThreshold: 2184
Total frames rendered: 22815, number of frames that lagged: 18 (0.08%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:92    Avg QP:27.61  size:  1106
x264: frame P:5736  Avg QP:14.31  size:    50
x264: frame B:16934 Avg QP:16.89  size:    47
x264: consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
x264: mb I  I16..4: 99.8%  0.0%  0.2%
x264: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
x264: 8x8 transform intra:0.0% inter:0.0%
x264: coded y,uvDC,uvAC intra: 0.2% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98%  0%  1%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48%  1% 51%  0%  0%  0%  0%  0%  0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 17% 38%  1%  1%  4%  7%  4%  9%
x264: i8c dc,h,v,p: 100%  0%  0%  0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:24.99
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x1024
  Output resolution: 1280x1024
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- USB Sound Device        )
------------------------------------------
Using auxilary audio input: Microphone (2- USB Sound Device        )
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 1024
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ord.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1408, outputRateWindowTime: 1000, dropThreshold: 1908
Total frames rendered: 17741, number of frames that lagged: 165 (0.93%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:73    Avg QP:24.12  size: 83145
x264: frame P:6213  Avg QP:29.50  size:  8434
x264: frame B:11401 Avg QP:33.39  size:  1912
x264: consecutive B-frames: 11.5%  5.5%  6.3% 76.7%
x264: mb I  I16..4: 38.8% 21.5% 39.8%
x264: mb P  I16..4:  5.3%  2.8%  0.8%  P16..4:  9.6%  3.7%  2.0%  0.0%  0.0%    skip:75.8%
x264: mb B  I16..4:  0.4%  0.1%  0.0%  B16..8:  4.4%  2.4%  0.4%  direct: 0.9%  skip:91.4%  L0:36.4% L1:47.2% BI:16.3%
x264: 8x8 transform intra:30.2% inter:27.6%
x264: coded y,uvDC,uvAC intra: 25.4% 39.6% 18.3% inter: 2.6% 3.6% 0.6%
x264: i16 v,h,dc,p: 46% 39%  9%  5%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 23% 41%  2%  5%  3%  3%  3%  4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 22% 20%  7%  7%  5%  6%  5%  5%
x264: i8c dc,h,v,p: 50% 28% 18%  4%
x264: Weighted P-Frames: Y:6.9% UV:3.5%
x264: kb/s:2160.40
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x1024
  Output resolution: 1280x1024
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- USB Sound Device        )
------------------------------------------
Using auxilary audio input: Microphone (2- USB Sound Device        )
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 1024
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ord.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1578, outputRateWindowTime: 1000, dropThreshold: 2078
Total frames rendered: 14303, number of frames that lagged: 7748 (54.17%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:57    Avg QP: 9.56  size:   341
x264: frame P:3590  Avg QP:12.87  size:    50
x264: frame B:10602 Avg QP:15.97  size:    47
x264: consecutive B-frames:  0.8%  0.0%  0.0% 99.2%
x264: mb I  I16..4: 100.0%  0.0%  0.0%
x264: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
x264: 8x8 transform intra:0.0%
x264: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 98%  0%  2%  0%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
x264: i8c dc,h,v,p: 100%  0%  0%  0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:16.45
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1280x1024
  Output resolution: 1280x1024
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- USB Sound Device        )
------------------------------------------
Using auxilary audio input: Microphone (2- USB Sound Device        )
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
------------------------------------------
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX XOP FMA4 SSEMisalign LZCNT
x264: profile High, level 4.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 1024
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ord.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1413, outputRateWindowTime: 1000, dropThreshold: 1913
Total frames rendered: 10594, number of frames that lagged: 5190 (48.99%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:43    Avg QP:10.98  size:  9197
x264: frame P:2673  Avg QP:14.29  size:   169
x264: frame B:7825  Avg QP:17.56  size:    56
x264: consecutive B-frames:  1.0%  0.0%  0.0% 98.9%
x264: mb I  I16..4: 94.5%  1.5%  4.0%
x264: mb P  I16..4:  0.1%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.8%
x264: mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%  L0:44.7% L1:47.8% BI: 7.5%
x264: 8x8 transform intra:3.8% inter:32.9%
x264: coded y,uvDC,uvAC intra: 8.1% 4.4% 2.4% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 92%  6%  2%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 37% 23%  2%  4%  2%  3%  2%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 35% 13%  5%  5%  4%  6%  4%  6%
x264: i8c dc,h,v,p: 93%  5%  2%  0%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:43.19
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 12.856 ms] [avg calls per frame: 1] [children: 98%] [unaccounted: 1.97%]
| scene->Preprocess - [0.0622%] [avg time: 0.008 ms] [avg calls per frame: 1]
| video encoding and uploading - [98%] [avg time: 12.595 ms] [avg calls per frame: 1] [children: 97.8%] [unaccounted: 0.21%]
| | CopyResource - [81.3%] [avg time: 10.451 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.218%] [avg time: 0.028 ms] [avg calls per frame: 0]
| | call to encoder - [16%] [avg time: 2.056 ms] [avg calls per frame: 0]
| | sending stuff out - [0.257%] [avg time: 0.033 ms] [avg calls per frame: 0]
==============================================================

Hopefully this will allow someone to assist me quicker and easier.
 

Floatingthru

Community Helper
A lot of F2P games have anti-hack programs running in the background/taskbar, and in this case it is hackshield. What that means is that it won't allow game capture or anything to hook into the game.

Your options are to either get a capture card (if you want to play it fullscreen), or play the game windowed and use window capture/monitor capture (if you want your whole screen to be shown).
 

GameAndReload

New Member
Floatingthru said:
A lot of F2P games have anti-hack programs running in the background/taskbar, and in this case it is hackshield. What that means is that it won't allow game capture or anything to hook into the game.

Your options are to either get a capture card (if you want to play it fullscreen), or play the game windowed and use window capture/monitor capture (if you want your whole screen to be shown).

Unfortunately, Hackshield isn't the issue. I tested a few other games that also run hackshield and it worked just fine.
Either way, I know this game has been streamed in the past, I also tried an alternative program to try and stream it (FFSplit) and that came across the same issue. I think it's something to do with how the matches are launched.

Anyone else have any possible ideas as to why it may not be working correctly?

Also, would their be a way where I could use a my recording program (Mirillis Action!) to have that record for the stream? That captures it no problem.
 

GameAndReload

New Member
I will have to try that build hilal, As i mentioned in my first post, the game doesn't allow it to be minimized.
I hope it works. Will be back regardless, to pass along whether or not it helped.
 

GameAndReload

New Member
Still getting the same issue with this build unfortunately.

As for trying to minimize, I have done the following:
Alt+Tab
Ctrl+Alt+Del
Ctrl+Shift+Esc
Windows Key.

The game is set to not minimize regardless of what you try.
 

Krazy

Town drunk
You can try to use the new Game Capture hotkey to try to hook while you are in game. Perhaps this game is similar to LoL in that the lobby is actually a separate program from the game itself.
 

Floatingthru

Community Helper
I have been curious about this game so I decided to download it. I am also fairly sure ahnlab hackshield pro, and the others do patch/update to stop anything from hooking into their games. This game does have a launcher just like LoL, but once the game boots up it will go fullscreen regardless of the resolution that you set.

Trying to alt+tab isn't the problem. Even setting up a hotkey you will not be able to capture this game though game capture and/or normal means. I guess they wen't overboard in trying to stop cheats as you can't even play this game windowed.

This error shows up if you are trying to capture using test build 0.48.016.

"Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5"

The only way I could capture this game was through my live gamer hd in a loopback setting cloning my main monitor.

EDIT:

So I forget that I have Dxtory since game capture is much better. For whatever reason Dxtory can hook into the game, and will work with OBS. I am going to do more tests on games with anti-cheat programs then find out if Dxtory will work where game capture cannot.

EDIT 2:

Tried the same thing with the game combat arms which uses hackshield pro as well, and got the same results. Dxtory worked where game capture did not. Going to find another game with different anti-cheat method.

Last EDIT:

Crossfire yet another f2p fps game that uses X-Trap actually cannot be captured with OBS' game capture or Dxtory. What I have learned is that these anti-cheat programs are kinda bad, and these games are also bad... lol Crossfire didn't even support 1080p for me ;[
 

GameAndReload

New Member
Floatingthru said:
EDIT 2:

Tried the same thing with the game combat arms which uses hackshield pro as well, and got the same results. Dxtory worked where game capture did not. Going to find another game with different anti-cheat method.

I almost forgot I made this thread.

Here's a weird fact.

This was captured with OBS with Game Capture. http://www.twitch.tv/gameandreload/b/391869544

Combat Arms had no issues. It's only laggy because I was trying to do QA on my own stream, while streaming. (that was a mistake on my part)

It did have trouble Using game capture with Dungeon Fighter Online though. Though I was able to to put that in window mode and was able to just Software Capture my monitor to get it to work.

I'll have to find a workaround myself unless someone knows of one that may work.

@Hilalpro, I refuse to visit a hacking site for any reason. I'd rather not have any trace of those sites being visited by my computer.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I could probably make workarounds for the protection. I'd just have to download some good examples of this and hammer it out on my end (I think). If the user has administrator access there's no reason why he shouldn't be allowed to do this. I must be missing something with it.

I'd like to emphasize the point that game capture is not perfect -- it still requires some work. I am aware of this. I will eventually work around the issues. It's just incredibly difficult to debug.
 

GameAndReload

New Member
Jim said:
I could probably make workarounds for the protection. I'd just have to download some good examples of this and hammer it out on my end (I think). If the user has administrator access there's no reason why he shouldn't be allowed to do this. I must be missing something with it.

I'd like to emphasize the point that game capture is not perfect -- it still requires some work. I am aware of this. I will eventually work around the issues. It's just incredibly difficult to debug.

Good to know =) I will still be looking for a workaround for the time being.

I don't think the protection is what is actually stopping it. I think it's more that I'm unable to set it to record the process that is the actual match. It can hook into and record the lobby just fine. It may be just because the lobbies and the actual match are separate instances, and OBS can't pick up on it for whatever reason.

I think, if you were able to add a setting where it could automatically hook onto the active game/process, it may help with this issue or similar issues. At least when you have that setting active. That may make things a little easier.

Also, another note with this issue. It happened with a different game that was able to be windowed and that was captured just fine in windowed mode, using monitor capture. Sadly, that doesn't work for this game.
It does also appear to be certain games, as other ones will work just fine, even with the same hack prevention program.
 

Krazy

Town drunk
GameAndReload said:
Jim said:
I could probably make workarounds for the protection. I'd just have to download some good examples of this and hammer it out on my end (I think). If the user has administrator access there's no reason why he shouldn't be allowed to do this. I must be missing something with it.

I'd like to emphasize the point that game capture is not perfect -- it still requires some work. I am aware of this. I will eventually work around the issues. It's just incredibly difficult to debug.

Good to know =) I will still be looking for a workaround for the time being.

I don't think the protection is what is actually stopping it. I think it's more that I'm unable to set it to record the process that is the actual match. It can hook into and record the lobby just fine. It may be just because the lobbies and the actual match are separate instances, and OBS can't pick up on it for whatever reason.

I think, if you were able to add a setting where it could automatically hook onto the active game/process, it may help with this issue or similar issues. At least when you have that setting active. That may make things a little easier.

Also, another note with this issue. It happened with a different game that was able to be windowed and that was captured just fine in windowed mode, using monitor capture. Sadly, that doesn't work for this game.
It does also appear to be certain games, as other ones will work just fine, even with the same hack prevention program.
There is a hotkey for Game Capture that basically does exactly this.
 
Top