Question / Help Different Resolutions

Bearlify

New Member
Hello,

I'm quite the noob when it comes to streaming but I wanted to try it anyway since I recently got new internet (http://speedtest.net/result/2661996381.png). I can easily stream my desktop @1080p 60fps, so I guess my bandwidth shouldn't be a problem?

Sadly however, I encounter two problems when streaming a video game such as Combat Arms.
I'm playing the game on 1440x1080, while my desktop is 1920x1080, to which the stream is set. I'm playing the game full screen, but a viewer sees me playing in windowed mode.
Secondly, the game flickers allot. See http://www.twitch.tv/bearlify/b/394314407 for a visual representation of both problems.

How can I fix this?

Greetings,
David
 

dodgepong

Administrator
Community Helper
The flickering (and possibly the "windowed mode" effect) is from trying to capture a fullscreen game with Monitor capture. Either use Game Capture, or play the game in Windowed or Borderless mode.
 

hilalpro

Member
Can you post a log file ? viewtopic.php?f=5&t=97

you don't have to stream at 1920x1080 if the game is running full screen. set your obs base resolution to 1440x1080 from settings> video then create a new scene and use game capture rather than monitor capture to capture the game.
 

Bearlify

New Member
dodgepong said:
The flickering (and possibly the "windowed mode" effect) is from trying to capture a fullscreen game with Monitor capture. Either use Game Capture, or play the game in Windowed or Borderless mode.
I tried playing League of Legends bordeless 1920x1080, which was no problem.
The flickering is probably related to Combat Arms having the worst coding in human history

hilalpro said:
Can you post a log file ? viewtopic.php?f=5&t=97
you don't have to stream at 1920x1080 if the game is running full screen. set your obs base resolution to 1440x1080 from settings> video then create a new scene and use game capture rather than monitor capture to capture the game.
I'm going to try streaming with a OBS resolution of 1440x1080. I guess i'm going to be having to use 2 sources, switching between those when switching between game/desktop?

edit 2: reply so I put the edit in a reply.
 

Bearlify

New Member
Tried it. Game Capture records a black screen (it is set to combat arms: http://puu.sh/2F52g.png).
Log:
Code:
Open Broadcaster Software v0.472b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 3221106688
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 3000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1440x1080
  Output resolution: 1440x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{584834e5-2109-4148-8604-28e2e8f1e8c8}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1440, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1500
    quality: 9
------------------------------------------
Syncing audio to video time
Total frames rendered: 23, number of frames that lagged: 1 (4.35%) (it's okay for some frames to lag)
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1440x1080
  Output resolution: 1440x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{584834e5-2109-4148-8604-28e2e8f1e8c8}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1440, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1500
    quality: 9
------------------------------------------
Syncing audio to video time
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
timestamps for 'Microphone (Realtek High Definition Audio)' just decided to go wacky.  reverting to desktop time.  PRAISE WONDERFUL DEVICE DRIVERS
bufferTime: 1474, outputRateWindowTime: 1000, dropThreshold: 1974
Total frames rendered: 1666, number of frames that lagged: 7 (0.42%) (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:8     Avg QP:11.92  size: 14515
x264: frame P:412   Avg QP:11.95  size:   368
x264: frame B:1202  Avg QP:14.43  size:    63
x264: consecutive B-frames:  1.1%  0.1%  0.2% 98.6%
x264: mb I  I16..4: 91.6%  3.4%  5.0%
x264: mb P  I16..4:  0.3%  0.0%  0.0%  P16..4:  0.3%  0.0%  0.0%  0.0%  0.0%    skip:99.3%
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:56.1% L1:42.9% BI: 1.0%
x264: 8x8 transform intra:4.1% inter:19.9%
x264: coded y,uvDC,uvAC intra: 7.5% 5.6% 4.1% inter: 0.0% 0.0% 0.0%
x264: i16 v,h,dc,p: 87% 11%  1%  0%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 34% 47%  0%  1%  0%  0%  0%  3%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 40% 15%  2%  3%  3%  4%  3%  4%
x264: i8c dc,h,v,p: 86% 10%  4%  0%
x264: Weighted P-Frames: Y:0.2% UV:0.2%
x264: kb/s:50.20
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 9.572 ms] [avg calls per frame: 1] [children: 93.9%] [unaccounted: 6.06%]
| scene->Preprocess - [43.4%] [avg time: 4.151 ms] [avg calls per frame: 1]
| video encoding and uploading - [50.6%] [avg time: 4.841 ms] [avg calls per frame: 1] [children: 19.8%] [unaccounted: 30.8%]
| | CopyResource - [0.125%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.47%] [avg time: 0.045 ms] [avg calls per frame: 0]
| | call to encoder - [19.1%] [avg time: 1.833 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0731%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================
 

Bearlify

New Member
hilalpro said:
Can you update to this build and try with game capture again ?
viewtopic.php?f=5&t=68
Updated. I like the new features ;). Sadly both problems persist.

Code:
------------------------------------------
------------------------------------------
Open Broadcaster Software v0.48.018b (rock lobster test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3410MHz
Physical Memory:  8109MB Total, 5990MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 560 
  Video Adapter Dedicated Video Memory: 1025966080
  Video Adapter Shared System Memory: 3221106688
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 3000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
Using fixed low latency mode, factor 20
=====Stream Start: 2013-04-22, 21:42:27===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{584834e5-2109-4148-8604-28e2e8f1e8c8}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 9
------------------------------------------
Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 9043, number of frames that lagged: 23 (0.25%) (it's okay for some frames to lag)
Total duplicated frames: 30 (0.33%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-22, 21:47:30=================================================
Using fixed low latency mode, factor 20
=====Stream Start: 2013-04-22, 21:52:27===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{584834e5-2109-4148-8604-28e2e8f1e8c8}
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = 5
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 9
------------------------------------------
Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 4661, number of frames that lagged: 4 (0.09%) (it's okay for some frames to lag)
Total duplicated frames: 10 (0.21%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-22, 21:55:04=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.545 ms] [avg calls per frame: 1] [children: 97.2%] [unaccounted: 2.78%]
| scene->Preprocess - [62.3%] [avg time: 4.703 ms] [avg calls per frame: 1]
| video encoding and uploading - [34.9%] [avg time: 2.632 ms] [avg calls per frame: 1] [children: 34.3%] [unaccounted: 0.623%]
| | CopyResource - [0.557%] [avg time: 0.042 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0795%] [avg time: 0.006 ms] [avg calls per frame: 0]
| | call to encoder - [33.5%] [avg time: 2.525 ms] [avg calls per frame: 1]
| | sending stuff out - [0.159%] [avg time: 0.012 ms] [avg calls per frame: 1]
==============================================================

Edit: added the log.
 

hilalpro

Member
Close the game and obs then run obs as admin go settings video> select the nvidia adapter and delete the game capture source, run the game and try creating the source again. also give game capture a few seconds to load.
 

Bearlify

New Member
hilalpro said:
Close the game and obs then run obs as admin go settings video> select the nvidia adapter and delete the game capture source, run the game and try creating the source again. also give game capture a few seconds to load.
Nope, black. Is there no possibility to capture the stream from GPU to the monitor apart from any capture device? I guess that would work easiest.
 

hilalpro

Member
Bearlify said:
hilalpro said:
Close the game and obs then run obs as admin go settings video> select the nvidia adapter and delete the game capture source, run the game and try creating the source again. also give game capture a few seconds to load.
Nope, black. Is there no possibility to capture the stream from GPU to the monitor apart from any capture device? I guess that would work easiest.
Game capture should work fine something is interfering. close all other programs and disable the anti virus if you have one, also make sure you're not using any game modes or effects they can prevent hooking from game capture.
 

Bearlify

New Member
hilalpro said:
Bearlify said:
hilalpro said:
Close the game and obs then run obs as admin go settings video> select the nvidia adapter and delete the game capture source, run the game and try creating the source again. also give game capture a few seconds to load.
Nope, black. Is there no possibility to capture the stream from GPU to the monitor apart from any capture device? I guess that would work easiest.
Game capture should work fine something is interfering. close all other programs and disable the anti virus if you have one, also make sure you're not using any game modes or effects they can prevent hooking from game capture.
Disabled everything that hooks and AVG. SOUND! But only sound, still a black screen.
 
Top