Question / Help Bizzare issue with dropped frames

AndehX

Member
So I was streaming from my laptop to twitch tonight for an hour and half, and suddenly OBS crapped out and froze.
So I restarted it, and after starting the stream, I noticed I was immediately dropping frames, and the bitrate bar was red.
It's been doing this for the past hour now and I have no idea why. I even tried OBS on my main PC and the exact same thing was happening, which led me to believe that it was an issue with my ISP. Maybe throttling or something.

So I figured I would check ShaperProbe, which claimed there was no traffic shaping. I also tried streaming from Xsplit, and to my surprise, it worked without any issues. So this leads me to believe that OBS has some kind of fault when it comes to my internet, or network settings. I am currently unable to stream using OBS because of this, yet I can stream fine through xsplit. I am one unhappy bunny :(
 

AndehX

Member
theres quite a few of them, but here is one

Code:
01:46:39: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
01:46:39: -------------------------------
01:46:39: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
01:46:39: CPU Speed: 3500MHz
01:46:39: Physical Memory:  4095MB Total, 4095MB Free
01:46:39: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
01:46:39: monitor 1: pos={0, 0}, size={1920, 1080}
01:46:39: monitor 2: pos={1920, 0}, size={1920, 1080}
01:46:39: monitor 3: pos={-1920, 0}, size={1920, 1080}
01:46:39: Windows Version: 6.1 Build 7601 S
01:46:39: Aero is Disabled
01:46:39: -------------------------------
01:46:39: OBS Modules:
01:46:39: Base Address     Module
01:46:39: 01350000         OBS.exe
01:46:39: 623A0000         OBSApi.dll
01:46:39: 62160000         DShowPlugin.dll
01:46:39: 652B0000         GraphicsCapture.dll
01:46:39: 62140000         NoiseGate.dll
01:46:39: 62120000         PSVPlugin.dll
01:46:39: ------------------------------------------
01:46:39: Adapter 1
01:46:39:   Video Adapter: NVIDIA GeForce GTX 770
01:46:39:   Video Adapter Dedicated Video Memory: 2087387136
01:46:39:   Video Adapter Shared System Memory: 2147807232
01:46:39:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
01:46:39:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
01:46:39: ------------------------------------------
01:46:39: Adapter 2
01:46:39:   Video Adapter: Intel(R) HD Graphics 4000
01:46:39:   Video Adapter Dedicated Video Memory: 67108864
01:46:39:   Video Adapter Shared System Memory: 1711276032
01:46:39:   Video Adapter Output 1: pos={-1920, 0}, size={1920, 1080}, attached=true
01:46:39: =====Stream Start: 2014-01-24, 01:46:39===============================================
01:46:39:   Multithreaded optimizations: On
01:46:39:   Base resolution: 1920x1080
01:46:39:   Output resolution: 1280x720
01:46:39: ------------------------------------------
01:46:39: Loading up D3D10 on NVIDIA GeForce GTX 770 (Adapter 1)...
01:46:39: ------------------------------------------
01:46:39: Audio Format: 44100hz
01:46:39: Playback device {0.0.0.00000000}.{429f5ca5-d3ab-4184-935a-9c301b1ff3fa}
01:46:39: ------------------------------------------
01:46:39: Using desktop audio input: Headset Earphone (ASTRO MixAmp Pro           )
01:46:39: ------------------------------------------
01:46:39: Using auxilary audio input: Headset Microphone (ASTRO MixAmp Pro           )
01:46:39: ------------------------------------------
01:46:39: Audio Encoding: AAC
01:46:39:     bitrate: 128
Warning -- DShowPlugin: Could not create device filter
01:46:39: Using directshow input
01:46:39: Using bitmap image
01:46:39: Using graphics capture
01:46:39: Using Monitor Capture
01:46:39: Scene buffering time set to 400
01:46:39: Found QSV hardware support
01:46:39: ------------------------------------------
01:46:39: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE3 | MFX_IMPL_VIA_D3D9)
01:46:39: Using 13 bitstreams and 16 frame buffers
01:46:39: ------------------------------------------
01:46:39: Video Encoding: QSV
01:46:39:     fps: 60
01:46:39:     width: 1280, height: 720
01:46:39:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
01:46:39:     CBR: yes
01:46:39:     CFR: yes
01:46:39:     max bitrate: 3000
01:46:39: ------------------------------------------
01:46:39: MMDeviceAudioSource: Frequency for device 'Headset Earphone (ASTRO MixAmp Pro           )' is 384000, samples per sec is 48000
01:46:39: MMDeviceAudioSource: Frequency for device 'Headset Microphone (ASTRO MixAmp Pro           )' is 192000, samples per sec is 48000
01:46:40: Using RTMP service: Twitch / Justin.tv
01:46:40:   Server selection: rtmp://live-lhr.justin.tv/app
01:46:40:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
01:46:41: Completed handshake with rtmp://live-lhr.justin.tv/app in 407 ms.
01:46:44: SO_SNDBUF was at 8192
01:46:44: SO_SNDBUF is now 65536
01:46:47: RTMPPublisher::SocketLoop: Stalled for 2124 ms to write 396935 bytes (buffer: 0 / 400384), unstable connection?
01:46:48: RTMPPublisher::SocketLoop: Stalled for 1943 ms to write 400382 bytes (buffer: 0 / 400384), unstable connection?
01:46:53: Total frames encoded: 815, total frames duplicated: 2 (0.25%)
01:46:53: Total frames rendered: 823, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
01:47:06: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
01:47:06: Average send payload: 173598 bytes, average send interval: 816 ms
01:47:06: Number of times waited to send: 4, Waited for a total of 14472 bytes
01:47:06: Number of b-frames dropped: 182 (33%), Number of p-frames dropped: 24 (4.4%), Total 206 (38%)
01:47:06: Number of bytes sent: 867991
01:47:07: 
01:47:07: Profiler time results:
01:47:07: 
01:47:07: ==============================================================
01:47:07: video thread frame - [100%] [avg time: 2.304 ms] [children: 81.3%] [unaccounted: 18.7%]
01:47:07: | scene->Preprocess - [76.3%] [avg time: 1.757 ms]
01:47:07: | GPU download and conversion - [5.08%] [avg time: 0.117 ms] [children: 3.3%] [unaccounted: 1.78%]
01:47:07: | | flush - [2.69%] [avg time: 0.062 ms]
01:47:07: | | CopyResource - [0.434%] [avg time: 0.01 ms]
01:47:07: | | conversion to 4:2:0 - [0.174%] [avg time: 0.004 ms]
01:47:07: Convert444Threads - [100%] [avg time: 0.417 ms] [children: 99%] [unaccounted: 0.959%]
01:47:07: | Convert444toNV12 - [99%] [avg time: 0.413 ms]
01:47:07: encoder thread frame - [100%] [avg time: 0.067 ms] [children: 65.7%] [unaccounted: 34.3%]
01:47:07: | QueueEncodeTask - [10.4%] [avg time: 0.007 ms]
01:47:07: | ProcessEncodedFrame - [55.2%] [avg time: 0.037 ms]
01:47:07: ==============================================================
01:47:07: 
01:47:07: 
01:47:07: Profiler CPU results:
01:47:07: 
01:47:07: ==============================================================
01:47:07: video thread frame - [cpu time: avg 1.99 ms, total 1638.01 ms] [avg calls per frame: 1]
01:47:07: | scene->Preprocess - [cpu time: avg 0.985 ms, total 811.205 ms] [avg calls per frame: 1]
01:47:07: | GPU download and conversion - [cpu time: avg 0.018 ms, total 15.6 ms] [avg calls per frame: 1]
01:47:07: | | flush - [cpu time: avg 0.018 ms, total 15.6 ms] [avg calls per frame: 1]
01:47:07: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:47:07: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:47:07: Convert444Threads - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 2]
01:47:07: | Convert444toNV12 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 2]
01:47:07: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:47:07: | QueueEncodeTask - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:47:07: | ProcessEncodedFrame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
01:47:07: ==============================================================
01:47:07: 
01:47:07: =====Stream End: 2014-01-24, 01:47:07=================================================
 

AndehX

Member
and another

Code:
01:48:38: CUDA loaded successfully
01:48:38: 1 CUDA capable devices found
01:48:38: [ GPU #0 - < GeForce GTX 770 > has Compute SM 3.0, NVENC Available ]
01:48:42: Open Broadcaster Software v0.60b test build 9 - 64bit ( ^ω^)
01:48:42: -------------------------------
01:48:42: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
01:48:42: CPU Speed: 3500MHz
01:48:42: Physical Memory:  8064MB Total, 5029MB Free
01:48:42: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
01:48:42: monitor 1: pos={0, 0}, size={1920, 1080}
01:48:42: monitor 2: pos={1920, 0}, size={1920, 1080}
01:48:42: monitor 3: pos={-1920, 0}, size={1920, 1080}
01:48:42: Windows Version: 6.1 Build 7601 S
01:48:42: Aero is Disabled
01:48:42: -------------------------------
01:48:42: OBS Modules:
01:48:42: Base Address     Module
01:48:42: 000000003FB90000 OBS.exe
01:48:42: 00000000DE530000 OBSApi.dll
01:48:42: 00000000F32F0000 DShowPlugin.dll
01:48:42: 00000000F2CE0000 GraphicsCapture.dll
01:48:42: 00000000F3200000 NoiseGate.dll
01:48:42: 00000000F2CC0000 PSVPlugin.dll
01:48:42: ------------------------------------------
01:48:42: Adapter 1
01:48:42:   Video Adapter: NVIDIA GeForce GTX 770
01:48:42:   Video Adapter Dedicated Video Memory: 2087387136
01:48:42:   Video Adapter Shared System Memory: 2147807232
01:48:42:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
01:48:42:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
01:48:42: ------------------------------------------
01:48:42: Adapter 2
01:48:42:   Video Adapter: Intel(R) HD Graphics 4000
01:48:42:   Video Adapter Dedicated Video Memory: 67108864
01:48:42:   Video Adapter Shared System Memory: 1711276032
01:48:42:   Video Adapter Output 1: pos={-1920, 0}, size={1920, 1080}, attached=true
01:48:42: =====Stream Start: 2014-01-24, 01:48:42===============================================
01:48:42:   Multithreaded optimizations: On
01:48:42:   Base resolution: 1920x1080
01:48:42:   Output resolution: 1280x720
01:48:42: ------------------------------------------
01:48:42: Loading up D3D10 on NVIDIA GeForce GTX 770 (Adapter 1)...
01:48:42: ------------------------------------------
01:48:42: Audio Format: 44100hz
01:48:42: Playback device {0.0.0.00000000}.{429f5ca5-d3ab-4184-935a-9c301b1ff3fa}
01:48:42: ------------------------------------------
01:48:42: Using desktop audio input: Headset Earphone (ASTRO MixAmp Pro           )
01:48:42: ------------------------------------------
01:48:42: Using auxilary audio input: Headset Microphone (ASTRO MixAmp Pro           )
01:48:42: ------------------------------------------
01:48:42: Audio Encoding: AAC
01:48:42:     bitrate: 128
Warning -- DShowPlugin: Could not create device filter
01:48:42: Using directshow input
01:48:42: Using bitmap image
01:48:42: Using graphics capture
01:48:42: Using Monitor Capture
01:48:42: Scene buffering time set to 400
01:48:42: Found QSV hardware support
01:48:42: ------------------------------------------
01:48:42: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE3 | MFX_IMPL_VIA_D3D9)
01:48:42: Using 13 bitstreams and 16 frame buffers
01:48:42: ------------------------------------------
01:48:42: Video Encoding: QSV
01:48:42:     fps: 60
01:48:42:     width: 1280, height: 720
01:48:42:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
01:48:42:     CBR: yes
01:48:42:     CFR: yes
01:48:42:     max bitrate: 3000
01:48:42: ------------------------------------------
01:48:42: 
01:48:42: Profiler result for the last frame:
01:48:42: ==============================================================
01:48:42: video thread frame - [time: 20.27 ms (cpu time: 31.2 ms)]
01:48:42: | scene->Preprocess - [time: 3.738 ms (cpu time: 15.6 ms)]
01:48:42: | GPU download and conversion - [time: 0.127 ms (cpu time: 0 ms)]
01:48:42: | | flush - [time: 0.125 ms (cpu time: 0 ms)]
01:48:42: ==============================================================
01:48:42: 
01:48:43: Using RTMP service: Twitch / Justin.tv
01:48:43:   Server selection: rtmp://live-lhr.justin.tv/app
01:48:43:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
01:48:44: Completed handshake with rtmp://live-lhr.justin.tv/app in 601 ms.
01:48:45: SO_SNDBUF was at 8192
01:48:45: SO_SNDBUF is now 65536
01:48:48: RTMPPublisher::SocketLoop: Stalled for 2081 ms to write 398602 bytes (buffer: 0 / 400384), unstable connection?
01:48:54: RTMPPublisher::SocketLoop: Stalled for 6550 ms to write 399986 bytes (buffer: 0 / 400384), unstable connection?
01:49:06: RTMPPublisher::SocketLoop: Stalled for 11610 ms to write 400315 bytes (buffer: 0 / 400384), unstable connection?
01:49:15: RTMPPublisher::SocketLoop: Stalled for 8733 ms to write 399682 bytes (buffer: 0 / 400384), unstable connection?
01:49:23: RTMPPublisher::SocketLoop: Stalled for 7811 ms to write 397855 bytes (buffer: 0 / 400384), unstable connection?
01:49:33: RTMPPublisher::SocketLoop: Stalled for 10046 ms to write 397209 bytes (buffer: 0 / 400384), unstable connection?
01:49:42: RTMPPublisher::SocketLoop: Stalled for 8891 ms to write 397587 bytes (buffer: 0 / 400384), unstable connection?
01:49:50: Total frames encoded: 4008, total frames duplicated: 11 (0.27%)
01:49:50: Total frames rendered: 4015, number of late frames: 1 (0.02%) (it's okay for some frames to be late)
01:49:52: RTMPPublisher::SocketLoop: Stalled for 10845 ms to write 399355 bytes (buffer: 0 / 400384), unstable connection?
01:50:00: RTMPPublisher::SocketLoop: Stalled for 7123 ms to write 399938 bytes (buffer: 0 / 400384), unstable connection?
01:50:10: RTMPPublisher::SocketLoop: Stalled for 10798 ms to write 399731 bytes (buffer: 0 / 400384), unstable connection?
01:50:17: RTMPPublisher::SocketLoop: Stalled for 6734 ms to write 398741 bytes (buffer: 0 / 400384), unstable connection?
 

AndehX

Member
ok my mistake. it seems there is something very wrong going on with my internet as I just did a connection test in xsplit and got this
Code:
Initializing connection to server....
EU: London, UK: rtmp://live-lhr.twitch.tv/app/
Trying to stream maximum data rate of 3042 kbps...
Initializing transmission to server...
Achieved data rate during 1016 ms: 200 kbps...
Achieved data rate during 2051 ms: 325 kbps...
Achieved data rate during 2033 ms: 668 kbps...
Achieved data rate during 2066 ms: 494 kbps...
Achieved data rate during 2025 ms: 350 kbps...
Achieved data rate during 2058 ms: 410 kbps...
Achieved data rate during 2067 ms: 294 kbps...
Achieved data rate during 2074 ms: 536 kbps...
Achieved data rate during 2060 ms: 542 kbps...
Achieved data rate during 2050 ms: 430 kbps...
Achieved data rate during 2024 ms: 216 kbps...
Achieved data rate during 2095 ms: 600 kbps...
Achieved data rate during 2097 ms: 628 kbps...
Achieved data rate during 1101 ms: 219 kbps...
Achieved data rate during 2133 ms: 0 kbps...
Done.
Calculated average data rate: 394 kbps
Dropped frames: 0
Test result: Yellow
Results legend:
Green: The target bitrate was achieved and no frame was dropped
Yellow: The target bitrate was not achieved for all measurements. You should lower the bitrate and retry.
Red: Frame drops were present. You should not use this target bitrate.

Is this a sign that my ISP is throttling me?
 

AndehX

Member
Yeah I went through that guide, thanks. I realised it was my ISP doing something to my internet. I rang them and they claimed there was a fault on my line, even though my internet is fine 99% of the time. So false alarm. OBS is fine :P
 
Top