Question / Help Stream flickers/Lag/Bad Resolution

dvulo7

New Member
Hello all. I am trying to set-up my stream using OBS. So far, games like Hearthstone and CS:GO are a breeze to stream, but once I stream League of Legends, my game begins to have a 2-sec flicker/lag (in stream). My actions bars and even the character will begin to flash in and out and flicker constantly.

My PC set-up is as follows:

Monitor: Gateway FPD2485W TFT LCD 24"
Hard Drive: SAMSUNG 840 Pro Series 128GB SSD
Ram: G.SKILL Ripjaws X Series 8GB (2 x 4GB) DDR3 1866
Processor: Intel Core i5-4670K Haswell 3.4GHz LGA 1150 84W Quad-Core
Graphics Card: EVGA 02G-P4-3765-KR GeForce GTX 760 2GB
Motherboard: MSI Z87-G45 Gaming LGA 1150 Intel Z87
Power Supply: Corsair HX Series HX750 750W
OS: Windows 7 Professional

My Charter Cable speeds are as follows:
(Per last test on speedtest.net)
DL -> 30Mbps
UL -> 4.29Mbps
Ping -> 11ms

Note: I have tried running the game both in monitor mode (with aero disabled) and in game capture mode. In both cases ive tried 30-60 fps and different 16:9 resolutions. I also experience black borders in the 16:9 resolutions. My native is 1900x1200.

OBS LOG FILE

Code:
20:53:19: Open Broadcaster Software v0.613b - 32bit (´・ω・`)
20:53:19: -------------------------------
20:53:19: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
20:53:19: CPU Speed: 3400MHz
20:53:19: Physical Memory:  4095MB Total, 3256MB Free
20:53:19: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:53:19: monitor 1: pos={0, 0}, size={1920, 1200}
20:53:19: Windows Version: 6.1 Build 7601 S
20:53:19: Aero is Disabled
20:53:19: -------------------------------
20:53:19: OBS Modules:
20:53:19: Base Address     Module
20:53:19: 011B0000         OBS.exe
20:53:19: 005D0000         OBSApi.dll
20:53:19: 77920000         DShowPlugin.dll
20:53:19: 67E70000         GraphicsCapture.dll
20:53:19: 0FED0000         NoiseGate.dll
20:53:19: 0F2F0000         PSVPlugin.dll
20:53:19: ------------------------------------------
20:53:19: Adapter 1
20:53:19:   Video Adapter: NVIDIA GeForce GTX 760
20:53:19:   Video Adapter Dedicated Video Memory: 2087387136
20:53:19:   Video Adapter Shared System Memory: 2147807232
20:53:19:   Video Adapter Output 1: pos={0, 0}, size={1920, 1200}, attached=true
20:53:19: Using fixed low latency mode, factor 20
20:53:19: =====Stream Start: 2014-03-11, 20:53:19===============================================
20:53:19:   Multithreaded optimizations: On
20:53:19:   Base resolution: 1920x1200
20:53:19:   Output resolution: 1920x1200
20:53:19: ------------------------------------------
20:53:19: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
20:53:19: ------------------------------------------
20:53:19: Audio Format: 44100 Hz
20:53:19: ------------------------------------------
20:53:19: Audio Channels: 2 Ch
20:53:19: Playback device Default
20:53:19: ------------------------------------------
20:53:19: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:53:19: ------------------------------------------
20:53:19: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:53:19: ------------------------------------------
20:53:19: Audio Encoding: AAC
20:53:19:     bitrate: 128
20:53:19: Using Monitor Capture
20:53:19: Using text output
20:53:19: Using graphics capture
20:53:19: Using bitmap image
20:53:19: Scene buffering time set to 700
20:53:19: ------------------------------------------
20:53:19: Video Encoding: x264
20:53:19:     fps: 60
20:53:19:     width: 1920, height: 1200
20:53:19:     preset: veryfast
20:53:19:     profile: main
20:53:19:     keyint: 120
20:53:19:     CBR: yes
20:53:19:     CFR: no
20:53:19:     max bitrate: 3500
20:53:19:     buffer size: 3500
20:53:19: ------------------------------------------
20:53:21: Using RTMP service: Twitch / Justin.tv
20:53:21:   Server selection: rtmp://live.justin.tv/app
20:53:21:   Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
20:53:22: Completed handshake with rtmp://live.justin.tv/app in 178 ms.
20:53:22: SO_SNDBUF was at 8192
20:53:22: SO_SNDBUF is now 65536
20:53:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:53:22:   New Scene
20:53:22: Using Slide Show
20:53:22: Using Monitor Capture
20:53:25: Total frames encoded: 277, total frames duplicated: 6 (2.17%)
20:53:25: Total frames rendered: 284, number of late frames: 1 (0.35%) (it's okay for some frames to be late)
20:53:25: RTMPPublisher::SocketLoop: Graceful loop exit
20:53:25: Average send payload: 25008 bytes, average send interval: 54 ms
20:53:25: Number of times waited to send: 0, Waited for a total of 0 bytes
20:53:25: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:53:25: Number of bytes sent: 725238
20:53:25: 
20:53:25: Profiler time results:
20:53:25: 
20:53:25: ==============================================================
20:53:25: video thread frame - [100%] [avg time: 4.846 ms] [children: 83.8%] [unaccounted: 16.2%]
20:53:25: | scene->Preprocess - [81.7%] [avg time: 3.961 ms]
20:53:25: | GPU download and conversion - [2.08%] [avg time: 0.101 ms] [children: 1.28%] [unaccounted: 0.805%]
20:53:25: | | flush - [0.887%] [avg time: 0.043 ms]
20:53:25: | | CopyResource - [0.351%] [avg time: 0.017 ms]
20:53:25: | | conversion to 4:2:0 - [0.0413%] [avg time: 0.002 ms]
20:53:25: Convert444Threads - [100%] [avg time: 1.08 ms] [children: 99.4%] [unaccounted: 0.556%]
20:53:25: | Convert444toNV12 - [99.4%] [avg time: 1.074 ms]
20:53:25: encoder thread frame - [100%] [avg time: 1.737 ms] [children: 0.403%] [unaccounted: 99.6%]
20:53:25: | sending stuff out - [0.403%] [avg time: 0.007 ms]
20:53:25: ==============================================================
20:53:25: 
20:53:25: 
20:53:25: Profiler CPU results:
20:53:25: 
20:53:25: ==============================================================
20:53:25: video thread frame - [cpu time: avg 2.526 ms, total 717.604 ms] [avg calls per frame: 1]
20:53:25: | scene->Preprocess - [cpu time: avg 1.922 ms, total 546.003 ms] [avg calls per frame: 1]
20:53:25: | GPU download and conversion - [cpu time: avg 0.054 ms, total 15.6 ms] [avg calls per frame: 1]
20:53:25: | | flush - [cpu time: avg 0.054 ms, total 15.6 ms] [avg calls per frame: 1]
20:53:25: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:25: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:25: Convert444Threads - [cpu time: avg 1.156 ms, total 546.003 ms] [avg calls per frame: 2]
20:53:25: | Convert444toNV12 - [cpu time: avg 1.156 ms, total 546.003 ms] [avg calls per frame: 2]
20:53:25: encoder thread frame - [cpu time: avg 1.327 ms, total 312.002 ms] [avg calls per frame: 1]
20:53:25: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:25: ==============================================================
20:53:25: 
20:53:25: =====Stream End: 2014-03-11, 20:53:25=================================================
20:53:27: Using fixed low latency mode, factor 20
20:53:27: =====Stream Start: 2014-03-11, 20:53:27===============================================
20:53:27:   Multithreaded optimizations: On
20:53:27:   Base resolution: 1920x1200
20:53:27:   Output resolution: 1920x1200
20:53:27: ------------------------------------------
20:53:27: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
20:53:27: ------------------------------------------
20:53:27: Audio Format: 44100 Hz
20:53:27: ------------------------------------------
20:53:27: Audio Channels: 2 Ch
20:53:27: Playback device Default
20:53:27: ------------------------------------------
20:53:27: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:53:27: ------------------------------------------
20:53:27: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:53:27: ------------------------------------------
20:53:27: Audio Encoding: AAC
20:53:27:     bitrate: 128
20:53:27: Using Slide Show
20:53:27: Using graphics capture
20:53:27: Scene buffering time set to 700
20:53:27: ------------------------------------------
20:53:27: Video Encoding: x264
20:53:27:     fps: 60
20:53:27:     width: 1920, height: 1200
20:53:27:     preset: veryfast
20:53:27:     profile: main
20:53:27:     keyint: 120
20:53:27:     CBR: yes
20:53:27:     CFR: no
20:53:27:     max bitrate: 3500
20:53:27:     buffer size: 3500
20:53:27: ------------------------------------------
20:53:27: SharedTexCapture hooked
20:53:29: Using RTMP service: Twitch / Justin.tv
20:53:29:   Server selection: rtmp://live.justin.tv/app
20:53:29:   Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
20:53:29: Completed handshake with rtmp://live.justin.tv/app in 191 ms.
20:53:30: SO_SNDBUF was at 8192
20:53:30: SO_SNDBUF is now 65536
20:53:32: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 151720 / 463872)
20:53:50: Total frames encoded: 1295, total frames duplicated: 12 (0.93%)
20:53:50: Total frames rendered: 1304, number of late frames: 1 (0.08%) (it's okay for some frames to be late)
20:53:53: RTMPPublisher::SocketLoop: Graceful loop exit
20:53:54: Average send payload: 25748 bytes, average send interval: 100 ms
20:53:54: Number of times waited to send: 81, Waited for a total of 303784 bytes
20:53:54: Number of b-frames dropped: 317 (28%), Number of p-frames dropped: 315 (28%), Total 632 (57%)
20:53:54: Number of bytes sent: 5484434
20:53:54: 
20:53:54: Profiler time results:
20:53:54: 
20:53:54: ==============================================================
20:53:54: video thread frame - [100%] [avg time: 1.081 ms] [children: 11.4%] [unaccounted: 88.6%]
20:53:54: | scene->Preprocess - [0.0925%] [avg time: 0.001 ms]
20:53:54: | GPU download and conversion - [11.3%] [avg time: 0.122 ms] [children: 6.85%] [unaccounted: 4.44%]
20:53:54: | | flush - [4.72%] [avg time: 0.051 ms]
20:53:54: | | CopyResource - [1.48%] [avg time: 0.016 ms]
20:53:54: | | conversion to 4:2:0 - [0.648%] [avg time: 0.007 ms]
20:53:54: Convert444Threads - [100%] [avg time: 1.055 ms] [children: 99.5%] [unaccounted: 0.474%]
20:53:54: | Convert444toNV12 - [99.5%] [avg time: 1.05 ms]
20:53:54: encoder thread frame - [100%] [avg time: 1.717 ms] [children: 0.874%] [unaccounted: 99.1%]
20:53:54: | sending stuff out - [0.874%] [avg time: 0.015 ms]
20:53:54: ==============================================================
20:53:54: 
20:53:54: 
20:53:54: Profiler CPU results:
20:53:54: 
20:53:54: ==============================================================
20:53:54: video thread frame - [cpu time: avg 0.37 ms, total 483.603 ms] [avg calls per frame: 1]
20:53:54: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:54: | GPU download and conversion - [cpu time: avg 0.035 ms, total 46.801 ms] [avg calls per frame: 1]
20:53:54: | | flush - [cpu time: avg 0.011 ms, total 15.6 ms] [avg calls per frame: 1]
20:53:54: | | CopyResource - [cpu time: avg 0.012 ms, total 15.6 ms] [avg calls per frame: 1]
20:53:54: | | conversion to 4:2:0 - [cpu time: avg 0.012 ms, total 15.601 ms] [avg calls per frame: 1]
20:53:54: Convert444Threads - [cpu time: avg 0.982 ms, total 2464.82 ms] [avg calls per frame: 2]
20:53:54: | Convert444toNV12 - [cpu time: avg 0.982 ms, total 2464.82 ms] [avg calls per frame: 2]
20:53:54: encoder thread frame - [cpu time: avg 1.195 ms, total 1497.61 ms] [avg calls per frame: 1]
20:53:54: | sending stuff out - [cpu time: avg 0.012 ms, total 15.601 ms] [avg calls per frame: 1]
20:53:54: ==============================================================
20:53:54: 
20:53:54: =====Stream End: 2014-03-11, 20:53:54=================================================
20:53:54: Using fixed low latency mode, factor 20
20:53:54: =====Stream Start: 2014-03-11, 20:53:54===============================================
20:53:54:   Multithreaded optimizations: On
20:53:54:   Base resolution: 1920x1200
20:53:54:   Output resolution: 1920x1200
20:53:54: ------------------------------------------
20:53:54: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
20:53:54: ------------------------------------------
20:53:54: Audio Format: 44100 Hz
20:53:54: ------------------------------------------
20:53:54: Audio Channels: 2 Ch
20:53:54: Playback device Default
20:53:54: ------------------------------------------
20:53:54: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:53:54: ------------------------------------------
20:53:54: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:53:54: ------------------------------------------
20:53:54: Audio Encoding: AAC
20:53:54:     bitrate: 128
20:53:54: Using Slide Show
20:53:54: Using graphics capture
20:53:54: Scene buffering time set to 700
20:53:54: ------------------------------------------
20:53:54: Video Encoding: x264
20:53:54:     fps: 60
20:53:54:     width: 1920, height: 1200
20:53:54:     preset: veryfast
20:53:54:     profile: main
20:53:54:     keyint: 120
20:53:54:     CBR: yes
20:53:54:     CFR: no
20:53:54:     max bitrate: 3500
20:53:54:     buffer size: 3500
20:53:54: ------------------------------------------
20:53:54: SharedTexCapture hooked
20:53:55: Using RTMP service: Twitch / Justin.tv
20:53:55:   Server selection: rtmp://live.justin.tv/app
20:53:55:   Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
20:53:55: Completed handshake with rtmp://live.justin.tv/app in 171 ms.
20:53:55: Total frames encoded: 47, total frames duplicated: 1 (2.13%)
20:53:55: Total frames rendered: 84, number of late frames: 1 (1.19%) (it's okay for some frames to be late)
20:53:55: librtmp error: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10053 (An established connection was aborted by the software in your host machine.)
20:53:55: Connection to rtmp://live.justin.tv/app failed: Could not access the specified channel or stream key.  This could be because the key/channel is invalid, or because the server still thinks you are logged in.
20:53:55: 
20:53:55: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10053 (An established connection was aborted by the software in your host machine.)
20:53:55: 
20:53:55: Number of times waited to send: 0, Waited for a total of 0 bytes
20:53:55: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:53:55: Number of bytes sent: 0
20:53:55: 
20:53:55: Profiler time results:
20:53:55: 
20:53:55: ==============================================================
20:53:55: video thread frame - [100%] [avg time: 1.084 ms] [children: 5.35%] [unaccounted: 94.6%]
20:53:55: | scene->Preprocess - [0.0923%] [avg time: 0.001 ms]
20:53:55: | GPU download and conversion - [5.26%] [avg time: 0.057 ms] [children: 4.98%] [unaccounted: 0.277%]
20:53:55: | | flush - [3.87%] [avg time: 0.042 ms]
20:53:55: | | CopyResource - [0.83%] [avg time: 0.009 ms]
20:53:55: | | conversion to 4:2:0 - [0.277%] [avg time: 0.003 ms]
20:53:55: Convert444Threads - [100%] [avg time: 1.044 ms] [children: 99.5%] [unaccounted: 0.479%]
20:53:55: | Convert444toNV12 - [99.5%] [avg time: 1.039 ms]
20:53:55: encoder thread frame - [100%] [avg time: 1.013 ms] [children: 0.0987%] [unaccounted: 99.9%]
20:53:55: | sending stuff out - [0.0987%] [avg time: 0.001 ms]
20:53:55: ==============================================================
20:53:55: 
20:53:55: 
20:53:55: Profiler CPU results:
20:53:55: 
20:53:55: ==============================================================
20:53:55: video thread frame - [cpu time: avg 0.557 ms, total 46.8 ms] [avg calls per frame: 1]
20:53:55: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:55: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:55: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:55: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
20:53:55: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
20:53:55: Convert444Threads - [cpu time: avg 1.147 ms, total 78 ms] [avg calls per frame: 2]
20:53:55: | Convert444toNV12 - [cpu time: avg 1.147 ms, total 78 ms] [avg calls per frame: 2]
20:53:55: encoder thread frame - [cpu time: avg 1.418 ms, total 46.8 ms] [avg calls per frame: 1]
20:53:55: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:53:55: ==============================================================
20:53:55: 
20:53:55: =====Stream End: 2014-03-11, 20:53:55=================================================
20:53:56: Using fixed low latency mode, factor 20
20:53:56: =====Stream Start: 2014-03-11, 20:53:56===============================================
20:53:56:   Multithreaded optimizations: On
20:53:56:   Base resolution: 1920x1200
20:53:56:   Output resolution: 1920x1200
20:53:56: ------------------------------------------
20:53:56: Loading up D3D10 on NVIDIA GeForce GTX 760 (Adapter 1)...
20:53:56: ------------------------------------------
20:53:56: Audio Format: 44100 Hz
20:53:56: ------------------------------------------
20:53:56: Audio Channels: 2 Ch
20:53:56: Playback device Default
20:53:56: ------------------------------------------
20:53:56: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:53:56: ------------------------------------------
20:53:56: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:53:56: ------------------------------------------
20:53:56: Audio Encoding: AAC
20:53:56:     bitrate: 128
20:53:56: Using Slide Show
20:53:56: Using graphics capture
20:53:56: Scene buffering time set to 700
20:53:56: ------------------------------------------
20:53:56: Video Encoding: x264
20:53:56:     fps: 60
20:53:56:     width: 1920, height: 1200
20:53:56:     preset: veryfast
20:53:56:     profile: main
20:53:56:     keyint: 120
20:53:56:     CBR: yes
20:53:56:     CFR: no
20:53:56:     max bitrate: 3500
20:53:56:     buffer size: 3500
20:53:56: ------------------------------------------
20:53:56: SharedTexCapture hooked
20:53:58: Using RTMP service: Twitch / Justin.tv
20:53:58:   Server selection: rtmp://live.justin.tv/app
20:53:58:   Interface: Killer e2200 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
20:53:58: Completed handshake with rtmp://live.justin.tv/app in 169 ms.
20:53:59: SO_SNDBUF was at 8192
20:53:59: SO_SNDBUF is now 65536
20:54:01: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 220556 / 463872)
20:54:37: Settings::Video: Disabling Aero
20:54:40: RTMPPublisher::SocketLoop: Stalled for 3266 ms to write 25770 bytes (buffer: 434037 / 463872), unstable connection?
20:55:08: RTMPPublisher::SocketLoop: Stalled for 1589 ms to write 25770 bytes (buffer: 434858 / 463872), unstable connection?
20:56:26: Total frames encoded: 8916, total frames duplicated: 53 (0.59%)
20:56:26: Total frames rendered: 8921, number of late frames: 7 (0.08%) (it's okay for some frames to be late)
20:57:26: WARNING: Forcibly terminating a thread after 60000 ms timeout!


I'd appreciate any help.
 

Sapiens

Forum Moderator
Don't use monitor capture at all in Windows 7 if you can help it. Don't use monitor capture or window capture for full screen games as they won't work properly. Use game capture for full screen games, and either game capture or window capture (with Aero enabled) for windowed/borderless windowed games.

You're going to get black bars when streaming if you don't use a 16:9 resolution, but if your native resolution is 16:10 then I really wouldn't worry about it. Refer to viewtopic.php?f=18&t=4233 for more details about that.
 

dvulo7

New Member
Sapiens said:
You're going to get black bars when streaming if you don't use a 16:9 resolution, but if your native resolution is 16:10 then I really wouldn't worry about it. Refer to https://obsproject.com/forum/viewtopic.php?f=18&t=4233 for more details about that.

I am unable to make my game (played in full screen/game capture) totally appear in the stream. The bottom portions get cut out. I tried editing the scene, but no luck since all the sides of the scene stretch out. Any suggestions?

I will also test out the new settings and get back.
 
Top