Question / Help Frame Drop Then Disconnect

raunchyram

New Member
I am a frequent streamer, been doing this since October. I know that's still pretty new but I haven't had many problems that made it impossible to stream. Anyway, I was stream on the 7th of January just fine. Then earlier on the 8th I would start streaming just to disconnect in between 0:30 to 2:00 Minutes. I've had occasional frame drops before, but after following Twitch's Guide I haven't had a single frame dropped in a month. My upload speed according to Speedtest is 2.7MB, but I have it set to 1200 (900-300 when troubleshooting).

I figure its not me because of a post from Twitch Support's Twitter, saying something about connection issues. I figure its because of the event, sometimes events make it hard for me to for me to connect to the chat. I've never had a event keep me from streaming though, but this one is HUGE. Anyway, this event is going on for a week nonstop. So I won't be sure if it was the event til the end. I run a daily stream so I can't stop streaming for that long. So if it turns out it is my fault I don't wanna wait a week to find out.

Here is my Log:

00:39:03: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
00:39:03: -------------------------------
00:39:03: CPU Name: Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
00:39:03: CPU Speed: 1896MHz
00:39:03: Physical Memory: 3954MB Total, 2297MB Free
00:39:03: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
00:39:03: monitor 1: pos={0, 0}, size={1366, 768}
00:39:03: Windows Version: 6.2 Build 9200
00:39:03: Aero is Enabled
00:39:03: -------------------------------
00:39:03: OBS Modules:
00:39:03: Base Address Module
00:39:03: 00260000 OBS.exe
00:39:03: 63700000 OBSApi.dll
00:39:03: 65200000 DShowPlugin.dll
00:39:03: 651E0000 GraphicsCapture.dll
00:39:03: 651C0000 NoiseGate.dll
00:39:03: 65110000 PSVPlugin.dll
00:39:03: ------------------------------------------
00:39:03: Adapter 1
00:39:03: Video Adapter: Intel(R) HD Graphics 4000
00:39:03: Video Adapter Dedicated Video Memory: 33554432
00:39:03: Video Adapter Shared System Memory: 1711276032
00:39:03: Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
00:39:03: =====Stream Start: 2014-01-09, 00:39:03===============================================
00:39:03: Multithreaded optimizations: On
00:39:03: Base resolution: 1280x720
00:39:03: Output resolution: 852x480
00:39:03: ------------------------------------------
00:39:03: Loading up D3D10 on Intel(R) HD Graphics 4000 (Adapter 1)...
00:39:03: ------------------------------------------
00:39:03: Audio Format: 44100hz
00:39:03: Playback device Default
00:39:03: ------------------------------------------
00:39:03: Using desktop audio input: Speakers (Cirrus Logic High Definition Audio)
00:39:03: ------------------------------------------
00:39:03: Using auxilary audio input: Internal Mic (Cirrus Logic High Definition Audio)
00:39:03: ------------------------------------------
00:39:03: Audio Encoding: MP3
00:39:03: bitrate: 48
00:39:03: Using bitmap image
00:39:03: Using text output
00:39:03: Using Window Capture
Warning -- DShowPlugin: Could not create device filter
00:39:03: Using directshow input
00:39:03: Using bitmap image
00:39:03: Using Window Capture
00:39:03: Scene buffering time set to 400
00:39:03: ------------------------------------------
00:39:03: Video Encoding: x264
00:39:03: fps: 30
00:39:03: width: 852, height: 480
00:39:03: preset: veryfast
00:39:03: profile: main
00:39:03: keyint: 60
00:39:03: CBR: yes
00:39:03: CFR: yes
00:39:03: max bitrate: 1200
00:39:03: buffer size: 1200
00:39:03: ------------------------------------------
00:39:03: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic High Definition Audio)' is 384000, samples per sec is 48000
00:39:03: MMDeviceAudioSource: Frequency for device 'Internal Mic (Cirrus Logic High Definition Audio)' is 384000, samples per sec is 48000
00:39:05: Using RTMP service: Twitch / Justin.tv
00:39:05: Server selection: rtmp://live-dfw.justin.tv/app
00:39:05: Interface: Intel(R) Centrino(R) Wireless-N 2230 (802.11, 130 mbps)
00:39:05: Completed handshake with rtmp://live-dfw.justin.tv/app in 319 ms.
00:39:06: SO_SNDBUF was at 65536
00:39:06: SO_SNDBUF is now 65536
00:39:09: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 159744)
00:39:18: RTMPPublisher::SocketLoop: Received FD_CLOSE, 8521 ms since last send (buffer: 158666 / 159744)
00:39:18: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 0
00:39:19: Total frames encoded: 481, total frames duplicated: 0 (0.00%)
00:39:19: Total frames rendered: 484, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
00:39:20: Average send payload: 4538 bytes, average send interval: 28 ms
00:39:20: Number of times waited to send: 2, Waited for a total of 8194 bytes
00:39:20: Number of b-frames dropped: 28 (7.2%), Number of p-frames dropped: 28 (7.2%), Total 56 (14%)
00:39:20: Number of bytes sent: 517428
00:39:20:
00:39:20: Profiler time results:
00:39:20:
00:39:20: ==============================================================
00:39:20: video thread frame - [100%] [avg time: 2.835 ms] [children: 51.1%] [unaccounted: 48.9%]
00:39:20: | scene->Preprocess - [25.1%] [avg time: 0.713 ms]
00:39:20: | GPU download and conversion - [26%] [avg time: 0.737 ms] [children: 23.1%] [unaccounted: 2.89%]
00:39:20: | | flush - [8.64%] [avg time: 0.245 ms]
00:39:20: | | CopyResource - [14%] [avg time: 0.397 ms]
00:39:20: | | conversion to 4:2:0 - [0.459%] [avg time: 0.013 ms]
00:39:20: Convert444Thread - [100%] [avg time: 1.668 ms] [children: 98%] [unaccounted: 1.98%]
00:39:20: | Convert444toNV12 - [98%] [avg time: 1.635 ms]
00:39:20: encoder thread frame - [100%] [avg time: 1.348 ms]
00:39:20: ==============================================================
00:39:20:
00:39:20:
00:39:20: Profiler CPU results:
00:39:20:
00:39:20: ==============================================================
00:39:20: video thread frame - [cpu time: avg 2.195 ms, total 1062.5 ms] [avg calls per frame: 1]
00:39:20: | scene->Preprocess - [cpu time: avg 0.032 ms, total 15.625 ms] [avg calls per frame: 1]
00:39:20: | GPU download and conversion - [cpu time: avg 0.451 ms, total 218.75 ms] [avg calls per frame: 1]
00:39:20: | | flush - [cpu time: avg 0.225 ms, total 109.375 ms] [avg calls per frame: 1]
00:39:20: | | CopyResource - [cpu time: avg 0.132 ms, total 62.5 ms] [avg calls per frame: 1]
00:39:20: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:39:20: Convert444Thread - [cpu time: avg 1.529 ms, total 718.75 ms] [avg calls per frame: 1]
00:39:20: | Convert444toNV12 - [cpu time: avg 1.529 ms, total 718.75 ms] [avg calls per frame: 1]
00:39:20: encoder thread frame - [cpu time: avg 0.832 ms, total 390.625 ms] [avg calls per frame: 1]
00:39:20: ==============================================================
00:39:20:
00:39:20: =====Stream End: 2014-01-09, 00:39:20=================================================
00:40:56: =====Stream Start: 2014-01-09, 00:40:56===============================================
00:40:56: Multithreaded optimizations: On
00:40:56: Base resolution: 1280x720
00:40:56: Output resolution: 852x480
00:40:56: ------------------------------------------
00:40:56: Loading up D3D10 on Intel(R) HD Graphics 4000 (Adapter 1)...
00:40:56: ------------------------------------------
00:40:56: Audio Format: 44100hz
00:40:56: Playback device Default
00:40:56: ------------------------------------------
00:40:56: Using desktop audio input: Speakers (Cirrus Logic High Definition Audio)
00:40:56: ------------------------------------------
00:40:56: Using auxilary audio input: Internal Mic (Cirrus Logic High Definition Audio)
00:40:56: ------------------------------------------
00:40:56: Audio Encoding: MP3
00:40:56: bitrate: 48
00:40:56: Using bitmap image
00:40:56: Using text output
00:40:56: Using Window Capture
Warning -- DShowPlugin: Could not create device filter
00:40:56: Using directshow input
00:40:56: Using bitmap image
00:40:56: Using Window Capture
00:40:56: Scene buffering time set to 400
00:40:56: ------------------------------------------
00:40:56: Video Encoding: x264
00:40:56: fps: 30
00:40:56: width: 852, height: 480
00:40:56: preset: veryfast
00:40:56: profile: main
00:40:56: keyint: 60
00:40:56: CBR: yes
00:40:56: CFR: yes
00:40:56: max bitrate: 1200
00:40:56: buffer size: 1200
00:40:56: ------------------------------------------
00:40:56: MMDeviceAudioSource: Frequency for device 'Speakers (Cirrus Logic High Definition Audio)' is 384000, samples per sec is 48000
00:40:56: MMDeviceAudioSource: Frequency for device 'Internal Mic (Cirrus Logic High Definition Audio)' is 384000, samples per sec is 48000
00:40:57: Using RTMP service: Twitch / Justin.tv
00:40:57: Server selection: rtmp://live-dfw.justin.tv/app
00:40:58: Interface: Intel(R) Centrino(R) Wireless-N 2230 (802.11, 117 mbps)
00:40:58: Completed handshake with rtmp://live-dfw.justin.tv/app in 314 ms.
00:40:59: SO_SNDBUF was at 65536
00:40:59: SO_SNDBUF is now 65536
00:41:01: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 159744)
00:41:12: Total frames encoded: 475, total frames duplicated: 0 (0.00%)
00:41:12: Total frames rendered: 479, number of late frames: 1 (0.21%) (it's okay for some frames to be late)
00:41:16: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
00:41:16: Average send payload: 4778 bytes, average send interval: 30 ms
00:41:16: Number of times waited to send: 2, Waited for a total of 8200 bytes
00:41:16: Number of b-frames dropped: 27 (7%), Number of p-frames dropped: 27 (7%), Total 54 (14%)
00:41:16: Number of bytes sent: 501744
00:41:16:
00:41:16: Profiler time results:
00:41:16:
00:41:16: ==============================================================
00:41:16: video thread frame - [100%] [avg time: 2.722 ms] [children: 51.1%] [unaccounted: 48.9%]
00:41:16: | scene->Preprocess - [25.2%] [avg time: 0.687 ms]
00:41:16: | GPU download and conversion - [25.9%] [avg time: 0.704 ms] [children: 22.9%] [unaccounted: 3.01%]
00:41:16: | | flush - [8.3%] [avg time: 0.226 ms]
00:41:16: | | CopyResource - [14%] [avg time: 0.382 ms]
00:41:16: | | conversion to 4:2:0 - [0.514%] [avg time: 0.014 ms]
00:41:16: Convert444Thread - [100%] [avg time: 1.625 ms] [children: 97.8%] [unaccounted: 2.15%]
00:41:16: | Convert444toNV12 - [97.8%] [avg time: 1.59 ms]
00:41:16: encoder thread frame - [100%] [avg time: 1.304 ms]
00:41:16: ==============================================================
00:41:16:
00:41:16:
00:41:16: Profiler CPU results:
00:41:16:
00:41:16: ==============================================================
00:41:16: video thread frame - [cpu time: avg 2.152 ms, total 1031.25 ms] [avg calls per frame: 1]
00:41:16: | scene->Preprocess - [cpu time: avg 0.032 ms, total 15.625 ms] [avg calls per frame: 1]
00:41:16: | GPU download and conversion - [cpu time: avg 0.489 ms, total 234.375 ms] [avg calls per frame: 1]
00:41:16: | | flush - [cpu time: avg 0.228 ms, total 109.375 ms] [avg calls per frame: 1]
00:41:16: | | CopyResource - [cpu time: avg 0.235 ms, total 109.375 ms] [avg calls per frame: 1]
00:41:16: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:41:16: Convert444Thread - [cpu time: avg 1.65 ms, total 765.625 ms] [avg calls per frame: 1]
00:41:16: | Convert444toNV12 - [cpu time: avg 1.616 ms, total 750 ms] [avg calls per frame: 1]
00:41:16: encoder thread frame - [cpu time: avg 1.046 ms, total 484.375 ms] [avg calls per frame: 1]
00:41:16: ==============================================================
00:41:16:
00:41:16: =====Stream End: 2014-01-09, 00:41:16=================================================

I appreciate any help I can get, you guys have been absurdly helpful in the past.

EDIT: Forgot to mention I did the typical response fixes, change servers, lower bitrate, try wired (I've been doing wireless for the past month and a half with no issues), and the like.
 

dodgepong

Administrator
Community Helper
If you're having issues with frames drops, try all of these things: viewtopic.php?f=5&t=8870

If none of those things work, there's not much more that can be done, and you'd probably have to contact your ISP.

And please actually try them all...a lot of people say they try everything, but they really haven't.
 

raunchyram

New Member
I re-did them all just to be sure.

Server Change: Nothing different, still reaching the bitrate set then drops and disconnects. EDIT: Thought you should know which servers I tried, Ashburn,VA; Dallas, TX; and Miami, FL.

Lowered Bitrate: I started at 1200 for the initial connection as if I were streaming normally. Then for the tests before I posted this thread I put it at 900. I lowered it even further this time to 300, same results.

Don't Stream Over Wireless: I can't help streaming over wireless. Also it was fine until the 8th, everything worked until last night. I can't use wired streaming because my router is in the living room, which my roommate lives in. I could test it, but I would not be able to use it in the future.

Throttle Testing: I don't think I understand this program, but here is its results.

DiffProbe release. January 2012. Build 1008.
Shaper Detection Module.

Connected to server 203.5.76.164.

Estimating capacity:
Upstream: 2640 Kbps.
Downstream: 7753 Kbps.

The measurement will take upto 2.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: Burst size: 1106-1119 KB;
Shaping rate: 2277 Kbps.

Downstream: No shaper detected.
Median received rate: 7504 Kbps.

For more information, visit: http://www.cc.gatech.edu/~partha/diffprobe

Try a Different Streaming Service: I tried Xsplit and the software that came with my capture card. The capture card software did not work at all, it would start, I'd go look on my channel and there is nothing. Xsplit, it connects and displays video but with a huge framerate loss, no disconnection though. I think the framerate loss in xsplit is because I didn't go through a full walkthrough for set up like I did OBS. I would very much prefer to use OBS if possible, its so much simpler and I think you guy may have spoiled me with your software. XD

Check Your Firewall/Router/Antivirus: I disabled my Mcafee, even uninstalled it. Turned off my windows firewall, antivirus/spyware. Same results.

Speed Tests are a rough estimation: I thought this was a summary of lower your bitrate.

Update Network Adapter: This was the first one I did, I double checked it was up to date. Even took the time to check all my hardware. Same results.

Bad Router/Network Hardware: This can't be the issue, why would it stop working suddenly?

Well I am not quite sure if you wanted all that info, or that you were just double checking that I did all this stuff. Does this mean its Twitch's problem?
 

raunchyram

New Member
I plugged it into my modem and its working, so far the longest connection without dropping. T-T Great, I either have to move into the living room with my spouse or buy a really long E-net cable. It just doesn't make sense to me, it was working fine on wireless yesterday and the past month and a half. 5 minutes now, I think its fixed, I just /HAVE/ to use a cable.

Thanks for your help, the one solution I didn't want to use is the one that worked. :l You can close this thread if you want or try to help me get the wireless working. Your choice, sorry to waste your time. 6 minutes :P

EDIT: Probably my ISP, I'll call them in a while when their support is open. I'm worried that streaming might be over there head though :L (Not meant to sound dickish)
 

dodgepong

Administrator
Community Helper
According to the ShaperProbe log:

Upstream: Burst size: 1106-1119 KB
This means that your upload connection is being throttled, and you can't reliably upload data at a speed higher than 1100kbps. But you said you were getting drops even at 300, so then if not streaming over wireless fixes it, then I recommend you get a better router with a better wireless signal (if you don't want to stream over wired, which is the recommended option).

Or it could be an issue with your wireless card itself being insufficient. Or both. I can stream over wireless on my own wireless network, but I spent the extra cash to get a really good router and wireless card to make sure my connection was stable. It's possible to stream over wireless, but you need to be confident in your hardware and within a reasonable distance to the router.
 

raunchyram

New Member
I caved and bought a long Ethernet cable, 25ft Cat6. I'll talk to my IPS see about getting the upgrade to my service, then upgrade to a better router. Seriously appreciate the help its refreshing after dealing with the "support" from my cap card company. Thank you.
 

Boildown

Active Member
The biggest problem with wireless is that essentially everyone is on the same "network", similar to the old-school days when everyone used hubs instead of switches. Whenever two devices try to send at the same time, there is a "collision" and each device waits a random amount of time before resending the data. So if there's more than a few devices using wireless at the same time, you get a ton of collisions and your speeds take a nosedive. And of course streaming is an always-sending technology, so if anyone else is around using the wireless, its giving you collisions because there's practically no time when it can't collide. Even people across the street sending to a different router could be causing collisions for your stream.
 
Top