Question / Help Black Screen when Streaming AVP

g4l1337

New Member
hey guys I have been trying to stream Aiens Vs. Predators on OBS. I am using the game capture method however, when I attempt to stream this game nothing comes up but a black screen. There is a message at the bottom saying " cannot find window " does any one know how to fix this error?


Also Log file

Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
CPU Speed: 3500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 5, model 10, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={-1680, 30}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 Ti  
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 3220779008
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GTX 260
  Video Adapter Dedicated Video Memory: 911736832
  Video Adapter Shared System Memory: 3354996736
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- ASUS Xonar DS Audio Device)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using graphics capture
Using graphics capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 35
    width: 960, height: 540
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1700
    buffer size: 1700
    quality: 9
------------------------------------------
Total frames rendered: 2701, number of frames that lagged: 225 (8.33%) (it's okay for some frames to lag)
x264: frame I:11    Avg QP: 8.00  size:   255
x264: frame P:669   Avg QP:10.99  size:    29
x264: frame B:1975  Avg QP:14.13  size:    27
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: 97%  0%  3%  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:7.65
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- ASUS Xonar DS Audio Device)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 35
    width: 960, height: 540
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1700
    buffer size: 1700
    quality: 9
------------------------------------------
------------------------------------------
    device: XSplitBroadcaster,
    device id (null),
    chosen type: YUY2, usingFourCC: false, res: 1x1 - 320x240, fps: 1-255.004, fourCC: 'YUY2'

Using directshow input
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using bitmap image
Total frames rendered: 36574, number of frames that lagged: 257 (0.70%) (it's okay for some frames to lag)
x264: frame I:147   Avg QP:17.88  size: 20947
x264: frame P:10139 Avg QP:20.15  size:  2019
x264: frame B:26243 Avg QP:19.70  size:    93
x264: consecutive B-frames:  4.1%  0.2%  0.2% 95.5%
x264: mb I  I16..4: 47.7% 33.4% 18.9%
x264: mb P  I16..4:  2.8%  2.0%  0.0%  P16..4: 14.3%  3.2%  1.1%  0.0%  0.0%    skip:76.6%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  1.4%  0.0%  0.0%  direct: 0.7%  skip:97.8%  L0:94.5% L1: 4.1% BI: 1.5%
x264: 8x8 transform intra:38.1% inter:24.3%
x264: coded y,uvDC,uvAC intra: 40.6% 54.3% 16.7% inter: 0.7% 3.5% 0.2%
x264: i16 v,h,dc,p: 46% 32% 19%  4%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 22% 56%  1%  3%  2%  3%  1%  3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 28% 16%  7%  5%  5%  7%  6%  6%
x264: i8c dc,h,v,p: 51% 25% 20%  4%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:198.35
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 960x540
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (2- ASUS Xonar DS Audio Device)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (2- ASUS Xonar DS Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 35
    width: 960, height: 540
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1700
    buffer size: 1700
    quality: 9
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lax-backup.justin.tv/app
bufferTime: 1400, outputRateWindowTime: 1000, dropThreshold: 1900
Total frames rendered: 1619, number of frames that lagged: 18 (1.11%) (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:7     Avg QP: 8.43  size:   294
x264: frame P:396   Avg QP:10.97  size:    29
x264: frame B:1170  Avg QP:14.27  size:    27
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: 97%  0%  3%  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:7.66
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 6.746 ms] [avg calls per frame: 1] [children: 16.1%] [unaccounted: 83.9%]
| scene->Preprocess - [0.0889%] [avg time: 0.006 ms] [avg calls per frame: 1]
| video encoding and uploading - [16%] [avg time: 1.078 ms] [avg calls per frame: 1] [children: 14.8%] [unaccounted: 1.16%]
| | CopyResource - [0.282%] [avg time: 0.019 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.341%] [avg time: 0.023 ms] [avg calls per frame: 0]
| | call to encoder - [14.2%] [avg time: 0.957 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0148%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
try to put the game on full screen non windowed mode and always run the game after obs meaning if you restart restart obs or it's capture source you gotta restart the game aswell

otherwise use windows capture on full screen (windowed). there will be probably changes done to the way obs hook the game in the next release or so.
 

g4l1337

New Member
hilalpro said:
try to put the game on full screen non windowed mode and always run the game after obs meaning if you restart restart obs or it's capture source you gotta restart the game aswell

otherwise use windows capture on full screen (windowed). there will be probably changes done to the way obs hook the game in the next release or so.


Hey thanks for the quick response! I tried what you said and It still doesn't work. I tried playing in windowed mode though not windowed fullscreen becasue there is no way to make this game windowed full screen and the video still did not work :( . If any one at all could help I would be super super grateful
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
First - I notice you have two GPUs. Make sure both OBS and the game are running on the same GPU. Secondly, try going back into the properties and making sure you have the right window selected. If that fails, then it's probably a window switching thing, so you may have to run the game in borderless windowed mode (if it has it hopefully), and use Software Capture->Window Capture instead (which is pretty much just as good as game capture as long as you have aero on)
 
Top