Question / Help Lag on stream

tony13151

New Member
Hello. I am new to streaming. I mostly stream on black ops 2 and League of Legends. The game looks crystal clear on problem is when i move the camera angle. If i move the camera angle on league of black ops the stream gets very pixelated. If I put the bitrate over 1000 i seem to get FPS lag in game. These are my current computer specs. I dont see how I shouldnt be able to handle streaming on higher bitrate without lag. Ive seen some people stream at 4k bit rate
Intel(R) Core(TM) i7-2600 CPU @ 3.40 GHz
16 GB RAM
ASUS P8Z77-V LX Motherboard
GeForce GTX 560 Ti Graphics Card

Any suggestions to get better quality streams?
 

tony13151

New Member
Code:
10:19:43: Settings::Video: Disabling Aero
10:20:31: Open Broadcaster Software v0.591b - 64bit ( ^ω^)
10:20:31: -------------------------------
10:20:31: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
10:20:31: CPU Speed: 3467MHz
10:20:31: Physical Memory:  16331MB Total, 12511MB Free
10:20:31: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
10:20:31: monitor 1: pos={0, 0}, size={1920, 1080}
10:20:31: Windows Version: 6.1 Build 7601 S
10:20:31: Aero is Disabled
10:20:31: -------------------------------
10:20:31: OBS Modules:
10:20:31: Base Address     Module
10:20:31: 000000003FCB0000 OBS.exe
10:20:31: 00000000F6CA0000 OBSApi.dll
10:20:31: 00000000F9F90000 DShowPlugin.dll
10:20:31: 00000000F76C0000 GraphicsCapture.dll
10:20:31: 00000000FA260000 NoiseGate.dll
10:20:31: 00000000F76A0000 PSVPlugin.dll
10:20:31: 00000000F7680000 scenesw.dll
10:20:31: ------------------------------------------
10:20:31: Adapter 1
10:20:31:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
10:20:31:   Video Adapter Dedicated Video Memory: 1025966080
10:20:31:   Video Adapter Shared System Memory: 3221106688
10:20:31:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
10:20:31: =====Stream Start: 2013-12-20, 10:20:31===============================================
10:20:31:   Multithreaded optimizations: On
10:20:31:   Base resolution: 1280x720
10:20:31:   Output resolution: 852x480
10:20:31: ------------------------------------------
10:20:31: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti (Adapter 1)...
10:20:31: ------------------------------------------
10:20:31: Audio Format: 48000hz
10:20:31: Playback device {0.0.0.00000000}.{cb332156-aa59-4dd9-ae81-fade826f83bc}
10:20:31: ------------------------------------------
10:20:31: Using desktop audio input: Speakers (Realtek High Definition Audio)
10:20:32: ------------------------------------------
10:20:32: Using auxilary audio input: Microphone (Realtek High Definition Audio)
10:20:32: ------------------------------------------
10:20:32: Audio Encoding: AAC
10:20:32:     bitrate: 96
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: Using bitmap image
10:20:32: ------------------------------------------
10:20:32:     device: Logitech HD Webcam C270,
10:20:32:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&246bc391&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
10:20:32:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
10:20:32:     use buffering: false - 0, fourCC: 'I420'
10:20:32:     audio device: Disable,
10:20:32:     audio device id Disabled,
10:20:32: 
10:20:32: Using directshow input
10:20:32: Using graphics capture
10:20:34: Scene buffering time set to 700
10:20:34: ------------------------------------------
10:20:34: Video Encoding: x264
10:20:34:     fps: 30
10:20:34:     width: 852, height: 480
10:20:34:     preset: veryfast
10:20:34:     profile: high
10:20:34:     keyint: 250
10:20:34:     CBR: yes
10:20:34:     CFR: yes
10:20:34:     max bitrate: 2000
10:20:34:     buffer size: 2000
10:20:34: ------------------------------------------
10:20:34: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
10:20:34: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
10:20:34: SharedTexCapture hooked
10:20:36: Using RTMP service: Twitch / Justin.tv
10:20:36:   Server selection: rtmp://live-mia.justin.tv/app
10:20:36:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
10:20:37: Completed handshake with rtmp://live-mia.justin.tv/app in 413 ms.
10:20:37: SO_SNDBUF was at 8192
10:20:37: SO_SNDBUF is now 65536
10:20:51: Settings::Encoding: Changing bitrate from 2000kb/s to 1500kb/s
10:20:52: RTMPPublisher::SocketLoop: Stalled for 1504 ms to write 32895 bytes (buffer: 0 / 268288), unstable connection?
10:20:53: RTMPPublisher::SocketLoop: Stalled for 1691 ms to write 267079 bytes (buffer: 0 / 268288), unstable connection?
10:20:56: RTMPPublisher::SocketLoop: Stalled for 1524 ms to write 267423 bytes (buffer: 0 / 268288), unstable connection?
10:20:58: RTMPPublisher::SocketLoop: Stalled for 1506 ms to write 268199 bytes (buffer: 0 / 268288), unstable connection?
10:21:01: RTMPPublisher::SocketLoop: Stalled for 1501 ms to write 268230 bytes (buffer: 0 / 268288), unstable connection?
10:21:05: Settings::Encoding: Changing bitrate from 1500kb/s to 1200kb/s
10:21:13: RTMPPublisher::SocketLoop: Stalled for 1504 ms to write 247453 bytes (buffer: 0 / 268288), unstable connection?
10:21:18: RTMPPublisher::SocketLoop: Stalled for 2001 ms to write 267641 bytes (buffer: 0 / 268288), unstable connection?
10:21:19: Settings::Encoding: Changing bitrate from 1200kb/s to 1000kb/s
10:21:20: RTMPPublisher::SocketLoop: Stalled for 1501 ms to write 262066 bytes (buffer: 0 / 268288), unstable connection?
10:21:34: Exit signal received, terminating capture
10:21:35: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
10:21:35:   New Scene
10:21:36: Using bitmap image
10:21:36: Using bitmap image
10:21:36: Using bitmap image
10:21:36: ------------------------------------------
10:21:36:     device: Logitech HD Webcam C270,
10:21:36:     device id \\?\usb#vid_046d&pid_0825&mi_00#7&246bc391&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
10:21:36:     chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
10:21:36:     use buffering: false - 0, fourCC: 'I420'
10:21:36:     audio device: Disable,
10:21:36:     audio device id Disabled,
10:21:36: 
10:21:36: Using directshow input
10:21:36: Using graphics capture
10:21:36: Using bitmap image
10:21:37: PERFORMANCE WARNING: Scene change took 1620 ms, maybe some sources should be global sources?
10:21:39: Total frames encoded: 1944, total frames duplicated: 57 (2.93%)
10:21:39: Total frames rendered: 1896, number of late frames: 2 (0.11%) (it's okay for some frames to be late)
10:21:40: RTMPPublisher::SocketLoop: Graceful loop exit
10:21:40: Average send payload: 30892 bytes, average send interval: 179 ms
10:21:40: Number of times waited to send: 27, Waited for a total of 91614 bytes
10:21:40: Number of b-frames dropped: 88 (4.8%), Number of p-frames dropped: 57 (3.1%), Total 145 (7.8%)
10:21:40: Number of bytes sent: 10657821
10:21:40: 
10:21:40: Profiler time results:
10:21:40: 
10:21:40: ==============================================================
10:21:40: video thread frame - [100%] [avg time: 2.08 ms] [children: 22.3%] [unaccounted: 77.7%]
10:21:40: | scene->Preprocess - [14.9%] [avg time: 0.309 ms]
10:21:40: | GPU download and conversion - [7.45%] [avg time: 0.155 ms] [children: 5.43%] [unaccounted: 2.02%]
10:21:40: | | flush - [4.42%] [avg time: 0.092 ms]
10:21:40: | | CopyResource - [0.817%] [avg time: 0.017 ms]
10:21:40: | | conversion to 4:2:0 - [0.192%] [avg time: 0.004 ms]
10:21:40: Convert444Threads - [100%] [avg time: 0.213 ms] [children: 98.6%] [unaccounted: 1.41%]
10:21:40: | Convert444toNV12 - [98.6%] [avg time: 0.21 ms]
10:21:40: encoder thread frame - [100%] [avg time: 0.448 ms]
10:21:40: ==============================================================
10:21:40: 
10:21:40: 
10:21:40: Profiler CPU results:
10:21:40: 
10:21:40: ==============================================================
10:21:40: video thread frame - [cpu time: avg 0.394 ms, total 748.804 ms] [avg calls per frame: 1]
10:21:40: | scene->Preprocess - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
10:21:40: | GPU download and conversion - [cpu time: avg 0.016 ms, total 31.2 ms] [avg calls per frame: 1]
10:21:40: | | flush - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
10:21:40: | | CopyResource - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
10:21:40: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
10:21:40: Convert444Threads - [cpu time: avg 0.1 ms, total 374.402 ms] [avg calls per frame: 2]
10:21:40: | Convert444toNV12 - [cpu time: avg 0.1 ms, total 374.402 ms] [avg calls per frame: 2]
10:21:40: encoder thread frame - [cpu time: avg 0.008 ms, total 15.6 ms] [avg calls per frame: 1]
10:21:40: ==============================================================
10:21:40: 
10:21:40: =====Stream End: 2013-12-20, 10:21:40=================================================
10:22:20: Settings::Video: Disabling Aero


Last game capture log:
2013-12-20, 10:21:37: we're booting up: 
10:21:37: CaptureThread: attached to process LolClient.exe
10:21:37: D3D9 Present
10:21:37: (half life scientist) everything..  seems to be in order
10:21:41: D3D9EndScene called
10:21:41: D3DPRESENT_PARAMETERS {
10:21:41: 	BackBufferWidth: 16
10:21:41: 	BackBufferHeight: 16
10:21:41: 	BackBufferFormat: D3DFMT_X8R8G8B8
10:21:41: 	BackBufferCount: 1
10:21:41: 	MultiSampleType: D3DMULTISAMPLE_NONE
10:21:41: 	MultiSampleQuality: 0
10:21:41: 	SwapEffect: D3DSWAPEFFECT_COPY
10:21:41: 	hDeviceWindow: 2687544
10:21:41: 	Windowed: true
10:21:41: 	EnableAutoDepthStencil: false
10:21:41: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
10:21:41: 	Flags: None
10:21:41: 	FullScreen_RefreshRateInHz: 0
10:21:41: 	PresentationInterval: 0
10:21:41: };
10:21:41: successfully set up d3d9 hooks
10:21:41: D3D9SwapPresent called
10:21:41: DoD3D9GPUHook: success
 

Sapiens

Forum Moderator
You appear to be dropping frames, and OBS is lowering your bitrate due to an unstable connection. Please see the thread at viewtopic.php?f=5&t=8870 for tips on how to correct this problem, it may be something as simple as changing to a different ingest server.
 
Top