Question / Help Having problems with "choppy" stream

Kscar

New Member
I have a very basic understanding of how everything in OBS works but I'm slowly getting better at it. Story is I've been streaming for a couple friends for a while now. Internet just got upgraded to 10 mb/s upload so I thought "why not". La da da a couple hours later I believed to have it set up fine. Then I go live and my friends complain that it gets very choppy during high moments of gameplay (League of Legends). Thought I would come here to get some help as I have no idea what's wrong with the thing.
Code:
11:00:27: Open Broadcaster Software v0.571b - 64bit ( ^ω^)
11:00:27: -------------------------------
11:00:27: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
11:00:27: CPU Speed: 3392MHz
11:00:27: Physical Memory:  16345MB Total, 13109MB Free
11:00:27: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
11:00:27: monitor 1: pos={0, -1080}, size={1920, 1080}
11:00:27: monitor 2: pos={-1680, 30}, size={1680, 1050}
11:00:27: monitor 3: pos={0, 0}, size={1920, 1080}
11:00:27: Windows Version: 6.1 Build 7601 S
11:00:27: Aero is Disabled
11:00:27: -------------------------------
11:00:27: OBS Modules:
11:00:27: Base Address     Module
11:00:27: 000000003F8B0000 OBS.exe
11:00:27: 00000000EC800000 OBSApi.dll
11:00:27: 00000000EDE60000 DShowPlugin.dll
11:00:27: 00000000F1000000 GraphicsCapture.dll
11:00:27: 00000000EDE40000 NoiseGate.dll
11:00:27: 00000000EDE20000 PSVPlugin.dll
11:00:27: ------------------------------------------
11:00:27: Adapter 1
11:00:27:   Video Adapter: AMD Radeon HD 7800 Series
11:00:27:   Video Adapter Dedicated Video Memory: 2120388608
11:00:27:   Video Adapter Shared System Memory: 4006189056
11:00:27: =====Stream Start: 2013-10-12, 11:00:27===============================================
11:00:27:   Multithreaded optimizations: On
11:00:27:   Base resolution: 1920x1080
11:00:27:   Output resolution: 1280x720
11:00:27: ------------------------------------------
11:00:27: Loading up D3D10 on AMD Radeon HD 7800 Series...
11:00:27: ------------------------------------------
11:00:27: Audio Format: 48000hz
11:00:27: Playback device {0.0.0.00000000}.{3ea2d2a2-e0c6-4c5b-bf1d-653da3a6a058}
11:00:27: ------------------------------------------
11:00:27: Using desktop audio input: Speakers (2- Logitech G930 Headset)
11:00:27: Using 7.1 surround speaker setup
11:00:27: ------------------------------------------
11:00:27: Using auxilary audio input: Microphone (2- Logitech G930 Headset)
11:00:27: ------------------------------------------
11:00:27: Audio Encoding: AAC
11:00:27:     bitrate: 128
11:00:27: Using text output
11:00:27: Using Monitor Capture
11:00:27: Using graphics capture
11:00:27: ------------------------------------------
11:00:27: Video Encoding: x264
11:00:27:     fps: 60
11:00:27:     width: 1280, height: 720
11:00:27:     preset: veryfast
11:00:27:     profile: high
11:00:27:     keyint: 120
11:00:27:     CBR: yes
11:00:27:     CFR: no
11:00:27:     max bitrate: 2800
11:00:27:     buffer size: 2800
11:00:27: ------------------------------------------
11:00:27: MMDeviceAudioSource: Frequency for device 'Speakers (2- Logitech G930 Headset)' is 1536000, samples per sec is 48000
11:00:27: MMDeviceAudioSource: Frequency for device 'Microphone (2- Logitech G930 Headset)' is 64000, samples per sec is 16000
11:00:27: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
11:00:29: Using RTMP service: Twitch / Justin.tv
11:00:29:   Server selection: rtmp://live.justin.tv/app
11:00:29:   Interface: Atheros AR8161/8165 PCI-E Gigabit Ethernet Controller (NDIS 6.20) (ethernet, 1000 mbps)
11:00:29: Completed handshake with rtmp://live.justin.tv/app in 201 ms.
11:00:30: SO_SNDBUF was at 8192
11:00:30: SO_SNDBUF is now 65536
11:00:32: RTMPPublisher::Socketloop: Increasing send buffer to ISB 131072 (buffer: 20105 / 374784)
11:00:34: RTMPPublisher::Socketloop: Increasing send buffer to ISB 524288 (buffer: 0 / 374784)
11:12:21: SharedTexCapture hooked
11:51:48: Exit signal received, terminating capture
11:57:07: SharedTexCapture hooked
12:31:21: Exit signal received, terminating capture
12:31:45: Total frames encoded: 328638, total frames duplicated: 41472 (12.62%)
12:31:45: Number of frames skipped due to encoder lag: 6 (0.00%)
12:31:45: Total frames rendered: 318638, number of late frames: 2983 (0.94%) (it's okay for some frames to be late)
12:31:45: RTMPPublisher::SocketLoop: Graceful loop exit
12:31:45: Average send payload: 6584 bytes, average send interval: 17 ms
12:31:45: Number of times waited to send: 0, Waited for a total of 0 bytes
12:31:45: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
12:31:45: Number of bytes sent: 2010884634
12:31:45: 
12:31:45: Profiler time results:
12:31:45: 
12:31:45: ==============================================================
12:31:45: video thread frame - [100%] [avg time: 7.063 ms] [children: 98.8%] [unaccounted: 1.22%]
12:31:45: | scene->Preprocess - [98.8%] [avg time: 6.977 ms]
12:31:45: GPU download and conversion - [100%] [avg time: 1.419 ms] [children: 98.9%] [unaccounted: 1.13%]
12:31:45: | flush - [98%] [avg time: 1.391 ms]
12:31:45: | CopyResource - [0.634%] [avg time: 0.009 ms]
12:31:45: | conversion to 4:2:0 - [0.211%] [avg time: 0.003 ms]
12:31:45: Convert444Threads - [100%] [avg time: 0.488 ms] [children: 99.4%] [unaccounted: 0.615%]
12:31:45: | Convert444toNV12 - [99.4%] [avg time: 0.485 ms]
12:31:45: encoder thread frame - [100%] [avg time: 0.983 ms]
12:31:45: ==============================================================
12:31:45: 
12:31:45: 
12:31:45: Profiler CPU results:
12:31:45: 
12:31:45: ==============================================================
12:31:45: video thread frame - [cpu time: avg 3.487 ms, total 1.11116e+006 ms] [avg calls per frame: 1]
12:31:45: | scene->Preprocess - [cpu time: avg 3.417 ms, total 1.089e+006 ms] [avg calls per frame: 1]
12:31:45: GPU download and conversion - [cpu time: avg 0.097 ms, total 31013 ms] [avg calls per frame: 1]
12:31:45: | flush - [cpu time: avg 0.079 ms, total 25459.4 ms] [avg calls per frame: 1]
12:31:45: | CopyResource - [cpu time: avg 0.005 ms, total 1903.21 ms] [avg calls per frame: 1]
12:31:45: | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 780 ms] [avg calls per frame: 1]
12:31:45: Convert444Threads - [cpu time: avg 0.482 ms, total 307728 ms] [avg calls per frame: 2]
12:31:45: | Convert444toNV12 - [cpu time: avg 0.48 ms, total 306433 ms] [avg calls per frame: 2]
12:31:45: encoder thread frame - [cpu time: avg 0.333 ms, total 109669 ms] [avg calls per frame: 1]
12:31:45: ==============================================================
12:31:45: 
12:31:45: =====Stream End: 2013-10-12, 12:31:45=================================================


Last game capture log:
2013-10-12, 11:57:03: we're booting up: 
11:57:03: D3D9 Present
11:57:03: DXGI Present
11:57:04: NV Capture available
11:57:04: FBO available
11:57:04: GL Present
11:57:04: (half life scientist) everything..  seems to be in order
11:57:07: D3D9EndScene called
11:57:07: D3DPRESENT_PARAMETERS {
11:57:07: 	BackBufferWidth: 1920
11:57:07: 	BackBufferHeight: 1080
11:57:07: 	BackBufferFormat: D3DFMT_X8R8G8B8
11:57:07: 	BackBufferCount: 1
11:57:07: 	MultiSampleType: D3DMULTISAMPLE_NONE
11:57:07: 	MultiSampleQuality: 0
11:57:07: 	SwapEffect: D3DSWAPEFFECT_DISCARD
11:57:07: 	hDeviceWindow: 3540136
11:57:07: 	Windowed: true
11:57:07: 	EnableAutoDepthStencil: true
11:57:07: 	AutoDepthStencilFormat: D3DFMT_D24S8
11:57:07: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
11:57:07: 	FullScreen_RefreshRateInHz: 0
11:57:07: 	PresentationInterval: 0
11:57:07: };
11:57:07: successfully set up d3d9 hooks
11:57:07: D3D9Present called
11:57:07: DoD3D9GPUHook: success
11:57:07: D3DSURFACE_DESC {
11:57:07: 	Format: D3DFMT_X8R8G8B8
11:57:07: 	Type: D3DRTYPE_SURFACE
11:57:07: 	Usage: D3DUSAGE_RENDERTARGET 
11:57:07: 	Pool: D3DPOOL_DEFAULT
11:57:07: 	MultiSampleType: D3DMULTISAMPLE_NONE
11:57:07: 	MultiSampleQuality: 0
11:57:07: 	Width: 1920
11:57:07: 	Height: 1080
11:57:07: };
11:57:07: successfully capturing d3d9 frames via GPU
 

R1CH

Forum Admin
Developer
If you increase your bitrate it also increases the requirements for your viewers. You should reduce it if your viewers are experiencing lag, or try a different streaming provider. Also, don't use monitor capture.
 
Top