Question / Help stutters bad when streaming

cottonmouth

New Member
when i watch the stream playback on twitch it stutters badly, a month or 2 ago my stream was very good quality
but when i return to stream some weeks later, there is stuttering and it shows in recordings aswell
can someone more knowledgeable point me to the problem
latest logfile:



19:43:31: Open Broadcaster Software v0.656b - 32bit (´・ω・`)
19:43:31: -------------------------------
19:43:31: CPU Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
19:43:31: CPU Speed: 3410MHz
19:43:31: Physical Memory: 4095MB Total, 2080MB Free
19:43:31: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:43:31: monitor 1: pos={0, 0}, size={1920, 1080}
19:43:31: Windows Version: 6.1 Build 7601 (revision 19135)
19:43:31: Aero is Enabled
19:43:31: -------------------------------
19:43:31: OBS Modules:
19:43:31: Base Address Module
19:43:31: 00110000 OBS.exe
19:43:31: 54640000 OBSApi.dll
19:43:31: 57BA0000 DShowPlugin.dll
19:43:31: 57B70000 GraphicsCapture.dll
19:43:31: 57B40000 NoiseGate.dll
19:43:31: 57B20000 PSVPlugin.dll
19:43:31: 57B00000 scenesw.dll
19:43:31: ------------------------------------------
19:43:31: Adapter 1
19:43:31: Video Adapter: NVIDIA GeForce GTX 780
19:43:31: Video Adapter Dedicated Video Memory: 3160080384
19:43:31: Video Adapter Shared System Memory: 1134821376
19:43:31: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:43:31: =====Stream Start: 2016-03-03, 19:43:31===============================================
19:43:31: Multithreaded optimizations: On
19:43:31: Base resolution: 1920x1080
19:43:31: Output resolution: 1920x1080
19:43:31: ------------------------------------------
19:43:31: Loading up D3D10 on NVIDIA GeForce GTX 780 (Adapter 1)...
19:43:31: ------------------------------------------
19:43:31: Audio Format: 48000 Hz
19:43:31: ------------------------------------------
19:43:31: Audio Channels: 2 Ch
19:43:31: Playback device Default
19:43:31: ------------------------------------------
19:43:31: Using desktop audio input: Speakers (Plantronics GameCom 780)
19:43:31: Global Audio time adjust: 0
19:43:31: Using 5.1 surround speaker setup
19:43:31: ------------------------------------------
19:43:31: Using auxilary audio input: Microphone (Plantronics GameCom 780)
19:43:31: Mic time offset: 0
19:43:31: ------------------------------------------
19:43:31: Audio Encoding: AAC
19:43:31: bitrate: 128
19:43:31: Using graphics capture
19:43:31: Using anti-cheat hooking for game capture
19:43:31: Scene buffering time set to 700
19:43:31: Using custom x264 settings: "crf=20"
19:43:31: x264: VBV maxrate specified, but no bufsize, ignored
19:43:31: ------------------------------------------
19:43:31: Video Encoding: x264
19:43:31: fps: 30
19:43:31: width: 1920, height: 1080
19:43:31: preset: veryfast
19:43:31: profile: main
19:43:31: keyint: 60
19:43:31: CBR: yes
19:43:31: CFR: yes
19:43:31: max bitrate: 1000
19:43:31: buffer size: 0
19:43:31: ------------------------------------------
19:43:32: Using RTMP service: Twitch
19:43:32: Server selection: rtmp://live-lhr.twitch.tv/app
19:43:33: Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
19:43:33: Completed handshake with rtmp://live-lhr.twitch.tv/app in 614 ms.
19:43:34: SO_SNDBUF was at 8192
19:43:34: SO_SNDBUF is now 65536
19:43:39: Trying to hook process: GTA5.exe
19:43:42: SharedTexCapture hooked
20:08:52: FlushBufferedVideo: Flushing 6 packets over 166 ms
20:08:52: Total frames encoded: 45609, total frames duplicated: 219 (0.48%)
20:08:52: Total frames rendered: 45509, number of late frames: 22 (0.05%) (it's okay for some frames to be late)
20:08:52:
20:08:52: Profiler time results:
20:08:52:
20:08:52: ==============================================================
20:08:52: video thread frame - [100%] [avg time: 1.094 ms] [children: 40.8%] [unaccounted: 59.2%]
20:08:52: | scene->Preprocess - [0.366%] [avg time: 0.004 ms]
20:08:52: | GPU download and conversion - [40.4%] [avg time: 0.442 ms] [children: 35.3%] [unaccounted: 5.12%]
20:08:52: | | flush - [34.3%] [avg time: 0.375 ms]
20:08:52: | | CopyResource - [0.64%] [avg time: 0.007 ms]
20:08:52: | | conversion to 4:2:0 - [0.366%] [avg time: 0.004 ms]
20:08:52: Convert444Threads - [100%] [avg time: 1.123 ms] [children: 97.6%] [unaccounted: 2.4%]
20:08:52: | Convert444toNV12 - [97.6%] [avg time: 1.096 ms]
20:08:52: encoder thread frame - [100%] [avg time: 2.583 ms] [children: 5.27%] [unaccounted: 94.7%]
20:08:52: | sending stuff out - [5.27%] [avg time: 0.136 ms]
20:08:52: ==============================================================
20:08:52:
20:08:52:
20:08:52: Profiler CPU results:
20:08:52:
20:08:52: ==============================================================
20:08:52: video thread frame - [cpu time: avg 0.164 ms, total 7472.45 ms] [avg calls per frame: 1]
20:08:52: | scene->Preprocess - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
20:08:52: | GPU download and conversion - [cpu time: avg 0.065 ms, total 2995.22 ms] [avg calls per frame: 1]
20:08:52: | | flush - [cpu time: avg 0.053 ms, total 2418.02 ms] [avg calls per frame: 1]
20:08:52: | | CopyResource - [cpu time: avg 0.003 ms, total 156 ms] [avg calls per frame: 1]
20:08:52: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 93.6 ms] [avg calls per frame: 1]
20:08:52: Convert444Threads - [cpu time: avg 1.088 ms, total 99060.6 ms] [avg calls per frame: 2]
20:08:52: | Convert444toNV12 - [cpu time: avg 1.083 ms, total 98592.6 ms] [avg calls per frame: 2]
20:08:52: encoder thread frame - [cpu time: avg 1.827 ms, total 83335.7 ms] [avg calls per frame: 1]
20:08:52: | sending stuff out - [cpu time: avg 0.077 ms, total 3525.62 ms] [avg calls per frame: 1]
20:08:52: ==============================================================
20:08:52:
20:08:52: =====Stream End: 2016-03-03, 20:08:52=================================================
20:08:52: ~RTMPPublisher: Packet flush completed in 114 ms
20:08:52: ~RTMPPublisher: Send thread terminated in 0 ms
20:08:52: RTMPPublisher::SocketLoop: Graceful loop exit
20:08:52: ~RTMPPublisher: Socket thread terminated in 0 ms
20:08:57: ~RTMPPublisher: Final socket shutdown completed in 5012 ms
20:08:57: Average send payload: 22696 bytes, average send interval: 20 ms
20:08:57: Number of times waited to send: 5710, Waited for a total of 23001286 bytes
20:08:57: Number of b-frames dropped: 1356 (3%), Number of p-frames dropped: 2935 (6.4%), Total 4291 (9.4%)
20:08:57: Number of bytes sent: 1653522080
20:09:58: Terminating 0x1a14
20:09:58: Terminating 0x139c


Last game capture log:
2016-03-03, 19:43:40: we're booting up:
19:43:40: CaptureThread: attached to process GTA5.exe
19:43:40: D3D9 Present
19:43:40: DXGI Present
19:43:40: GL Present
19:43:40: DirectDraw Present
19:43:40: (half life scientist) everything.. seems to be in order
19:43:40: DXGI: Found D3D 11
19:43:40: setting up d3d11 data
19:43:40: ---------------------- Cleared D3D11 Capture ----------------------
19:43:40: found dxgi format (dx11) of: 87, size: {1920, 1080}, multisampled: false
19:43:42: DoD3D11Hook: success
19:43:43: successfully capturing d3d11 frames via GPU
 

FerretBomb

Active Member
Those are local-recording-only settings.
Not surprising that it's having a problem, as those should NEVER be used for streaming due to the bitrates it allows OBS to use, which aren't feasible when sending video anywhere other than the local hard drive (or across a gigabit LAN to a local encoder box).

720p@30fps, 2000kbps bitrate, no custom buffer, x264 Veryfast preset, and remove the custom x264 settings.
 
Top