Question / Help Dropped Frames

Fenwick17

Member
Well recently i have noticed an increase in frame drops with my stream. My internet gives me 4.5mb upload speed.
I used to stream at 3500bitrate with 720@60fps and had no issues. Now recently i have been getting issues.
I tried going down to 30fps and 2000bit rate however i still drop frames after about 1 minutes, is that most likely an issue with my ISP?
 

dodgepong

Administrator
Community Helper
If you're having issues with dropped frames, make sure you try all the things on this list: viewtopic.php?f=5&t=8870

And make sure you try all of them...a lot of people say they try them all, but actually don't.
 

Fenwick17

Member
My shaperprobe showed no issues and i have tried all of those steps. Still start dropping frames after about 1 minute or so. Fortunately i have an engineer from my ISP coming on tuesday to take a look at it
 

Fenwick17

Member
Only a few dropped frames here, but it increases drastically the longer i keep the stream on.

Code:
19:46:00: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
19:46:00: -------------------------------
19:46:00: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
19:46:00: CPU Speed: 3500MHz
19:46:00: Physical Memory:  16334MB Total, 11818MB Free
19:46:00: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:46:00: monitor 1: pos={0, 0}, size={1920, 1080}
19:46:00: monitor 2: pos={1920, 0}, size={1920, 1080}
19:46:00: Windows Version: 6.1 Build 7601 S
19:46:00: Aero is Enabled
19:46:00: -------------------------------
19:46:00: OBS Modules:
19:46:00: Base Address     Module
19:46:00: 000000003FB90000 OBS.exe
19:46:00: 00000000E9960000 OBSApi.dll
19:46:00: 00000000F2A50000 DShowPlugin.dll
19:46:00: 00000000F2A00000 GraphicsCapture.dll
19:46:00: 00000000F29E0000 NoiseGate.dll
19:46:00: 00000000F29C0000 PSVPlugin.dll
19:46:00: 00000000F2990000 scenesw.dll
19:46:00: ------------------------------------------
19:46:00: Adapter 1
19:46:00:   Video Adapter: NVIDIA GeForce GTX 680
19:46:00:   Video Adapter Dedicated Video Memory: 2087387136
19:46:00:   Video Adapter Shared System Memory: 2147807232
19:46:00:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:46:00:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
19:46:00: =====Stream Start: 2014-01-12, 19:46:00===============================================
19:46:00:   Multithreaded optimizations: On
19:46:00:   Base resolution: 1920x1080
19:46:00:   Output resolution: 1280x720
19:46:00: ------------------------------------------
19:46:00: Loading up D3D10 on NVIDIA GeForce GTX 680 (Adapter 1)...
19:46:00: ------------------------------------------
19:46:00: Audio Format: 48000hz
19:46:00: Playback device Default
19:46:00: ------------------------------------------
19:46:00: Using desktop audio input: Speakers (Sound Blaster Z)
19:46:00: Using 5.1 speaker setup
19:46:00: ------------------------------------------
19:46:00: Using auxilary audio input: Microphone (2- AT2020USB+)
19:46:00: ------------------------------------------
19:46:00: Audio Encoding: AAC
19:46:00:     bitrate: 128
19:46:00: ------------------------------------------
19:46:00:     device: Microsoft LifeCam HD-3000,
19:46:00:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:46:00:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:46:00:     use buffering: false - 0, fourCC: 'YUY2'
19:46:00:     audio device: Disable,
19:46:00:     audio device id Disabled,
19:46:00: 
19:46:00: Using directshow input
19:46:00: Using Monitor Capture
19:46:01: Scene buffering time set to 400
19:46:01: ------------------------------------------
19:46:01: Video Encoding: x264
19:46:01:     fps: 30
19:46:01:     width: 1280, height: 720
19:46:01:     preset: veryfast
19:46:01:     profile: main
19:46:01:     keyint: 60
19:46:01:     CBR: yes
19:46:01:     CFR: yes
19:46:01:     max bitrate: 2000
19:46:01:     buffer size: 2000
19:46:01: ------------------------------------------
19:46:01: MMDeviceAudioSource: Frequency for device 'Speakers (Sound Blaster Z)' is 2304000, samples per sec is 96000
19:46:01: MMDeviceAudioSource: Frequency for device 'Microphone (2- AT2020USB+)' is 352800, samples per sec is 44100
19:47:31: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:47:31:   New Scene
19:47:32: ------------------------------------------
19:47:32:     device: Microsoft LifeCam HD-3000,
19:47:32:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&a2b3914&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:47:32:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:47:32:     use buffering: false - 0, fourCC: 'YUY2'
19:47:32:     audio device: Disable,
19:47:32:     audio device id Disabled,
19:47:32: 
19:47:32: Using directshow input
19:47:32: Using text output
19:47:32: Using graphics capture
19:47:32: PERFORMANCE WARNING: Scene change took 990 ms, maybe some sources should be global sources?
19:47:33: SharedTexCapture hooked
19:49:21: Total frames encoded: 6000, total frames duplicated: 297 (4.95%)
19:49:21: Total frames rendered: 5919, number of late frames: 59 (1.00%) (it's okay for some frames to be late)
19:49:22: 
19:49:22: Profiler time results:
19:49:22: 
19:49:22: ==============================================================
19:49:22: video thread frame - [100%] [avg time: 11.319 ms] [children: 94.8%] [unaccounted: 5.19%]
19:49:22: | scene->Preprocess - [94.2%] [avg time: 10.665 ms]
19:49:22: | GPU download and conversion - [0.583%] [avg time: 0.066 ms] [children: 0.406%] [unaccounted: 0.177%]
19:49:22: | | flush - [0.327%] [avg time: 0.037 ms]
19:49:22: | | CopyResource - [0.0707%] [avg time: 0.008 ms]
19:49:22: | | conversion to 4:2:0 - [0.00883%] [avg time: 0.001 ms]
19:49:22: Convert444Threads - [100%] [avg time: 0.403 ms] [children: 99.5%] [unaccounted: 0.496%]
19:49:22: | Convert444toNV12 - [99.5%] [avg time: 0.401 ms]
19:49:22: encoder thread frame - [100%] [avg time: 0.782 ms]
19:49:22: ==============================================================
19:49:22: 
19:49:22: 
19:49:22: Profiler CPU results:
19:49:22: 
19:49:22: ==============================================================
19:49:22: video thread frame - [cpu time: avg 2.182 ms, total 12916.9 ms] [avg calls per frame: 1]
19:49:22: | scene->Preprocess - [cpu time: avg 1.981 ms, total 11731.3 ms] [avg calls per frame: 1]
19:49:22: | GPU download and conversion - [cpu time: avg 0.021 ms, total 124.8 ms] [avg calls per frame: 1]
19:49:22: | | flush - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
19:49:22: | | CopyResource - [cpu time: avg 0.005 ms, total 31.2 ms] [avg calls per frame: 1]
19:49:22: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:49:22: Convert444Threads - [cpu time: avg 0.384 ms, total 4539.63 ms] [avg calls per frame: 2]
19:49:22: | Convert444toNV12 - [cpu time: avg 0.381 ms, total 4508.43 ms] [avg calls per frame: 2]
19:49:22: encoder thread frame - [cpu time: avg 0.088 ms, total 530.403 ms] [avg calls per frame: 1]
19:49:22: ==============================================================
19:49:22: 
19:49:22: =====Stream End: 2014-01-12, 19:49:22=================================================
19:49:22: =====Stream Start: 2014-01-12, 19:49:22===============================================
19:49:22:   Multithreaded optimizations: On
19:49:22:   Base resolution: 1920x1080
19:49:22:   Output resolution: 1280x720
19:49:22: ------------------------------------------
19:49:22: Loading up D3D10 on NVIDIA GeForce GTX 680 (Adapter 1)...
19:49:22: ------------------------------------------
19:49:22: Audio Format: 48000hz
19:49:22: Playback device Default
19:49:22: ------------------------------------------
19:49:22: Using desktop audio input: Speakers (Sound Blaster Z)
19:49:22: Using 5.1 speaker setup
19:49:22: ------------------------------------------
19:49:22: Using auxilary audio input: Microphone (2- AT2020USB+)
19:49:22: ------------------------------------------
19:49:22: Audio Encoding: AAC
19:49:22:     bitrate: 128
19:49:22: ------------------------------------------
19:49:22:     device: Microsoft LifeCam HD-3000,
19:49:22:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&a2b3914&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:49:22:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:49:22:     use buffering: false - 0, fourCC: 'YUY2'
19:49:22:     audio device: Disable,
19:49:22:     audio device id Disabled,
19:49:22: 
19:49:23: Using directshow input
19:49:23: Using text output
19:49:23: Using graphics capture
19:49:23: Scene buffering time set to 400
19:49:23: ------------------------------------------
19:49:23: Video Encoding: x264
19:49:23:     fps: 30
19:49:23:     width: 1280, height: 720
19:49:23:     preset: veryfast
19:49:23:     profile: main
19:49:23:     keyint: 60
19:49:23:     CBR: yes
19:49:23:     CFR: yes
19:49:23:     max bitrate: 2000
19:49:23:     buffer size: 2000
19:49:23: ------------------------------------------
19:49:23: MMDeviceAudioSource: Frequency for device 'Speakers (Sound Blaster Z)' is 2304000, samples per sec is 96000
19:49:23: MMDeviceAudioSource: Frequency for device 'Microphone (2- AT2020USB+)' is 352800, samples per sec is 44100
19:49:23: SharedTexCapture hooked
19:49:25: Using RTMP service: Twitch / Justin.tv
19:49:25:   Server selection: rtmp://live-fra.justin.tv/app
19:49:25:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
19:49:25: Completed handshake with rtmp://live-fra.justin.tv/app in 441 ms.
19:49:26: SO_SNDBUF was at 8192
19:49:26: SO_SNDBUF is now 65536
19:50:58: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:50:58:   New Scene
19:50:58: ------------------------------------------
19:50:58:     device: Microsoft LifeCam HD-3000,
19:50:58:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:50:58:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:50:58:     use buffering: false - 0, fourCC: 'YUY2'
19:50:58:     audio device: Disable,
19:50:58:     audio device id Disabled,
19:50:58: 
19:50:58: Using directshow input
19:50:58: Using Monitor Capture
19:50:59: PERFORMANCE WARNING: Scene change took 697 ms, maybe some sources should be global sources?
19:51:01: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:01:   New Scene
19:51:01: Using text output
19:51:01: ------------------------------------------
19:51:01:     device: Microsoft LifeCam HD-3000,
19:51:01:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&520bf79&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:01:     chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-1333333
19:51:01:     use buffering: false - 0, fourCC: 'MJPG'
19:51:01:     audio device: Disable,
19:51:01:     audio device id Disabled,
19:51:01: 
19:51:01: Using directshow input
19:51:01: Using graphics capture
19:51:01: PERFORMANCE WARNING: Scene change took 686 ms, maybe some sources should be global sources?
19:51:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:04:   New Scene
19:51:04: ------------------------------------------
19:51:04:     device: Microsoft LifeCam HD-3000,
19:51:04:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&520bf79&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:04:     chosen type: YUY2, usingFourCC: false, res: 640x360 - 640x360, frameIntervals: 333333-1333333
19:51:04:     use buffering: false - 0, fourCC: 'YUY2'
19:51:04:     audio device: Disable,
19:51:04:     audio device id Disabled,
19:51:04: 
19:51:04: Using directshow input
19:51:04: Using Monitor Capture
19:51:04: PERFORMANCE WARNING: Scene change took 666 ms, maybe some sources should be global sources?
19:51:06: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:06:   New Scene
19:51:06: Using Monitor Capture
19:51:07: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:07:   New Scene
19:51:07: ------------------------------------------
19:51:07:     device: Microsoft LifeCam HD-3000,
19:51:07:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1ce4e9b9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:07:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:51:07:     use buffering: false - 0, fourCC: 'YUY2'
19:51:07:     audio device: Disable,
19:51:07:     audio device id Disabled,
19:51:07: 
19:51:08: Using directshow input
19:51:08: Using Monitor Capture
19:51:08: PERFORMANCE WARNING: Scene change took 678 ms, maybe some sources should be global sources?
19:51:11: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:11:   New Scene
19:51:11: Using text output
19:51:11: Using text output
19:51:11: ------------------------------------------
19:51:11:     device: Microsoft LifeCam HD-3000,
19:51:11:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&520bf79&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:11:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:51:11:     use buffering: false - 0, fourCC: 'YUY2'
19:51:11:     audio device: Disable,
19:51:11:     audio device id Disabled,
19:51:11: 
19:51:11: Using directshow input
19:51:11: Using graphics capture
19:51:11: PERFORMANCE WARNING: Scene change took 702 ms, maybe some sources should be global sources?
19:51:14: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:14:   New Scene
19:51:14: Using text output
19:51:14: ------------------------------------------
19:51:14:     device: Microsoft LifeCam HD-3000,
19:51:14:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1ce4e9b9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:14:     chosen type: YUY2, usingFourCC: false, res: 176x144 - 176x144, frameIntervals: 333333-1333333
19:51:14:     use buffering: false - 0, fourCC: 'YUY2'
19:51:14:     audio device: Disable,
19:51:14:     audio device id Disabled,
19:51:14: 
19:51:14: Using directshow input
19:51:14: Using Monitor Capture
19:51:14: PERFORMANCE WARNING: Scene change took 698 ms, maybe some sources should be global sources?
19:51:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:17:   New Scene
19:51:17: Using text output
19:51:17: Using graphics capture
19:51:18: SharedTexCapture hooked
19:51:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:36:   New Scene
19:51:36: ------------------------------------------
19:51:36:     device: Microsoft LifeCam HD-3000,
19:51:36:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&1ce4e9b9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:51:36:     chosen type: YUY2, usingFourCC: false, res: 160x120 - 160x120, frameIntervals: 333333-1333333
19:51:36:     use buffering: false - 0, fourCC: 'YUY2'
19:51:36:     audio device: Disable,
19:51:36:     audio device id Disabled,
19:51:36: 
19:51:36: Using directshow input
19:51:36: Using graphics capture
19:51:36: PERFORMANCE WARNING: Scene change took 696 ms, maybe some sources should be global sources?
19:51:40: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:51:40:   New Scene
19:51:40: Using text output
19:51:40: Using graphics capture
19:51:40: SharedTexCapture hooked
19:52:01: ------------------------------------------
19:52:01:     device: Microsoft LifeCam HD-3000,
19:52:01:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
19:52:01:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
19:52:01:     use buffering: false - 0, fourCC: 'YUY2'
19:52:01:     audio device: Disable,
19:52:01:     audio device id Disabled,
19:52:01: 
19:52:01: Using directshow input
19:55:42: Total frames encoded: 11346, total frames duplicated: 255 (2.25%)
19:55:42: Total frames rendered: 11117, number of late frames: 35 (0.31%) (it's okay for some frames to be late)
19:55:42: RTMPPublisher::SocketLoop: Graceful loop exit
19:55:42: Average send payload: 9048 bytes, average send interval: 34 ms
19:55:42: Number of times waited to send: 2, Waited for a total of 8194 bytes
19:55:42: Number of b-frames dropped: 29 (0.26%), Number of p-frames dropped: 30 (0.27%), Total 59 (0.52%)
19:55:42: Number of bytes sent: 99685452
19:55:42: 
19:55:42: Profiler time results:
19:55:42: 
19:55:42: ==============================================================
19:55:42: video thread frame - [100%] [avg time: 2.133 ms] [children: 46.4%] [unaccounted: 53.6%]
19:55:42: | scene->Preprocess - [42.8%] [avg time: 0.912 ms]
19:55:42: | GPU download and conversion - [3.66%] [avg time: 0.078 ms] [children: 2.48%] [unaccounted: 1.17%]
19:55:42: | | flush - [2.06%] [avg time: 0.044 ms]
19:55:42: | | CopyResource - [0.375%] [avg time: 0.008 ms]
19:55:42: | | conversion to 4:2:0 - [0.0469%] [avg time: 0.001 ms]
19:55:42: Convert444Threads - [100%] [avg time: 0.434 ms] [children: 99.3%] [unaccounted: 0.691%]
19:55:42: | Convert444toNV12 - [99.3%] [avg time: 0.431 ms]
19:55:42: encoder thread frame - [100%] [avg time: 0.739 ms]
19:55:42: ==============================================================
19:55:42: 
19:55:42: 
19:55:42: Profiler CPU results:
19:55:42: 
19:55:42: ==============================================================
19:55:42: video thread frame - [cpu time: avg 0.176 ms, total 1965.61 ms] [avg calls per frame: 1]
19:55:42: | scene->Preprocess - [cpu time: avg 0.131 ms, total 1466.41 ms] [avg calls per frame: 1]
19:55:42: | GPU download and conversion - [cpu time: avg 0.001 ms, total 15.6 ms] [avg calls per frame: 1]
19:55:42: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:55:42: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:55:42: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 15.6 ms] [avg calls per frame: 1]
19:55:42: Convert444Threads - [cpu time: avg 0.387 ms, total 8595.65 ms] [avg calls per frame: 2]
19:55:42: | Convert444toNV12 - [cpu time: avg 0.385 ms, total 8548.85 ms] [avg calls per frame: 2]
19:55:42: encoder thread frame - [cpu time: avg 0.022 ms, total 249.601 ms] [avg calls per frame: 1]
19:55:42: ==============================================================
19:55:42: 
19:55:42: =====Stream End: 2014-01-12, 19:55:42=================================================


Last game capture log:
2014-01-12, 19:47:32: we're booting up: 
19:47:32: CaptureThread: attached to process League of Legends.exe
19:47:33: D3D9 Present
19:47:33: DXGI Present
19:47:33: D3D9EndScene called
19:47:33: D3DPRESENT_PARAMETERS {
19:47:33: 	BackBufferWidth: 1920
19:47:33: 	BackBufferHeight: 1080
19:47:33: 	BackBufferFormat: D3DFMT_X8R8G8B8
19:47:33: 	BackBufferCount: 1
19:47:33: 	MultiSampleType: D3DMULTISAMPLE_NONE
19:47:33: 	MultiSampleQuality: 0
19:47:33: 	SwapEffect: D3DSWAPEFFECT_DISCARD
19:47:33: 	hDeviceWindow: 592312
19:47:33: 	Windowed: true
19:47:33: 	EnableAutoDepthStencil: true
19:47:33: 	AutoDepthStencilFormat: D3DFMT_D24S8
19:47:33: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
19:47:33: 	FullScreen_RefreshRateInHz: 0
19:47:33: 	PresentationInterval: 2147483648
19:47:33: };
19:47:33: successfully set up d3d9 hooks
19:47:33: D3D9Present called
19:47:33: DoD3D9GPUHook: success
19:47:33: D3DSURFACE_DESC {
19:47:33: 	Format: D3DFMT_X8R8G8B8
19:47:33: 	Type: D3DRTYPE_SURFACE
19:47:33: 	Usage: D3DUSAGE_RENDERTARGET 
19:47:33: 	Pool: D3DPOOL_DEFAULT
19:47:33: 	MultiSampleType: D3DMULTISAMPLE_NONE
19:47:33: 	MultiSampleQuality: 0
19:47:33: 	Width: 1920
19:47:33: 	Height: 1080
19:47:33: };
19:47:33: successfully capturing d3d9 frames via GPU
19:47:33: NV Capture available
19:47:33: FBO available
19:47:33: GL Present
19:47:33: (half life scientist) everything..  seems to be in order
19:49:22: ---------------------- Cleared D3D9 Capture ----------------------
19:49:22: D3D9EndScene called
19:49:22: D3D9Present called
19:49:23: received restart event, capturing
19:49:23: DoD3D9GPUHook: success
19:49:23: D3DSURFACE_DESC {
19:49:23: 	Format: D3DFMT_X8R8G8B8
19:49:23: 	Type: D3DRTYPE_SURFACE
19:49:23: 	Usage: D3DUSAGE_RENDERTARGET 
19:49:23: 	Pool: D3DPOOL_DEFAULT
19:49:23: 	MultiSampleType: D3DMULTISAMPLE_NONE
19:49:23: 	MultiSampleQuality: 0
19:49:23: 	Width: 1920
19:49:23: 	Height: 1080
19:49:23: };
19:49:23: successfully capturing d3d9 frames via GPU
19:50:58: ---------------------- Cleared D3D9 Capture ----------------------
19:50:58: D3D9EndScene called
19:50:58: D3D9Present called
19:51:17: received restart event, capturing
19:51:18: DoD3D9GPUHook: success
19:51:18: D3DSURFACE_DESC {
19:51:18: 	Format: D3DFMT_X8R8G8B8
19:51:18: 	Type: D3DRTYPE_SURFACE
19:51:18: 	Usage: D3DUSAGE_RENDERTARGET 
19:51:18: 	Pool: D3DPOOL_DEFAULT
19:51:18: 	MultiSampleType: D3DMULTISAMPLE_NONE
19:51:18: 	MultiSampleQuality: 0
19:51:18: 	Width: 1920
19:51:18: 	Height: 1080
19:51:18: };
19:51:18: successfully capturing d3d9 frames via GPU
19:51:36: ---------------------- Cleared D3D9 Capture ----------------------
19:51:36: D3D9EndScene called
19:51:36: D3D9Present called
19:51:40: received restart event, capturing
19:51:40: DoD3D9GPUHook: success
19:51:40: D3DSURFACE_DESC {
19:51:40: 	Format: D3DFMT_X8R8G8B8
19:51:40: 	Type: D3DRTYPE_SURFACE
19:51:40: 	Usage: D3DUSAGE_RENDERTARGET 
19:51:40: 	Pool: D3DPOOL_DEFAULT
19:51:40: 	MultiSampleType: D3DMULTISAMPLE_NONE
19:51:40: 	MultiSampleQuality: 0
19:51:40: 	Width: 1920
19:51:40: 	Height: 1080
19:51:40: };
19:51:40: successfully capturing d3d9 frames via GPU
19:55:42: ---------------------- Cleared D3D9 Capture ----------------------
19:55:42: D3D9EndScene called
19:55:42: D3D9Present called
 

Boildown

Active Member
You have a nice CPU and GPU. However, the evidence suggests that OBS can't encode fast enough, not that your ISP is holding you back.

19:55:42: Total frames encoded: 11346, total frames duplicated: 255 (2.25%)
19:55:42: Total frames rendered: 11117, number of late frames: 35 (0.31%) (it's okay for some frames to be late)

What are you running besides OBS? If it isn't just your game, get rid of it. What game are you playing? You might try increasing the processing priority of OBS.
 

Fenwick17

Member
I am playing League of Legends so not an intense game for me. CPU is overclocked to 4.3 but OBS doesnt say that.
Just spotify, skype, OBS and firefox. The rest i close
 

Gigasnail

New Member
I have the EXACT same problem.

I have seen this problem all over forums from evga, obs, various isp providers and twitch. Have never seen a solution.

Have tried every recommendation suggested. 100d/20up, various obs settings, full rebuild, fresh installs, isp tech support, isp physically inspected, new modem, etc. Nothing.

My stream Twitch.tv/Gigasnail worked fine until Jan. 1st. For ~ a year. Personally I don't think it's an OBS issue as xsplit, fme and other broadcast software has the same issue. That being said I could be 100% wrong.

What windows service pack are you running?
 

Fenwick17

Member
Not at my PC atm so cant tell you the exact service pack, but all of my PC is up to date drivers, and OBS etc. Havent gave xsplit a try but i will just as a test.
My PC has no performance issues when streaming which is good, however frames still drop constantly which is a bit confusing to me
 

Rick37

New Member
Yeah I have the exact same issue. I think it's a combination of something twitch has done with their servers and how it affects the different streaming programs. I have a 4mb upload speed and used to stream 2500kb all the time with no dropped frames. Now I can't even stream 1000kb with obs without still losing some frames. I posted on this same topic a few months ago with no help really except to call my ISP which wasn't even the problem. I unfortunately have to use other software now just to be able to stream close to 2500kb. It's frustrating.
 

dodgepong

Administrator
Community Helper
I'll post this link once again before this thread spirals out of control with a thousand people saying "me too": viewtopic.php?f=5&t=8870

That is literally a 100% exhaustive list of all the things you can try to alleviate the problem of dropped frames. Lower bit rate (a lot), change servers, try other streaming services, check for throttling, make sure you're not streaming over wireless, try bypassing your router, check your router for QoS, try disabling firewalls, update network drivers...

I mean, if you have really tried all these things to their fullest degree and nothing helps, then there's nothing else we can do to help you. Dropped frames are caused by insufficient network connection to the streaming server, so the issue has to be network-related.
 

Fenwick17

Member
ShaperProbe results:
Code:
Estimating capacity:
Upstream: 4592 Kbps.
Downstream: 37074 Kbps.

The measurement will take upto 2.5 minutes. Please wait.

Checking for traffic shapers:

Upstream: No shaper detected.
Median received rate: 4256 Kbps.

My recent logfile from todays attempt
Code:
13:17:55: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
13:17:55: -------------------------------
13:17:55: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
13:17:55: CPU Speed: 3500MHz
13:17:55: Physical Memory:  16334MB Total, 11094MB Free
13:17:55: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
13:17:55: monitor 1: pos={0, 0}, size={1920, 1080}
13:17:55: monitor 2: pos={1920, 0}, size={1920, 1080}
13:17:55: Windows Version: 6.1 Build 7601 S
13:17:55: Aero is Enabled
13:17:55: -------------------------------
13:17:55: OBS Modules:
13:17:55: Base Address     Module
13:17:55: 000000003F040000 OBS.exe
13:17:55: 00000000EB040000 OBSApi.dll
13:17:55: 00000000F3F60000 DShowPlugin.dll
13:17:55: 00000000F3F30000 GraphicsCapture.dll
13:17:55: 00000000F3B40000 NoiseGate.dll
13:17:55: 00000000F2D10000 PSVPlugin.dll
13:17:55: 00000000F2CF0000 scenesw.dll
13:17:55: ------------------------------------------
13:17:55: Adapter 1
13:17:55:   Video Adapter: NVIDIA GeForce GTX 680
13:17:55:   Video Adapter Dedicated Video Memory: 2087387136
13:17:55:   Video Adapter Shared System Memory: 2147807232
13:17:55:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
13:17:55:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
13:17:55: =====Stream Start: 2014-01-13, 13:17:55===============================================
13:17:55:   Multithreaded optimizations: On
13:17:55:   Base resolution: 1920x1080
13:17:55:   Output resolution: 1280x720
13:17:55: ------------------------------------------
13:17:55: Loading up D3D10 on NVIDIA GeForce GTX 680 (Adapter 1)...
13:17:55: ------------------------------------------
13:17:55: Audio Format: 48000hz
13:17:55: Playback device Default
13:17:55: ------------------------------------------
13:17:55: Using desktop audio input: Speakers (Sound Blaster Z)
13:17:55: Using 5.1 speaker setup
13:17:55: ------------------------------------------
13:17:55: Using auxilary audio input: Microphone (2- AT2020USB+)
13:17:55: ------------------------------------------
13:17:55: Audio Encoding: AAC
13:17:55:     bitrate: 128
13:17:55: ------------------------------------------
13:17:55:     device: Microsoft LifeCam HD-3000,
13:17:55:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
13:17:55:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
13:17:55:     use buffering: false - 0, fourCC: 'YUY2'
13:17:55:     audio device: Disable,
13:17:55:     audio device id Disabled,
13:17:55: 
13:17:55: Using directshow input
13:17:56: Using text output
13:17:56: Using graphics capture
13:17:56: Scene buffering time set to 400
13:17:56: ------------------------------------------
13:17:56: Video Encoding: x264
13:17:56:     fps: 30
13:17:56:     width: 1280, height: 720
13:17:56:     preset: veryfast
13:17:56:     profile: main
13:17:56:     keyint: 60
13:17:56:     CBR: yes
13:17:56:     CFR: yes
13:17:56:     max bitrate: 2000
13:17:56:     buffer size: 2000
13:17:56: ------------------------------------------
13:17:56: MMDeviceAudioSource: Frequency for device 'Speakers (Sound Blaster Z)' is 2304000, samples per sec is 96000
13:17:56: MMDeviceAudioSource: Frequency for device 'Microphone (2- AT2020USB+)' is 352800, samples per sec is 44100
13:17:56: SharedTexCapture hooked
13:17:57: Total frames encoded: 11, total frames duplicated: 0 (0.00%)
13:17:57: Total frames rendered: 27, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
13:17:58: 
13:17:58: Profiler time results:
13:17:58: 
13:17:58: ==============================================================
13:17:58: video thread frame - [100%] [avg time: 1.682 ms] [children: 22.5%] [unaccounted: 77.5%]
13:17:58: | scene->Preprocess - [17.5%] [avg time: 0.295 ms]
13:17:58: | GPU download and conversion - [4.93%] [avg time: 0.083 ms] [children: 4.88%] [unaccounted: 0.0595%]
13:17:58: | | flush - [4.4%] [avg time: 0.074 ms]
13:17:58: | | CopyResource - [0.416%] [avg time: 0.007 ms]
13:17:58: | | conversion to 4:2:0 - [0.0595%] [avg time: 0.001 ms]
13:17:58: Convert444Threads - [100%] [avg time: 0.419 ms] [children: 99.5%] [unaccounted: 0.477%]
13:17:58: | Convert444toNV12 - [99.5%] [avg time: 0.417 ms]
13:17:58: encoder thread frame - [100%] [avg time: 1.542 ms]
13:17:58: ==============================================================
13:17:58: 
13:17:58: 
13:17:58: Profiler CPU results:
13:17:58: 
13:17:58: ==============================================================
13:17:58: video thread frame - [cpu time: avg 0.577 ms, total 15.6 ms] [avg calls per frame: 1]
13:17:58: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:17:58: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:17:58: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:17:58: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
13:17:58: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
13:17:58: Convert444Threads - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 2]
13:17:58: | Convert444toNV12 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 2]
13:17:58: encoder thread frame - [cpu time: avg 1.418 ms, total 15.6 ms] [avg calls per frame: 1]
13:17:58: ==============================================================
13:17:58: 
13:17:58: =====Stream End: 2014-01-13, 13:17:58=================================================
13:18:10: Settings::Video: Enabling Aero
13:18:11: =====Stream Start: 2014-01-13, 13:18:11===============================================
13:18:11:   Multithreaded optimizations: On
13:18:11:   Base resolution: 1920x1080
13:18:11:   Output resolution: 1280x720
13:18:11: ------------------------------------------
13:18:11: Loading up D3D10 on NVIDIA GeForce GTX 680 (Adapter 1)...
13:18:11: ------------------------------------------
13:18:11: Audio Format: 48000hz
13:18:11: Playback device Default
13:18:11: ------------------------------------------
13:18:11: Using desktop audio input: Speakers (Sound Blaster Z)
13:18:11: Using 5.1 speaker setup
13:18:11: ------------------------------------------
13:18:11: Using auxilary audio input: Microphone (2- AT2020USB+)
13:18:12: ------------------------------------------
13:18:12: Audio Encoding: AAC
13:18:12:     bitrate: 128
13:18:12: ------------------------------------------
13:18:12:     device: Microsoft LifeCam HD-3000,
13:18:12:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
13:18:12:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
13:18:12:     use buffering: false - 0, fourCC: 'YUY2'
13:18:12:     audio device: Disable,
13:18:12:     audio device id Disabled,
13:18:12: 
13:18:12: Using directshow input
13:18:12: Using text output
13:18:12: Using graphics capture
13:18:12: Scene buffering time set to 400
13:18:12: ------------------------------------------
13:18:12: Video Encoding: x264
13:18:12:     fps: 60
13:18:12:     width: 1280, height: 720
13:18:12:     preset: veryfast
13:18:12:     profile: main
13:18:12:     keyint: 120
13:18:12:     CBR: yes
13:18:12:     CFR: yes
13:18:12:     max bitrate: 2500
13:18:12:     buffer size: 2500
13:18:12: ------------------------------------------
13:18:12: MMDeviceAudioSource: Frequency for device 'Speakers (Sound Blaster Z)' is 2304000, samples per sec is 96000
13:18:12: MMDeviceAudioSource: Frequency for device 'Microphone (2- AT2020USB+)' is 352800, samples per sec is 44100
13:18:12: SharedTexCapture hooked
13:18:14: Using RTMP service: Twitch / Justin.tv
13:18:14:   Server selection: rtmp://live-fra.justin.tv/app
13:18:14:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
13:18:14: Completed handshake with rtmp://live-fra.justin.tv/app in 450 ms.
13:18:15: SO_SNDBUF was at 8192
13:18:15: SO_SNDBUF is now 65536
13:19:33: RTMPPublisher::SocketLoop: Stalled for 2171 ms to write 334937 bytes (buffer: 0 / 335872), unstable connection?
13:19:35: RTMPPublisher::SocketLoop: Stalled for 1864 ms to write 333581 bytes (buffer: 0 / 335872), unstable connection?
13:19:37: RTMPPublisher::SocketLoop: Stalled for 1630 ms to write 334785 bytes (buffer: 0 / 335872), unstable connection?
13:19:42: Total frames encoded: 5384, total frames duplicated: 7 (0.13%)
13:19:42: Total frames rendered: 5393, number of late frames: 1 (0.02%) (it's okay for some frames to be late)
13:19:43: RTMPPublisher::SocketLoop: Graceful loop exit
13:19:43: Average send payload: 8314 bytes, average send interval: 25 ms
13:19:43: Number of times waited to send: 8, Waited for a total of 29821 bytes
13:19:43: Number of b-frames dropped: 81 (1.6%), Number of p-frames dropped: 82 (1.6%), Total 163 (3.1%)
13:19:43: Number of bytes sent: 27994604
13:19:43: 
13:19:43: Profiler time results:
13:19:43: 
13:19:43: ==============================================================
13:19:43: video thread frame - [100%] [avg time: 0.59 ms] [children: 19.2%] [unaccounted: 80.8%]
13:19:43: | scene->Preprocess - [5.76%] [avg time: 0.034 ms]
13:19:43: | GPU download and conversion - [13.4%] [avg time: 0.079 ms] [children: 9.66%] [unaccounted: 3.73%]
13:19:43: | | flush - [8.14%] [avg time: 0.048 ms]
13:19:43: | | CopyResource - [1.36%] [avg time: 0.008 ms]
13:19:43: | | conversion to 4:2:0 - [0.169%] [avg time: 0.001 ms]
13:19:43: Convert444Threads - [100%] [avg time: 0.47 ms] [children: 99.4%] [unaccounted: 0.638%]
13:19:43: | Convert444toNV12 - [99.4%] [avg time: 0.467 ms]
13:19:43: encoder thread frame - [100%] [avg time: 0.775 ms]
13:19:43: ==============================================================
13:19:43: 
13:19:43: 
13:19:43: Profiler CPU results:
13:19:43: 
13:19:43: ==============================================================
13:19:43: video thread frame - [cpu time: avg 0.023 ms, total 124.8 ms] [avg calls per frame: 1]
13:19:43: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:19:43: | GPU download and conversion - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
13:19:43: | | flush - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
13:19:43: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:19:43: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
13:19:43: Convert444Threads - [cpu time: avg 0.416 ms, total 4461.63 ms] [avg calls per frame: 2]
13:19:43: | Convert444toNV12 - [cpu time: avg 0.411 ms, total 4414.83 ms] [avg calls per frame: 2]
13:19:43: encoder thread frame - [cpu time: avg 0.032 ms, total 171.601 ms] [avg calls per frame: 1]
13:19:43: ==============================================================
13:19:43: 
13:19:43: =====Stream End: 2014-01-13, 13:19:43=================================================
13:20:12: Settings::Video: Enabling Aero
13:20:26: =====Stream Start: 2014-01-13, 13:20:26===============================================
13:20:26:   Multithreaded optimizations: On
13:20:26:   Base resolution: 1920x1080
13:20:26:   Output resolution: 1280x720
13:20:26: ------------------------------------------
13:20:26: Loading up D3D10 on NVIDIA GeForce GTX 680 (Adapter 1)...
13:20:26: ------------------------------------------
13:20:26: Audio Format: 48000hz
13:20:26: Playback device Default
13:20:26: ------------------------------------------
13:20:26: Using desktop audio input: Speakers (Sound Blaster Z)
13:20:26: Using 5.1 speaker setup
13:20:26: ------------------------------------------
13:20:26: Using auxilary audio input: Microphone (2- AT2020USB+)
13:20:26: ------------------------------------------
13:20:26: Audio Encoding: AAC
13:20:26:     bitrate: 128
13:20:26: ------------------------------------------
13:20:26:     device: Microsoft LifeCam HD-3000,
13:20:26:     device id \\?\usb#vid_045e&pid_0779&mi_00#7&38c3a9e6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
13:20:26:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-1333333
13:20:26:     use buffering: false - 0, fourCC: 'YUY2'
13:20:26:     audio device: Disable,
13:20:26:     audio device id Disabled,
13:20:26: 
13:20:26: Using directshow input
13:20:26: Using text output
13:20:26: Using graphics capture
13:20:26: Scene buffering time set to 400
13:20:26: ------------------------------------------
13:20:26: Video Encoding: x264
13:20:26:     fps: 30
13:20:26:     width: 1280, height: 720
13:20:26:     preset: veryfast
13:20:26:     profile: main
13:20:26:     keyint: 60
13:20:26:     CBR: yes
13:20:26:     CFR: yes
13:20:26:     max bitrate: 2500
13:20:26:     buffer size: 2500
13:20:26: ------------------------------------------
13:20:26: MMDeviceAudioSource: Frequency for device 'Speakers (Sound Blaster Z)' is 2304000, samples per sec is 96000
13:20:26: MMDeviceAudioSource: Frequency for device 'Microphone (2- AT2020USB+)' is 352800, samples per sec is 44100
13:20:26: SharedTexCapture hooked
13:20:28: Using RTMP service: Twitch / Justin.tv
13:20:28:   Server selection: rtmp://live-fra.justin.tv/app
13:20:28:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 100 mbps)
13:20:29: Completed handshake with rtmp://live-fra.justin.tv/app in 468 ms.
13:20:30: SO_SNDBUF was at 8192
13:20:30: SO_SNDBUF is now 65536
13:21:57: RTMPPublisher::SocketLoop: Stalled for 1715 ms to write 331843 bytes (buffer: 0 / 335872), unstable connection?
13:23:25: Exit signal received, terminating capture
13:23:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
13:23:25:   New Scene
13:23:25: Using Monitor Capture
13:24:44: RTMPPublisher::SocketLoop: Stalled for 1653 ms to write 334393 bytes (buffer: 0 / 335872), unstable connection?
13:24:46: RTMPPublisher::SocketLoop: Stalled for 1531 ms to write 334452 bytes (buffer: 0 / 335872), unstable connection?
13:24:48: RTMPPublisher::SocketLoop: Stalled for 1820 ms to write 335382 bytes (buffer: 0 / 335872), unstable connection?
13:24:54: Total frames encoded: 8023, total frames duplicated: 288 (3.59%)
13:24:54: Total frames rendered: 7809, number of late frames: 220 (2.82%) (it's okay for some frames to be late)
13:24:55: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
13:24:55: Average send payload: 12413 bytes, average send interval: 38 ms
13:24:55: Number of times waited to send: 18, Waited for a total of 70177 bytes
13:24:55: Number of b-frames dropped: 52 (0.66%), Number of p-frames dropped: 52 (0.66%), Total 104 (1.3%)
13:24:55: Number of bytes sent: 86066256
13:24:55: 
13:24:55: Profiler time results:
13:24:55: 
13:24:55: ==============================================================
13:24:55: video thread frame - [100%] [avg time: 11.016 ms] [children: 95.9%] [unaccounted: 4.13%]
13:24:55: | scene->Preprocess - [95.3%] [avg time: 10.499 ms]
13:24:55: | GPU download and conversion - [0.563%] [avg time: 0.062 ms] [children: 0.427%] [unaccounted: 0.136%]
13:24:55: | | flush - [0.327%] [avg time: 0.036 ms]
13:24:55: | | CopyResource - [0.0817%] [avg time: 0.009 ms]
13:24:55: | | conversion to 4:2:0 - [0.0182%] [avg time: 0.002 ms]
13:24:55: Convert444Threads - [100%] [avg time: 0.437 ms] [children: 99.3%] [unaccounted: 0.686%]
13:24:55: | Convert444toNV12 - [99.3%] [avg time: 0.434 ms]
13:24:55: encoder thread frame - [100%] [avg time: 0.754 ms]
13:24:55: ==============================================================
13:24:55: 
13:24:55: 
13:24:55: Profiler CPU results:
13:24:55: 
13:24:55: ==============================================================
13:24:55: video thread frame - [cpu time: avg 1.532 ms, total 11965.3 ms] [avg calls per frame: 1]
13:24:55: | scene->Preprocess - [cpu time: avg 1.39 ms, total 10857.7 ms] [avg calls per frame: 1]
13:24:55: | GPU download and conversion - [cpu time: avg 0.019 ms, total 156 ms] [avg calls per frame: 1]
13:24:55: | | flush - [cpu time: avg 0.011 ms, total 93.6 ms] [avg calls per frame: 1]
13:24:55: | | CopyResource - [cpu time: avg 0.004 ms, total 31.2 ms] [avg calls per frame: 1]
13:24:55: | | conversion to 4:2:0 - [cpu time: avg 0.002 ms, total 15.6 ms] [avg calls per frame: 1]
13:24:55: Convert444Threads - [cpu time: avg 0.497 ms, total 7753.25 ms] [avg calls per frame: 2]
13:24:55: | Convert444toNV12 - [cpu time: avg 0.496 ms, total 7737.65 ms] [avg calls per frame: 2]
13:24:55: encoder thread frame - [cpu time: avg 0.027 ms, total 218.401 ms] [avg calls per frame: 1]
13:24:55: ==============================================================
13:24:55: 
13:24:55: =====Stream End: 2014-01-13, 13:24:55=================================================


Last game capture log:
2014-01-13, 13:17:56: we're booting up: 
13:17:56: CaptureThread: attached to process League of Legends.exe
13:17:56: D3D9 Present
13:17:56: DXGI Present
13:17:56: D3D9EndScene called
13:17:56: D3DPRESENT_PARAMETERS {
13:17:56: 	BackBufferWidth: 1920
13:17:56: 	BackBufferHeight: 1080
13:17:56: 	BackBufferFormat: D3DFMT_X8R8G8B8
13:17:56: 	BackBufferCount: 1
13:17:56: 	MultiSampleType: D3DMULTISAMPLE_NONE
13:17:56: 	MultiSampleQuality: 0
13:17:56: 	SwapEffect: D3DSWAPEFFECT_DISCARD
13:17:56: 	hDeviceWindow: 1180338
13:17:56: 	Windowed: true
13:17:56: 	EnableAutoDepthStencil: true
13:17:56: 	AutoDepthStencilFormat: D3DFMT_D24S8
13:17:56: 	Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 
13:17:56: 	FullScreen_RefreshRateInHz: 0
13:17:56: 	PresentationInterval: 2147483648
13:17:56: };
13:17:56: successfully set up d3d9 hooks
13:17:56: D3D9Present called
13:17:56: DoD3D9GPUHook: success
13:17:56: D3DSURFACE_DESC {
13:17:56: 	Format: D3DFMT_X8R8G8B8
13:17:56: 	Type: D3DRTYPE_SURFACE
13:17:56: 	Usage: D3DUSAGE_RENDERTARGET 
13:17:56: 	Pool: D3DPOOL_DEFAULT
13:17:56: 	MultiSampleType: D3DMULTISAMPLE_NONE
13:17:56: 	MultiSampleQuality: 0
13:17:56: 	Width: 1920
13:17:56: 	Height: 1080
13:17:56: };
13:17:56: successfully capturing d3d9 frames via GPU
13:17:56: NV Capture available
13:17:56: FBO available
13:17:56: GL Present
13:17:56: (half life scientist) everything..  seems to be in order
13:17:58: ---------------------- Cleared D3D9 Capture ----------------------
13:17:58: D3D9EndScene called
13:17:58: D3D9Present called
13:18:12: received restart event, capturing
13:18:12: DoD3D9GPUHook: success
13:18:12: D3DSURFACE_DESC {
13:18:12: 	Format: D3DFMT_X8R8G8B8
13:18:12: 	Type: D3DRTYPE_SURFACE
13:18:12: 	Usage: D3DUSAGE_RENDERTARGET 
13:18:12: 	Pool: D3DPOOL_DEFAULT
13:18:12: 	MultiSampleType: D3DMULTISAMPLE_NONE
13:18:12: 	MultiSampleQuality: 0
13:18:12: 	Width: 1920
13:18:12: 	Height: 1080
13:18:12: };
13:18:12: successfully capturing d3d9 frames via GPU
13:19:43: ---------------------- Cleared D3D9 Capture ----------------------
13:19:43: D3D9EndScene called
13:19:43: D3D9Present called
13:20:26: received restart event, capturing
13:20:26: DoD3D9GPUHook: success
13:20:26: D3DSURFACE_DESC {
13:20:26: 	Format: D3DFMT_X8R8G8B8
13:20:26: 	Type: D3DRTYPE_SURFACE
13:20:26: 	Usage: D3DUSAGE_RENDERTARGET 
13:20:26: 	Pool: D3DPOOL_DEFAULT
13:20:26: 	MultiSampleType: D3DMULTISAMPLE_NONE
13:20:26: 	MultiSampleQuality: 0
13:20:26: 	Width: 1920
13:20:26: 	Height: 1080
13:20:26: };
13:20:26: successfully capturing d3d9 frames via GPU

This has all been tested on Frankfurt, London and Amsterdam. I am from England and all servers cause similar results of dropped frames after a few minutes. This appears to occur regardless of what settings i use 60/30fps and ive tried from 1500-3500bit rate.
Any further setting alterations you recommend? Tested with xsplit free license and i was not dropping frames from that so not sure if im having a compatibility issue
 

Rick37

New Member
dodgepong said:
I'll post this link once again before this thread spirals out of control with a thousand people saying "me too": https://obsproject.com/forum/viewtopic.php?f=5&t=8870

That is literally a 100% exhaustive list of all the things you can try to alleviate the problem of dropped frames. Lower bit rate (a lot), change servers, try other streaming services, check for throttling, make sure you're not streaming over wireless, try bypassing your router, check your router for QoS, try disabling firewalls, update network drivers...

I mean, if you have really tried all these things to their fullest degree and nothing helps, then there's nothing else we can do to help you. Dropped frames are caused by insufficient network connection to the streaming server, so the issue has to be network-related.

Yeah I tried all of those things in that thread but sadly none of them helped. I wish if possible that OBS would contact twitch and perhaps find out what server changes they have made which have affected the program so much. A lot of people who stream at 1000kb or less may not be affected that much. it's those who like to have high quality streams that are having the most issues. Hopefully one day it will be solved.
 

Rick37

New Member
Well here is a log of the same problem I've been having. Hopefully someone can help with a solution. It would be much appreciated.


Code:
22:03:53: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
22:03:53: -------------------------------
22:03:53: CPU Name: AMD Phenom(tm) II X4 945 Processor
22:03:53: CPU Speed: 3214MHz
22:03:53: Physical Memory:  8190MB Total, 6348MB Free
22:03:53: stepping id: 2, model 4, family 16, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
22:03:53: monitor 1: pos={0, 0}, size={1366, 768}
22:03:53: Windows Version: 6.2 Build 9200 
22:03:53: Aero is Enabled
22:03:53: -------------------------------
22:03:53: OBS Modules:
22:03:53: Base Address     Module
22:03:53: 00000000772C0000 OBS.exe
22:03:53: 00000000B7240000 OBSApi.dll
22:03:53: 00000000B9BC0000 DShowPlugin.dll
22:03:53: 00000000B9330000 GraphicsCapture.dll
22:03:53: 00000000B9D50000 NoiseGate.dll
22:03:53: 00000000B9210000 PSVPlugin.dll
22:03:53: ------------------------------------------
22:03:53: Adapter 1
22:03:53:   Video Adapter: NVIDIA GeForce GTX 260
22:03:53:   Video Adapter Dedicated Video Memory: 905052160
22:03:53:   Video Adapter Shared System Memory: 3354996736
22:03:53:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
22:03:53: =====Stream Start: 2014-01-15, 22:03:53===============================================
22:03:53:   Multithreaded optimizations: On
22:03:53:   Base resolution: 960x540
22:03:53:   Output resolution: 960x540
22:03:53: ------------------------------------------
22:03:53: Loading up D3D10 on NVIDIA GeForce GTX 260 (Adapter 1)...
22:03:53: ------------------------------------------
22:03:53: Audio Format: 44100hz
22:03:53: Playback device {0.0.0.00000000}.{d2289f52-3957-448a-ae1d-d58f6bc2af20}
22:03:53: ------------------------------------------
22:03:53: Using desktop audio input: Realtek Digital Output (Realtek High Definition Audio)
22:03:53: ------------------------------------------
22:03:53: Using auxilary audio input: Realtek Digital Input (Realtek High Definition Audio)
22:03:53: ------------------------------------------
22:03:53: Audio Encoding: AAC
22:03:53:     bitrate: 128
22:03:53: Using Window Capture
22:03:53: Using bitmap image
22:03:53: Using bitmap image
22:03:53: Using Monitor Capture
22:03:53: Scene buffering time set to 700
22:03:53: ------------------------------------------
22:03:53: Video Encoding: x264
22:03:53:     fps: 60
22:03:53:     width: 960, height: 540
22:03:53:     preset: veryfast
22:03:53:     profile: main
22:03:53:     keyint: 120
22:03:53:     CBR: yes
22:03:53:     CFR: no
22:03:53:     max bitrate: 2500
22:03:53:     buffer size: 2500
22:03:53: ------------------------------------------
22:03:53: MMDeviceAudioSource: Frequency for device 'Realtek Digital Output (Realtek High Definition Audio)' is 384000, samples per sec is 48000
22:03:53: MMDeviceAudioSource: Frequency for device 'Realtek Digital Input (Realtek High Definition Audio)' is 352800, samples per sec is 44100
22:03:55: Using RTMP service: Twitch / Justin.tv
22:03:55:   Server selection: rtmp://live-ord.justin.tv/app
22:03:55:   Interface: NVIDIA nForce Networking Controller (ethernet, 1000 mbps)
22:03:55: Completed handshake with rtmp://live-ord.justin.tv/app in 270 ms.
22:03:56: SO_SNDBUF was at 65536
22:03:56: SO_SNDBUF is now 65536
22:04:02: RTMPPublisher::SocketLoop: Stalled for 2312 ms to write 335312 bytes (buffer: 0 / 335872), unstable connection?
22:04:06: RTMPPublisher::SocketLoop: Stalled for 2693 ms to write 335747 bytes (buffer: 0 / 335872), unstable connection?
22:04:09: RTMPPublisher::SocketLoop: Stalled for 2386 ms to write 335466 bytes (buffer: 0 / 335872), unstable connection?
22:04:12: RTMPPublisher::SocketLoop: Stalled for 3161 ms to write 334919 bytes (buffer: 0 / 335872), unstable connection?
22:04:14: RTMPPublisher::SocketLoop: Stalled for 2474 ms to write 332282 bytes (buffer: 0 / 335872), unstable connection?
22:04:17: Total frames encoded: 1353, total frames duplicated: 36 (2.66%)
22:04:17: Total frames rendered: 1361, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
22:04:17: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
22:04:17: Average send payload: 124629 bytes, average send interval: 713 ms
22:04:17: Number of times waited to send: 8, Waited for a total of 27028 bytes
22:04:17: Number of b-frames dropped: 330 (28%), Number of p-frames dropped: 321 (27%), Total 651 (56%)
22:04:17: Number of bytes sent: 2991107
22:04:18: 
22:04:18: Profiler time results:
22:04:18: 
22:04:18: ==============================================================
22:04:18: video thread frame - [100%] [avg time: 4.327 ms] [children: 91%] [unaccounted: 9.04%]
22:04:18: | scene->Preprocess - [6.49%] [avg time: 0.281 ms]
22:04:18: | GPU download and conversion - [84.5%] [avg time: 3.655 ms] [children: 86.9%] [unaccounted: -2.45%]
22:04:18: | | flush - [1.04%] [avg time: 0.045 ms]
22:04:18: | | CopyResource - [85.4%] [avg time: 3.696 ms]
22:04:18: | | conversion to 4:2:0 - [0.462%] [avg time: 0.02 ms]
22:04:18: Convert444Threads - [100%] [avg time: 0.461 ms] [children: 98.9%] [unaccounted: 1.08%]
22:04:18: | Convert444toNV12 - [98.9%] [avg time: 0.456 ms]
22:04:18: encoder thread frame - [100%] [avg time: 0.875 ms]
22:04:18: ==============================================================
22:04:18: 
22:04:18: 
22:04:18: Profiler CPU results:
22:04:18: 
22:04:18: ==============================================================
22:04:18: video thread frame - [cpu time: avg 2.097 ms, total 2854.82 ms] [avg calls per frame: 1]
22:04:18: | scene->Preprocess - [cpu time: avg 0.011 ms, total 15.6 ms] [avg calls per frame: 1]
22:04:18: | GPU download and conversion - [cpu time: avg 2.086 ms, total 2839.22 ms] [avg calls per frame: 1]
22:04:18: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
22:04:18: | | CopyResource - [cpu time: avg 2.15 ms, total 2823.62 ms] [avg calls per frame: 1]
22:04:18: | | conversion to 4:2:0 - [cpu time: avg 0.011 ms, total 15.601 ms] [avg calls per frame: 1]
22:04:18: Convert444Threads - [cpu time: avg 0.255 ms, total 670.804 ms] [avg calls per frame: 2]
22:04:18: | Convert444toNV12 - [cpu time: avg 0.255 ms, total 670.804 ms] [avg calls per frame: 2]
22:04:18: encoder thread frame - [cpu time: avg 0.035 ms, total 46.8 ms] [avg calls per frame: 1]
22:04:18: ==============================================================
22:04:18: 
22:04:18: =====Stream End: 2014-01-15, 22:04:18=================================================
 

dodgepong

Administrator
Community Helper
That log clearly shows you're having RTMP stalling, which means you can't push video to the streaming server fast enough over your connection to the server. Try again with a lower bit rate, and keep lowering it until it starts working.
 

Rick37

New Member
Well I don't know what's changed the past few months When I download and upload files I get my max upload speed of 4mb which has always been plenty to stream 2500kb, I've even streamed 3000kb before without this problem. I've been having this issue with OBS since November. If I use ffsplit this does not happen but it I can only stream up to 1800Kb on that one withoug having any problems. The way OBS works for me now it will drop frames even when I've lowered it to 1000kb. I have two hard drives one with windows 7 and the other with windows 8 and they both do the same thing now with OBS. It makes no sense at all. Not sure what is causing the problem at this point.
 

Boildown

Active Member
Your NVIDIA GeForce GTX 260 isn't fast enough to run OBS well, certainly not at 60fps. I had one of those, and I was lucky if I could do 20fps on UltraFast.

Second, turn Constant Frame Rate back on (i.e. Yes).

Third, lower your bitrate to 1000, let it run for five minutes, and post a new log file.

Fourth, "Total frames encoded: 1353, total frames duplicated: 36 (2.66%)" - Duplicated frames means your computer isn't keeping up. You've sorta compensated by making the stream size smaller (540p), but not enough. This is irrespective of your internet not being able to handle the bitrate. Reduce the fps to 30 for starters.

Fifth, make your own thread instead of hijacking someone else's. Its likely that your two cases aren't actually that similar.
 

Rick37

New Member
You couldn't be further wrong, I've ran it that way for months no problem in the past. cpu usage is 20% and at 720p it would be around 30%, If I use 30fps the cpu usage is only 1/2 of that. Anyway u didn't help anybody anyway so who cares what you think since u obviously don't know much about computers. Hijacking don't make me laugh. Oh yeah and btw the problem has nothing to do with the fps, it's all because of the bit rate which should not be happening.

User was warned for this post.
 
Top