Question / Help 5 Days of Frame Drops and Unstable Bitrates

Rexgar

New Member
Hi everyone! I've been doing A LOT of reading in the last 5 days and tried out a lot of different things and honestly, I'm not really sure what to do next so I'm posting here.

So far I've tried both Obs and Xsplit, (paid account, if that matters), I've lowered settings, I've lowered resolutions, I've tried 4 or 5 different twitch servers, nothing seems to be working.

Before all this I could stream all day every day with no issues, which makes me think it might be an ISP problem, my Upload is rated for "up to" 5mb, and normally that's what I got. I was able to stream with a bitrate of 2800, frame rate 30, quality 8, and I never EVER had a problem. Until 5 days ago.

Now it doesn't matter how low I put the settings, I can't even stream a completely blank screen without dropping 10-15% of my frames.

Thanks for any kind of help or advice you can offer.

This is a short 18 minute stream log from this morning, it was just me idling in D3 to test the connection. I lost about 26% of my frames.

Code:
    07:06:10: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
    07:06:10: -------------------------------
    07:06:10: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
    07:06:10: CPU Speed: 3292MHz
    07:06:10: Physical Memory:  4095MB Total, 4095MB Free
    07:06:10: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
    07:06:10: monitor 1: pos={0, 0}, size={1920, 1080}
    07:06:10: monitor 2: pos={1920, 0}, size={1280, 1024}
    07:06:10: Windows Version: 6.1 Build 7601 S
    07:06:10: Aero is Disabled
    07:06:10: -------------------------------
    07:06:10: OBS Modules:
    07:06:10: Base Address     Module
    07:06:10: 00070000         OBS.exe
    07:06:10: 5ED90000         OBSApi.dll
    07:06:10: 5EB50000         DShowPlugin.dll
    07:06:10: 61CC0000         GraphicsCapture.dll
    07:06:10: 5EB30000         NoiseGate.dll
    07:06:10: 5EB10000         PSVPlugin.dll
    07:06:10: ------------------------------------------
    07:06:10: Adapter 1
    07:06:10:   Video Adapter: NVIDIA GeForce GTX 560 Ti
    07:06:10:   Video Adapter Dedicated Video Memory: 1293352960
    07:06:10:   Video Adapter Shared System Memory: 2952343552
    07:06:10:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
    07:06:10:   Video Adapter Output 2: pos={1920, 0}, size={1280, 1024}, attached=true
    07:06:10: ------------------------------------------
    07:06:10: Adapter 2
    07:06:10:   Video Adapter: Intel(R) HD Graphics 3000
    07:06:10:   Video Adapter Dedicated Video Memory: 67108864
    07:06:10:   Video Adapter Shared System Memory: 1711276032
    07:06:10: Using fixed low latency mode, factor 20
    07:06:10: =====Stream Start: 2013-12-04, 07:06:10===============================================
    07:06:10:   Multithreaded optimizations: On
    07:06:10:   Base resolution: 1920x1080
    07:06:10:   Output resolution: 1280x720
    07:06:10: ------------------------------------------
    07:06:10: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti...
    07:06:10: ------------------------------------------
    07:06:10: Audio Format: 48000hz
    07:06:10: Playback device Default
    07:06:10: ------------------------------------------
    07:06:10: Using desktop audio input: Speakers (Realtek High Definition Audio)
    07:06:10: ------------------------------------------
    07:06:10: Using auxilary audio input: Microphone (Realtek High Definition Audio)
    07:06:10: ------------------------------------------
    07:06:10: Audio Encoding: AAC
    07:06:10:     bitrate: 128
    07:06:10: Scene buffering time set to 400
    07:06:10: ------------------------------------------
    07:06:10: Video Encoding: x264
    07:06:10:     fps: 24
    07:06:10:     width: 1280, height: 720
    07:06:10:     preset: veryfast
    07:06:10:     profile: high
    07:06:10:     keyint: 48
    07:06:10:     CBR: yes
    07:06:10:     CFR: yes
    07:06:10:     max bitrate: 1000
    07:06:10:     buffer size: 1000
    07:06:10: ------------------------------------------
    07:06:10: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
    07:06:10: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
    07:06:12: Using RTMP service: Twitch / Justin.tv
    07:06:12:   Server selection: rtmp://live-jfk.justin.tv/app
    07:06:12:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
    07:06:13: Completed handshake with rtmp://live-jfk.justin.tv/app in 230 ms.
    07:06:13: SO_SNDBUF was at 8192
    07:06:13: SO_SNDBUF is now 65536
    07:08:18: RTMPPublisher::SocketLoop: Stalled for 6915 ms to write 8021 bytes (buffer: 136245 / 144384), unstable connection?
    07:11:23: RTMPPublisher::SocketLoop: Stalled for 1868 ms to write 8021 bytes (buffer: 134828 / 144384), unstable connection?
    07:11:42: RTMPPublisher::SocketLoop: Stalled for 4895 ms to write 8021 bytes (buffer: 136331 / 144384), unstable connection?
    07:12:53: RTMPPublisher::SocketLoop: Stalled for 2119 ms to write 8021 bytes (buffer: 136241 / 144384), unstable connection?
    07:16:22: RTMPPublisher::SocketLoop: Stalled for 2151 ms to write 8021 bytes (buffer: 135010 / 144384), unstable connection?
    07:16:43: RTMPPublisher::SocketLoop: Stalled for 2198 ms to write 8021 bytes (buffer: 136252 / 144384), unstable connection?
    07:19:37: RTMPPublisher::SocketLoop: Stalled for 1908 ms to write 8021 bytes (buffer: 133475 / 144384), unstable connection?
    07:23:14: Using Monitor Capture
    07:23:52: ------------------------------------------
    07:23:52:     device: Logitech HD Pro Webcam C920,
    07:23:52:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&8911262&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    07:23:52:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000
    07:23:52:     use buffering: false - 0, fourCC: 'I420'
    07:23:52:     audio device: Disable,
    07:23:52:     audio device id Disabled,
    07:23:52:
    07:23:52: Using directshow input
    07:23:56: RTMPPublisher::SocketLoop: Stalled for 1807 ms to write 8021 bytes (buffer: 135869 / 144384), unstable connection?
    07:23:58: RTMPPublisher::SocketLoop: Stalled for 1560 ms to write 8021 bytes (buffer: 134397 / 144384), unstable connection?
    07:25:01: ------------------------------------------
    07:25:01:     device: Logitech HD Pro Webcam C920,
    07:25:01:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&8911262&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    07:25:01:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000
    07:25:01:     use buffering: false - 0, fourCC: 'I420'
    07:25:01:     audio device: Disable,
    07:25:01:     audio device id Disabled,
    07:25:01:
    07:26:18: RTMPPublisher::SocketLoop: Stalled for 4649 ms to write 8021 bytes (buffer: 136282 / 144384), unstable connection?
    07:26:39: RTMPPublisher::SocketLoop: Stalled for 4549 ms to write 8021 bytes (buffer: 136137 / 144384), unstable connection?
    07:27:36: Using graphics capture
    07:27:40: SharedTexCapture hooked
    07:28:12: Total frames encoded: 31713, total frames duplicated: 158 (0.50%)
    07:28:12: Total frames rendered: 31641, number of late frames: 15 (0.05%) (it's okay for some frames to be late)
    07:28:13: RTMPPublisher::SocketLoop: Graceful loop exit
    07:28:14: Average send payload: 7857 bytes, average send interval: 63 ms
    07:28:14: Number of times waited to send: 6368, Waited for a total of 19258916 bytes
    07:28:14: Number of b-frames dropped: 2744 (8.7%), Number of p-frames dropped: 2270 (7.2%), Total 5014 (16%)
    07:28:14: Number of bytes sent: 163673352
    07:28:14:
    07:28:14: Profiler time results:
    07:28:14:
    07:28:14: ==============================================================
    07:28:14: video thread frame - [100%] [avg time: 1.949 ms] [children: 61.8%] [unaccounted: 38.2%]
    07:28:14: | scene->Preprocess - [50.4%] [avg time: 0.983 ms]
    07:28:14: | GPU download and conversion - [11.3%] [avg time: 0.221 ms] [children: 6.72%] [unaccounted: 4.62%]
    07:28:14: | | flush - [4.26%] [avg time: 0.083 ms]
    07:28:14: | | CopyResource - [1.8%] [avg time: 0.035 ms]
    07:28:14: | | conversion to 4:2:0 - [0.667%] [avg time: 0.013 ms]
    07:28:14: Convert444Threads - [100%] [avg time: 0.662 ms] [children: 98.3%] [unaccounted: 1.66%]
    07:28:14: | Convert444toNV12 - [98.3%] [avg time: 0.651 ms]
    07:28:14: encoder thread frame - [100%] [avg time: 1.256 ms]
    07:28:14: ==============================================================
    07:28:14:
    07:28:14:
    07:28:14: Profiler CPU results:
    07:28:14:
    07:28:14: ==============================================================
    07:28:14: video thread frame - [cpu time: avg 1.19 ms, total 37674.2 ms] [avg calls per frame: 1]
    07:28:14: | scene->Preprocess - [cpu time: avg 0.73 ms, total 23103.8 ms] [avg calls per frame: 1]
    07:28:14: | GPU download and conversion - [cpu time: avg 0.071 ms, total 2277.61 ms] [avg calls per frame: 1]
    07:28:14: | | flush - [cpu time: avg 0.03 ms, total 967.206 ms] [avg calls per frame: 1]
    07:28:14: | | CopyResource - [cpu time: avg 0.03 ms, total 951.606 ms] [avg calls per frame: 1]
    07:28:14: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 31.2 ms] [avg calls per frame: 1]
    07:28:14: Convert444Threads - [cpu time: avg 0.479 ms, total 30326.6 ms] [avg calls per frame: 2]
    07:28:14: | Convert444toNV12 - [cpu time: avg 0.475 ms, total 30092.6 ms] [avg calls per frame: 2]
    07:28:14: encoder thread frame - [cpu time: avg 0.773 ms, total 24507.8 ms] [avg calls per frame: 1]
    07:28:14: ==============================================================
    07:28:14:
    07:28:14: =====Stream End: 2013-12-04, 07:28:14=================================================
    07:28:55: Using fixed low latency mode, factor 20
    07:28:55: =====Stream Start: 2013-12-04, 07:28:55===============================================
    07:28:55:   Multithreaded optimizations: On
    07:28:55:   Base resolution: 1920x1080
    07:28:55:   Output resolution: 1280x720
    07:28:55: ------------------------------------------
    07:28:55: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti...
    07:28:55: ------------------------------------------
    07:28:55: Audio Format: 48000hz
    07:28:55: Playback device Default
    07:28:55: ------------------------------------------
    07:28:55: Using desktop audio input: Speakers (Realtek High Definition Audio)
    07:28:55: ------------------------------------------
    07:28:55: Using auxilary audio input: Microphone (Realtek High Definition Audio)
    07:28:55: ------------------------------------------
    07:28:55: Audio Encoding: AAC
    07:28:55:     bitrate: 128
    07:28:55: ------------------------------------------
    07:28:55:     device: Logitech HD Pro Webcam C920,
    07:28:55:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&8911262&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
    07:28:55:     chosen type: I420, usingFourCC: false, res: 1920x1080 - 1920x1080, frameIntervals: 333333-2000000
    07:28:55:     use buffering: false - 0, fourCC: 'I420'
    07:28:55:     audio device: Disable,
    07:28:55:     audio device id Disabled,
    07:28:55:
    07:28:55: Using directshow input
    07:28:55: Using graphics capture
    07:28:55: Scene buffering time set to 400
    07:28:55: ------------------------------------------
    07:28:55: Video Encoding: x264
    07:28:55:     fps: 24
    07:28:55:     width: 1280, height: 720
    07:28:55:     preset: veryfast
    07:28:55:     profile: high
    07:28:55:     keyint: 48
    07:28:55:     CBR: yes
    07:28:55:     CFR: yes
    07:28:55:     max bitrate: 1000
    07:28:55:     buffer size: 1000
    07:28:55: ------------------------------------------
    07:28:55: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
    07:28:55: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 352800, samples per sec is 44100
    07:28:55: SharedTexCapture hooked
    07:28:57: Using RTMP service: Twitch / Justin.tv
    07:28:57:   Server selection: rtmp://live-jfk.justin.tv/app
    07:28:57:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
    07:28:57: Completed handshake with rtmp://live-jfk.justin.tv/app in 272 ms.
    07:28:58: SO_SNDBUF was at 8192
    07:28:58: SO_SNDBUF is now 65536
    07:31:04: RTMPPublisher::SocketLoop: Stalled for 1656 ms to write 8021 bytes (buffer: 136173 / 144384), unstable connection?
    07:31:09: RTMPPublisher::SocketLoop: Stalled for 2166 ms to write 8021 bytes (buffer: 134639 / 144384), unstable connection?
    07:31:18: RTMPPublisher::SocketLoop: Stalled for 2044 ms to write 8021 bytes (buffer: 136298 / 144384), unstable connection?
    07:37:50: RTMPPublisher::SocketLoop: Stalled for 1961 ms to write 8021 bytes (buffer: 135047 / 144384), unstable connection?
    07:39:24: RTMPPublisher::SocketLoop: Stalled for 3113 ms to write 8021 bytes (buffer: 135987 / 144384), unstable connection?
    07:42:27: RTMPPublisher::SocketLoop: Stalled for 1891 ms to write 8021 bytes (buffer: 134534 / 144384), unstable connection?
    07:43:09: RTMPPublisher::SocketLoop: Stalled for 2189 ms to write 8021 bytes (buffer: 135510 / 144384), unstable connection?
    07:44:44: RTMPPublisher::SocketLoop: Stalled for 2894 ms to write 8021 bytes (buffer: 136153 / 144384), unstable connection?
    07:47:07: Total frames encoded: 26179, total frames duplicated: 8 (0.03%)
    07:47:07: Total frames rendered: 26180, number of late frames: 2 (0.01%) (it's okay for some frames to be late)
    07:47:08: RTMPPublisher::SocketLoop: Graceful loop exit
    07:47:09: Average send payload: 7919 bytes, average send interval: 66 ms
    07:47:09: Number of times waited to send: 5859, Waited for a total of 18225474 bytes
    07:47:09: Number of b-frames dropped: 3521 (13%), Number of p-frames dropped: 3245 (12%), Total 6766 (26%)
    07:47:09: Number of bytes sent: 130065860
    07:47:09:
    07:47:09: Profiler time results:
    07:47:09:
    07:47:09: ==============================================================
    07:47:09: video thread frame - [100%] [avg time: 3.176 ms] [children: 63.5%] [unaccounted: 36.5%]
    07:47:09: | scene->Preprocess - [44%] [avg time: 1.399 ms]
    07:47:09: | GPU download and conversion - [19.5%] [avg time: 0.619 ms] [children: 12.8%] [unaccounted: 6.64%]
    07:47:09: | | flush - [10.4%] [avg time: 0.33 ms]
    07:47:09: | | CopyResource - [2.17%] [avg time: 0.069 ms]
    07:47:09: | | conversion to 4:2:0 - [0.283%] [avg time: 0.009 ms]
    07:47:09: Convert444Threads - [100%] [avg time: 0.682 ms] [children: 98.2%] [unaccounted: 1.76%]
    07:47:09: | Convert444toNV12 - [98.2%] [avg time: 0.67 ms]
    07:47:09: encoder thread frame - [100%] [avg time: 0.895 ms]
    07:47:09: ==============================================================
    07:47:09:
    07:47:09:
    07:47:09: Profiler CPU results:
    07:47:09:
    07:47:09: ==============================================================
    07:47:09: video thread frame - [cpu time: avg 1.922 ms, total 50341.5 ms] [avg calls per frame: 1]
    07:47:09: | scene->Preprocess - [cpu time: avg 1.071 ms, total 28064.6 ms] [avg calls per frame: 1]
    07:47:09: | GPU download and conversion - [cpu time: avg 0.142 ms, total 3728.43 ms] [avg calls per frame: 1]
    07:47:09: | | flush - [cpu time: avg 0.051 ms, total 1341.61 ms] [avg calls per frame: 1]
    07:47:09: | | CopyResource - [cpu time: avg 0.047 ms, total 1248.01 ms] [avg calls per frame: 1]
    07:47:09: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 62.401 ms] [avg calls per frame: 1]
    07:47:09: Convert444Threads - [cpu time: avg 0.657 ms, total 34398.2 ms] [avg calls per frame: 2]
    07:47:09: | Convert444toNV12 - [cpu time: avg 0.648 ms, total 33914.6 ms] [avg calls per frame: 2]
    07:47:09: encoder thread frame - [cpu time: avg 0.231 ms, total 6068.44 ms] [avg calls per frame: 1]
    07:47:09: ==============================================================
    07:47:09:
    07:47:09: =====Stream End: 2013-12-04, 07:47:09=================================================
 
Top