Question / Help Frame dropped and disconnects

omensielvo

New Member
I've tried everything form a sticky thread. Nothing helps. I've benn streaming before yeasterday for a while and everything was fine, but yesterday enormous amount of dropped frames started to occur.
Code:
13:42:27: Open Broadcaster Software v0.624b - 32bit (´・ω・`)
13:42:27: -------------------------------
13:42:27: CPU Name: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
13:42:27: CPU Speed: 3600MHz
13:42:27: Physical Memory:  4095MB Total, 4095MB Free
13:42:27: stepping id: 7, model 45, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
13:42:27: monitor 1: pos={0, 0}, size={1920, 1080}
13:42:27: monitor 2: pos={1920, 0}, size={1280, 1024}
13:42:27: Windows Version: 6.2 Build 9200
13:42:27: Aero is Enabled
13:42:27: -------------------------------
13:42:27: OBS Modules:
13:42:27: Base Address     Module
13:42:27: 00EB0000         OBS.exe
13:42:27: 51780000         OBSApi.dll
13:42:27: 5E7E0000         DShowPlugin.dll
13:42:27: 64A60000         GraphicsCapture.dll
13:42:27: 5E770000         NoiseGate.dll
13:42:27: 51550000         PSVPlugin.dll
13:42:27: 51530000         scenesw.dll
13:42:27: ------------------------------------------
13:42:27: Adapter 1
13:42:27:   Video Adapter: AMD Radeon HD 6700 Series
13:42:27:   Video Adapter Dedicated Video Memory: 1060839424
13:42:27:   Video Adapter Shared System Memory: 3234062336
13:42:27:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
13:42:27:   Video Adapter Output 2: pos={1920, 0}, size={1280, 1024}, attached=true
13:42:27: =====Stream Start: 2014-05-25, 13:42:27===============================================
13:42:27:   Multithreaded optimizations: On
13:42:27:   Base resolution: 1920x1080
13:42:27:   Output resolution: 1280x720
13:42:27: ------------------------------------------
13:42:27: Loading up D3D10 on AMD Radeon HD 6700 Series (Adapter 1)...
13:42:27: ------------------------------------------
13:42:27: Audio Format: 48000 Hz
13:42:27: ------------------------------------------
13:42:27: Audio Channels: 2 Ch
13:42:27: Playback device {0.0.0.00000000}.{7630dab1-45ae-4c9d-941c-434c3c6ae233}
13:42:27: ------------------------------------------
13:42:27: Using desktop audio input: Наушники гарнитуры (Razer Kraken 7.1)
13:42:27: Global Audio time adjust: 0
13:42:27: ------------------------------------------
13:42:27: Using auxilary audio input: Микрофон гарнитуры (Razer Kraken 7.1)
13:42:27: Mic time offset: 0
13:42:27: ------------------------------------------
13:42:27: Audio Encoding: AAC
13:42:27:     bitrate: 128
13:42:27: Using bitmap image
13:42:27: ------------------------------------------
13:42:27:     device: Trust HD Webcam,
13:42:27:     device id \\?\usb#vid_145f&pid_01a1&mi_00#7&368b8e03&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
13:42:27:     chosen type: YUY2, usingFourCC: false, res: 160x120 - 160x120, frameIntervals: 333333-2000000
13:42:27:     use buffering: false - 0, fourCC: 'YUY2'
13:42:27:     audio device: Disable,
13:42:27:     audio device id Disabled,
13:42:27:     audio time offset 0,
13:42:27:
13:42:27: Using directshow input
13:42:27: Using graphics capture
13:42:27: Scene buffering time set to 700
13:42:27: ------------------------------------------
13:42:27: Video Encoding: x264
13:42:27:     fps: 30
13:42:27:     width: 1280, height: 720
13:42:27:     preset: veryfast
13:42:27:     profile: main
13:42:27:     keyint: 60
13:42:27:     CBR: yes
13:42:27:     CFR: no
13:42:27:     max bitrate: 2000
13:42:27:     buffer size: 2000
13:42:27: ------------------------------------------
13:42:29: Using RTMP service: Twitch / Justin.tv
13:42:29:   Server selection: rtmp://live-ams.justin.tv/app
13:42:29:   Interface: ‘¥â¥¢®¥ ¯®¤ª«î票¥ Intel(R) 82567V Gigabit (ethernet, 100 mbps)
13:42:30: Completed handshake with rtmp://live-ams.justin.tv/app in 435 ms.
13:42:31: SO_SNDBUF was at 65536
13:42:36: RTMPPublisher::SocketLoop: Stalled for 3010 ms to write 268888 bytes (buffer: 0 / 272384), unstable connection?
13:42:52: No Intel graphics adapter visible in QSVHelper.exe, Optimus problem?
13:42:52: Failed loading CUDA dll
13:42:57: RTMPPublisher::SocketLoop: Stalled for 21164 ms to write 271038 bytes (buffer: 0 / 272384), unstable connection?
13:43:07: Total frames encoded: 1163, total frames duplicated: 1 (0.09%)
13:43:07: Total frames rendered: 1167, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
13:43:07: RTMPPublisher::SocketLoop: Stalled for 9820 ms to write 271115 bytes (buffer: 0 / 272384), unstable connection?
13:43:21: RTMPPublisher::SocketLoop: Stalled for 14446 ms to write 268342 bytes (buffer: 0 / 272384), unstable connection?
13:43:34: RTMPPublisher::SocketLoop: Stalled for 12727 ms to write 270690 bytes (buffer: 0 / 272384), unstable connection?
13:43:57: ~RTMPPublisher: Network appears stalled with 268992 / 272384 buffered, dropping connection!
13:43:57: RTMPPublisher::SocketLoop: Got hSendBacklogEvent but WSAIoctl() returned 10038
13:43:57: RTMPPublisher::SocketLoop: Graceful loop exit
13:43:57: Average send payload: 99234 bytes, average send interval: 3679 ms
13:43:57: Number of times waited to send: 9, Waited for a total of 36910 bytes
13:43:57: Number of b-frames dropped: 327 (31%), Number of p-frames dropped: 337 (32%), Total 664 (63%)
13:43:57: Number of bytes sent: 1686994
13:43:57:
13:43:57: Profiler time results:
13:43:57:
13:43:57: ==============================================================
13:43:57: video thread frame - [100%] [avg time: 1.322 ms] [children: 44.9%] [unaccounted: 55.1%]
13:43:57: | scene->Preprocess - [33.7%] [avg time: 0.446 ms]
13:43:57: | GPU download and conversion - [11.1%] [avg time: 0.147 ms] [children: 8.17%] [unaccounted: 2.95%]
13:43:57: | | flush - [6.73%] [avg time: 0.089 ms]
13:43:57: | | CopyResource - [1.13%] [avg time: 0.015 ms]
13:43:57: | | conversion to 4:2:0 - [0.303%] [avg time: 0.004 ms]
13:43:57: Convert444Threads - [100%] [avg time: 0.479 ms] [children: 98.1%] [unaccounted: 1.88%]
13:43:57: | Convert444toNV12 - [98.1%] [avg time: 0.47 ms]
13:43:57: encoder thread frame - [100%] [avg time: 1.528 ms] [children: 2.49%] [unaccounted: 97.5%]
13:43:57: | sending stuff out - [2.49%] [avg time: 0.038 ms]
13:43:57: ==============================================================
13:43:57:
13:43:57:
13:43:57: Profiler CPU results:
13:43:57:
13:43:57: ==============================================================
13:43:57: video thread frame - [cpu time: avg 0.709 ms, total 828.125 ms] [avg calls per frame: 1]
13:43:57: | scene->Preprocess - [cpu time: avg 0.013 ms, total 15.625 ms] [avg calls per frame: 1]
13:43:57: | GPU download and conversion - [cpu time: avg 0.026 ms, total 31.25 ms] [avg calls per frame: 1]
13:43:57: | | flush - [cpu time: avg 0.026 ms, total 31.25 ms] [avg calls per frame: 1]
13:43:57: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:43:57: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:43:57: Convert444Threads - [cpu time: avg 0.334 ms, total 765.625 ms] [avg calls per frame: 2]
13:43:57: | Convert444toNV12 - [cpu time: avg 0.328 ms, total 750 ms] [avg calls per frame: 2]
13:43:57: encoder thread frame - [cpu time: avg 0.889 ms, total 1015.63 ms] [avg calls per frame: 1]
13:43:57: | sending stuff out - [cpu time: avg 0.054 ms, total 62.5 ms] [avg calls per frame: 1]
13:43:57: ==============================================================
13:43:57:
13:43:57: =====Stream End: 2014-05-25, 13:43:57=================================================


Last game capture log:
2014-05-24, 22:36:49: we're booting up:
22:36:49: CaptureThread: attached to process League of Legends.exe
22:36:49: D3D9 Present
22:36:49: DXGI Present
22:36:49: GL Present
22:36:49: (half life scientist) everything..  seems to be in order
22:36:50: D3D9EndScene called
22:36:50: D3DPRESENT_PARAMETERS {
22:36:50:     BackBufferWidth: 1920
22:36:50:     BackBufferHeight: 1080
22:36:50:     BackBufferFormat: D3DFMT_X8R8G8B8
22:36:50:     BackBufferCount: 1
22:36:50:     MultiSampleType: D3DMULTISAMPLE_NONE
22:36:50:     MultiSampleQuality: 0
22:36:50:     SwapEffect: D3DSWAPEFFECT_DISCARD
22:36:50:     hDeviceWindow: 1249616
22:36:50:     Windowed: true
22:36:50:     EnableAutoDepthStencil: true
22:36:50:     AutoDepthStencilFormat: D3DFMT_D24S8
22:36:50:     Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL
22:36:50:     FullScreen_RefreshRateInHz: 0
22:36:50:     PresentationInterval: 2147483648
22:36:50: };
22:36:50: successfully set up d3d9 hooks
22:36:50: D3D9Present called
22:36:50: DoD3D9GPUHook: success
22:36:50: D3DSURFACE_DESC {
22:36:50:     Format: D3DFMT_X8R8G8B8
22:36:50:     Type: D3DRTYPE_SURFACE
22:36:50:     Usage: D3DUSAGE_RENDERTARGET
22:36:50:     Pool: D3DPOOL_DEFAULT
22:36:50:     MultiSampleType: D3DMULTISAMPLE_NONE
22:36:50:     MultiSampleQuality: 0
22:36:50:     Width: 1920
22:36:50:     Height: 1080
22:36:50: };
22:36:50: successfully capturing d3d9 frames via GPU
22:36:59: ---------------------- Cleared D3D9 Capture ----------------------
22:37:00: D3D9EndScene called
22:37:00: D3D9Present called
22:37:35: received restart event, capturing
22:37:35: DoD3D9GPUHook: success
22:37:36: D3DSURFACE_DESC {
22:37:36:     Format: D3DFMT_X8R8G8B8
22:37:36:     Type: D3DRTYPE_SURFACE
22:37:36:     Usage: D3DUSAGE_RENDERTARGET
22:37:36:     Pool: D3DPOOL_DEFAULT
22:37:36:     MultiSampleType: D3DMULTISAMPLE_NONE
22:37:36:     MultiSampleQuality: 0
22:37:36:     Width: 1920
22:37:36:     Height: 1080
22:37:36: };
22:37:36: successfully capturing d3d9 frames via GPU
22:37:56: ---------------------- Cleared D3D9 Capture ----------------------
22:37:57: D3D9EndScene called
22:37:57: D3D9Present called
 

Jack0r

The Helping Squad
Are you located near Amsterdam and did you try different servers?
Also I always recommend to make a speedtest, to see that your internet connection has no speed problem. Oh and please post us the result of the speedtest.
 

omensielvo

New Member
I've tried all the servers available with almost same results. The one located in Czech Republic was the best it was DCing from server rather reconnecting every 20 seconds. I will post my speedtest as soon as I get home from work. But it was reliable when I checked it yesterday. The problem started to occur after I switched to a local drive record and after coming back to streaming mode these errors appeared
 

Sapiens

Forum Moderator
How did your ShaperProbe results look? Do you also get disconnected when streaming to a different service like Hitbox?
 

omensielvo

New Member
For some reason everything is working perfectly fine today, I guess there was just some kind of problem between my isp and twitch servers. Thanks for trying to help me=)
 
Top