Question / Help Hello all, why am I occasionally stuttering?

rocslock

New Member
Example on League of Legends.

http://www.twitch.tv/rocslock/b/421485117


Go to around 5:10 in the video.


Im so confused!


I am around 51mb down and 12mb up.

Quality: 7
Downscale to 1.50(720)
30FPS cap
'Use CBR'
Bitrate: 3500
Buffer Size: 3500
'Use Custom Buffer'


AMD Phenom(tm) II X4 945 Processor 3.00 GHz
8mb RAM
Windows 7 64-Bit
Nvidia Gefore GTX 260
 

FerretBomb

Active Member
Post a logfile from your most recent streaming session. They're located in %appdata%\OBS\logs and timestamped with your streaming session date/time. That'll give us a lot more information about what's actually going on. Put it between 'code' tags to keep things tidy. :)
 

rocslock

New Member
Code:
14:57:07: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
14:57:07: -------------------------------
14:57:07: CPU Name: AMD Phenom(tm) II X4 945 Processor
14:57:07: CPU Speed: 3013MHz
14:57:07: Physical Memory:  8190MB Total, 5022MB Free
14:57:07: stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
14:57:07: monitor 1: pos={0, 0}, size={1920, 1080}
14:57:07: Windows Version: 6.1 Build 7601 S
14:57:07: Aero is Disabled
14:57:07: -------------------------------
14:57:07: OBS Modules:
14:57:07: Base Address     Module
14:57:07: 000000003F7A0000 OBS.exe
14:57:07: 00000000E34F0000 OBSApi.dll
14:57:07: 00000000FB330000 DShowPlugin.dll
14:57:07: 00000000F3C30000 GraphicsCapture.dll
14:57:07: 00000000FD160000 NoiseGate.dll
14:57:07: ------------------------------------------
14:57:07: Adapter 1
14:57:07:   Video Adapter: NVIDIA GeForce GTX 260
14:57:07:   Video Adapter Dedicated Video Memory: 911605760
14:57:07:   Video Adapter Shared System Memory: 3354996736
14:57:07: =====Stream Start: 2013-06-24, 14:57:07===============================================
14:57:07:   Multithreaded optimizations: On
14:57:07:   Base resolution: 1920x1080
14:57:07:   Output resolution: 1280x720
14:57:07: ------------------------------------------
14:57:07: Loading up D3D10...
14:57:08: Playback device Default
14:57:08: ------------------------------------------
14:57:08: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
14:57:08: ------------------------------------------
14:57:08: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
14:57:08: ------------------------------------------
14:57:08: Audio Encoding: AAC
14:57:08:     bitrate: 320
14:57:08: ------------------------------------------
14:57:08:     device: Logitech HD Webcam C310,
14:57:08:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
14:57:08:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
14:57:08:     audio device: Disable,
14:57:08:     audio device id Disabled,
14:57:08: 
14:57:08: Using directshow input
14:57:09: Using text output
14:57:09: Using graphics capture
14:57:09: ------------------------------------------
14:57:09: Video Encoding: x264
14:57:09:     fps: 30
14:57:09:     width: 1280, height: 720
14:57:09:     preset: veryfast
14:57:09:     CBR: yes
14:57:09:     CFR: no
14:57:09:     max bitrate: 4400
14:57:09: ------------------------------------------
14:57:11: Using RTMP service: Twitch / Justin.tv
14:57:11:   Server selection: rtmp://live-mia.justin.tv/app
14:57:13: SO_SNDBUF was at 8192
14:57:13: SO_SNDBUF is now 65536
14:57:24: Using Monitor Capture
14:57:25: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
14:58:01: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
14:58:16: Total frames rendered: 1625, number of frames that lagged: 1294 (79.63%) (it's okay for some frames to lag)
14:58:16: RTMPPublisher::SocketLoop: Aborting due to bStopping
14:58:16: Number of times waited to send: 15, Waited for a total of 58517 bytes
14:58:16: Number of b-frames dropped: 84 (5.7%), Number of p-frames dropped: 83 (5.6%), Total 167 (11%)
14:58:17: =====Stream End: 2013-06-24, 14:58:17=================================================
14:58:39: =====Stream Start: 2013-06-24, 14:58:39===============================================
14:58:39:   Multithreaded optimizations: On
14:58:39:   Base resolution: 1920x1080
14:58:39:   Output resolution: 1280x720
14:58:39: ------------------------------------------
14:58:39: Loading up D3D10...
14:58:39: Playback device Default
14:58:39: ------------------------------------------
14:58:39: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
14:58:39: ------------------------------------------
14:58:39: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
14:58:39: ------------------------------------------
14:58:39: Audio Encoding: AAC
14:58:39:     bitrate: 320
14:58:39: ------------------------------------------
14:58:39:     device: Logitech HD Webcam C310,
14:58:39:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
14:58:39:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
14:58:39:     audio device: Disable,
14:58:39:     audio device id Disabled,
14:58:39: 
14:58:40: Using directshow input
14:58:40: Using text output
14:58:40: Using graphics capture
14:58:40: Using Monitor Capture
14:58:40: ------------------------------------------
14:58:40: Video Encoding: x264
14:58:40:     fps: 30
14:58:40:     width: 1280, height: 720
14:58:40:     preset: veryfast
14:58:40:     CBR: yes
14:58:40:     CFR: no
14:58:40:     max bitrate: 3500
14:58:40: ------------------------------------------
14:58:42: Using RTMP service: Twitch / Justin.tv
14:58:42:   Server selection: rtmp://live-mia.justin.tv/app
14:58:44: SO_SNDBUF was at 8192
14:58:44: SO_SNDBUF is now 65536
15:03:20: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
15:07:13: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
16:05:03: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
16:06:35: SharedTexCapture hooked
16:30:19: Exit signal received, terminating capture
16:32:12: Using Monitor Capture
16:39:56: SharedTexCapture hooked
17:16:22: Exit signal received, terminating capture
17:23:29: SharedTexCapture hooked
17:52:59: Exit signal received, terminating capture
18:01:45: SharedTexCapture hooked
18:38:25: Exit signal received, terminating capture
18:43:28: SharedTexCapture hooked
18:44:14: GraphicsCaptureSource::NewCapture:  eliminating old capture
18:44:14: SharedTexCapture hooked
19:15:02: Exit signal received, terminating capture
19:15:50: Using Monitor Capture
19:57:49: Using graphics capture
19:57:53: SharedTexCapture hooked
20:30:05: Exit signal received, terminating capture
20:37:42: Using Monitor Capture
20:37:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:37:46:   New Scene
20:37:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:37:52:   New Scene
20:37:52: Using text output
20:37:52: Using graphics capture
20:37:52: Using Monitor Capture
20:38:03: Total frames rendered: 551396, number of frames that lagged: 236343 (42.86%) (it's okay for some frames to lag)
20:38:04: RTMPPublisher::SocketLoop: Aborting due to loop exit
20:38:04: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
20:38:04: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
20:38:04: Number of times waited to send: 115, Waited for a total of 433159 bytes
20:38:04: Number of b-frames dropped: 1536 (0.28%), Number of p-frames dropped: 1742 (0.32%), Total 3278 (0.59%)
20:38:04: =====Stream End: 2013-06-24, 20:38:04=================================================
20:38:06: =====Stream Start: 2013-06-24, 20:38:06===============================================
20:38:06:   Multithreaded optimizations: On
20:38:06:   Base resolution: 1920x1080
20:38:06:   Output resolution: 1280x720
20:38:06: ------------------------------------------
20:38:06: Loading up D3D10...
20:38:06: Playback device Default
20:38:06: ------------------------------------------
20:38:06: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
20:38:06: ------------------------------------------
20:38:06: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
20:38:06: ------------------------------------------
20:38:06: Audio Encoding: AAC
20:38:06:     bitrate: 320
20:38:06: ------------------------------------------
20:38:06:     device: Logitech HD Webcam C310,
20:38:06:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:38:06:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
20:38:06:     audio device: Disable,
20:38:06:     audio device id Disabled,
20:38:06: 
20:38:06: Using directshow input
20:38:07: Using text output
20:38:07: Using graphics capture
20:38:07: Using Monitor Capture
20:38:07: ------------------------------------------
20:38:07: Video Encoding: x264
20:38:07:     fps: 30
20:38:07:     width: 1280, height: 720
20:38:07:     preset: veryfast
20:38:07:     CBR: yes
20:38:07:     CFR: no
20:38:07:     max bitrate: 3500
20:38:07: ------------------------------------------
20:38:08: Total frames rendered: 28, number of frames that lagged: 12 (42.86%) (it's okay for some frames to lag)
20:38:09: =====Stream End: 2013-06-24, 20:38:09=================================================
20:38:10: =====Stream Start: 2013-06-24, 20:38:10===============================================
20:38:10:   Multithreaded optimizations: On
20:38:10:   Base resolution: 1920x1080
20:38:10:   Output resolution: 1280x720
20:38:10: ------------------------------------------
20:38:10: Loading up D3D10...
20:38:10: Playback device Default
20:38:10: ------------------------------------------
20:38:10: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
20:38:10: ------------------------------------------
20:38:10: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
20:38:10: ------------------------------------------
20:38:10: Audio Encoding: AAC
20:38:10:     bitrate: 320
20:38:10: ------------------------------------------
20:38:10:     device: Logitech HD Webcam C310,
20:38:10:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:38:10:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
20:38:10:     audio device: Disable,
20:38:10:     audio device id Disabled,
20:38:10: 
20:38:10: Using directshow input
20:38:11: Using text output
20:38:11: Using graphics capture
20:38:11: Using Monitor Capture
20:38:11: ------------------------------------------
20:38:11: Video Encoding: x264
20:38:11:     fps: 30
20:38:11:     width: 1280, height: 720
20:38:11:     preset: veryfast
20:38:11:     CBR: yes
20:38:11:     CFR: no
20:38:11:     max bitrate: 3500
20:38:11: ------------------------------------------
20:38:13: Using RTMP service: Twitch / Justin.tv
20:38:13:   Server selection: rtmp://live-mia.justin.tv/app
20:38:15: SO_SNDBUF was at 8192
20:38:15: SO_SNDBUF is now 65536
20:40:22: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
20:47:59: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
20:50:55: SharedTexCapture hooked
21:32:19: Exit signal received, terminating capture
21:33:13: Using Monitor Capture
21:39:07: SharedTexCapture hooked
22:06:36: Exit signal received, terminating capture
22:07:20: Using Monitor Capture
22:14:38: Total frames rendered: 167846, number of frames that lagged: 18228 (10.86%) (it's okay for some frames to lag)
22:14:38: RTMPPublisher::SocketLoop: Aborting due to bStopping
22:14:38: Number of times waited to send: 788, Waited for a total of 2901683 bytes
22:14:38: Number of b-frames dropped: 4432 (2.6%), Number of p-frames dropped: 5137 (3.1%), Total 9569 (5.7%)
22:14:38: =====Stream End: 2013-06-24, 22:14:38=================================================
22:14:41: =====Stream Start: 2013-06-24, 22:14:41===============================================
22:14:41:   Multithreaded optimizations: On
22:14:41:   Base resolution: 1920x1080
22:14:41:   Output resolution: 1280x720
22:14:41: ------------------------------------------
22:14:41: Loading up D3D10...
22:14:41: Playback device Default
22:14:41: ------------------------------------------
22:14:41: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
22:14:41: ------------------------------------------
22:14:41: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
22:14:41: ------------------------------------------
22:14:41: Audio Encoding: AAC
22:14:41:     bitrate: 320
22:14:41: ------------------------------------------
22:14:41:     device: Logitech HD Webcam C310,
22:14:41:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
22:14:41:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
22:14:41:     audio device: Disable,
22:14:41:     audio device id Disabled,
22:14:41: 
22:14:41: Using directshow input
22:14:42: Using text output
22:14:42: Using Monitor Capture
22:14:42: ------------------------------------------
22:14:42: Video Encoding: x264
22:14:42:     fps: 30
22:14:42:     width: 1280, height: 720
22:14:42:     preset: veryfast
22:14:42:     CBR: yes
22:14:42:     CFR: no
22:14:42:     max bitrate: 3500
22:14:42: ------------------------------------------
22:14:44: Using RTMP service: Twitch / Justin.tv
22:14:44:   Server selection: rtmp://live-mia.justin.tv/app
22:14:46: SO_SNDBUF was at 8192
22:14:46: SO_SNDBUF is now 65536
22:15:59: Using graphics capture
22:16:26: SharedTexCapture hooked
22:25:07: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
22:48:10: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
23:00:36: Exit signal received, terminating capture
23:00:40: Using Monitor Capture
Warning -- MMDeviceAudioSource::GetBuffer: GetNextPacketSize failed, result = 88890004
23:13:30: SharedTexCapture hooked
23:15:37: Total frames rendered: 107587, number of frames that lagged: 5811 (5.40%) (it's okay for some frames to lag)
23:15:37: RTMPPublisher::SocketLoop: Aborting due to bStopping
23:15:37: Number of times waited to send: 24, Waited for a total of 94514 bytes
23:15:37: Number of b-frames dropped: 49 (0.046%), Number of p-frames dropped: 67 (0.062%), Total 116 (0.11%)
23:15:37: =====Stream End: 2013-06-24, 23:15:37=================================================
23:15:40: =====Stream Start: 2013-06-24, 23:15:40===============================================
23:15:40:   Multithreaded optimizations: On
23:15:40:   Base resolution: 1920x1080
23:15:40:   Output resolution: 1280x720
23:15:40: ------------------------------------------
23:15:40: Loading up D3D10...
23:15:40: Playback device Default
23:15:40: ------------------------------------------
23:15:40: Using desktop audio input: Speakers (Siberia v2 Frost Blue)
23:15:40: ------------------------------------------
23:15:40: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
23:15:40: ------------------------------------------
23:15:40: Audio Encoding: AAC
23:15:40:     bitrate: 320
23:15:40: ------------------------------------------
23:15:40:     device: Logitech HD Webcam C310,
23:15:40:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&2ee19741&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
23:15:40:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
23:15:40:     audio device: Disable,
23:15:40:     audio device id Disabled,
23:15:40: 
23:15:40: Using directshow input
23:15:41: Using text output
23:15:41: Using graphics capture
23:15:41: Using Monitor Capture
23:15:41: ------------------------------------------
23:15:41: Video Encoding: x264
23:15:41:     fps: 30
23:15:41:     width: 1280, height: 720
23:15:41:     preset: veryfast
23:15:41:     CBR: yes
23:15:41:     CFR: no
23:15:41:     max bitrate: 3500
23:15:41: ------------------------------------------
23:15:41: SharedTexCapture hooked
23:15:43: Using RTMP service: Twitch / Justin.tv
23:15:43:   Server selection: rtmp://live-mia.justin.tv/app
23:15:45: SO_SNDBUF was at 8192
23:15:45: SO_SNDBUF is now 65536
23:16:44: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
23:18:48: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
23:46:52: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 524288
23:48:36: Exit signal received, terminating capture
23:53:09: SharedTexCapture hooked
00:28:53: Exit signal received, terminating capture
00:31:22: Using Monitor Capture
00:32:39: SharedTexCapture hooked
01:08:39: Exit signal received, terminating capture
01:14:27: Total frames rendered: 211618, number of frames that lagged: 5958 (2.82%) (it's okay for some frames to lag)
01:14:27: RTMPPublisher::SocketLoop: Aborting due to bStopping
01:14:27: Number of times waited to send: 362, Waited for a total of 1343260 bytes
01:14:27: Number of b-frames dropped: 2721 (1.3%), Number of p-frames dropped: 2935 (1.4%), Total 5656 (2.7%)
01:14:27: =====Stream End: 2013-06-25, 01:14:27=================================================
01:14:29: 
01:14:29: Profiler results:
01:14:29: 
01:14:29: ==============================================================
01:14:29: frame - [100%] [avg time: 21.903 ms] [avg calls per frame: 1] [children: 82.7%] [unaccounted: 17.3%]
01:14:29: | scene->Preprocess - [35.8%] [avg time: 7.852 ms] [avg calls per frame: 1]
01:14:29: | video encoding and uploading - [46.8%] [avg time: 10.258 ms] [avg calls per frame: 1] [children: 45.9%] [unaccounted: 0.936%]
01:14:29: | | CopyResource - [34.3%] [avg time: 7.522 ms] [avg calls per frame: 0]
01:14:29: | | conversion to 4:2:0 - [0.292%] [avg time: 0.064 ms] [avg calls per frame: 0]
01:14:29: | | call to encoder - [10.9%] [avg time: 2.396 ms] [avg calls per frame: 0]
01:14:29: | | sending stuff out - [0.324%] [avg time: 0.071 ms] [avg calls per frame: 0]
01:14:29: ==============================================================
01:14:29:
 

FerretBomb

Active Member
Short version: The Monitor Capture you're using is causing lagged frames. Stop it. Your bitrate is also set too high and you're dropping frames. Run the 6MB test at http://testmy.net/upload to find out what you ACTUALLY have available. More explanation down below.

If you're running LoL, you need one scene with a Window Capture for the launcher, and a second one with a Game Capture for the in-game executable (which is separate from the launcher). There's an auto-scene-switcher plugin that will detect the in-game exe starting up and change over, then back when it exits (if you set the Launcher scene as the 'default scene' in the plugin config).


Long version/other stuff:
1) Your bitrate is set MUCH higher than it needs to be, at 4400. Max bitrate should be at 3500kbps; the Twitch servers have issues with accepting more. (I see you fixed that in a later streaming restart, it may still be set too high and need to come down more)
2) You're using Monitor Capture. NEVER use Monitor Capture if you have any other option whatsoever; it's ridiculously super-slow, and causes a crap-ton of lagged frames (which look like stuttering).
3) You do NOT need AAC320; even AAC128 sounds awesome. You're frankly just wasting bitrate there. Drop it to 128. You won't even notice, and you'll have an extra 192kbps to devote to image clarity.


Also, run the 6MB test at http://testmy.net/upload which will give you an idea of the ACTUAL constant throughput you have available; speedtest.net and ISPs rate on 'dead file' transfer rates, which can run far below your rated speed and SPIKE now and then so it averages out over the course of the full file transfer... not useful for livestreaming, or multiplayer game network communication which rely on constant-rate. You'll want to run this a few times at various times of the day, to allow for network fluctuations and congestion.
 

rocslock

New Member
I went to that website and this is what was found.

Upload :: 8.3 Mbps 1 MB/s


Also, I have been using Game Capture for when I'm in game and switching Monitor capture off/on when I'm entering and exiting game so the viewers could see what I see.

Thanks for the response!
 
Top