Question / Help FPS drops on every game when i stream :(

Mumblez2013

New Member
Hi guys,

Tha problem im having is that every game i try to stream, the FPS drop instantly. On League of legends, without streaming i have constant 60 FPs. When i start streaming, it drops to roughly 30-40FPS. Somtimes in a team fight it will go to around 20FPS. Also, I have tried to stream borderlands, Outlast and Starcraft 2 and every game drops frame rates.

I am posting this log so you can get some information.

Code:
00:12:53: Open Broadcaster Software v0.584b - 64bit ( ^ω^)
00:12:53: -------------------------------
00:12:53: CPU Name: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
00:12:53: CPU Speed: 2394MHz
00:12:53: Physical Memory:  8125MB Total, 5209MB Free
00:12:53: stepping id: 11, model 15, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 4, total cores 4
00:12:53: monitor 1: pos={0, 0}, size={1920, 1080}
00:12:53: Windows Version: 6.2 Build 9200 
00:12:53: Aero is Enabled
00:12:53: -------------------------------
00:12:53: OBS Modules:
00:12:53: Base Address     Module
00:12:53: 0000000035070000 OBS.exe
00:12:53: 00000000E1D50000 OBSApi.dll
00:12:53: 00000000E5820000 DShowPlugin.dll
00:12:53: 00000000EA160000 GraphicsCapture.dll
00:12:53: 00000000E8440000 NoiseGate.dll
00:12:53: 00000000E70D0000 PSVPlugin.dll
00:12:53: 00000000E6780000 scenesw.dll
00:12:53: ------------------------------------------
00:12:53: Adapter 1
00:12:53:   Video Adapter: NVIDIA GeForce GTS 450
00:12:53:   Video Adapter Dedicated Video Memory: 1018621952
00:12:53:   Video Adapter Shared System Memory: 3221106688
00:12:53:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:12:53: =====Stream Start: 2013-12-12, 00:12:53===============================================
00:12:53:   Multithreaded optimizations: On
00:12:53:   Base resolution: 1920x1080
00:12:53:   Output resolution: 1280x720
00:12:53: ------------------------------------------
00:12:53: Loading up D3D10 on NVIDIA GeForce GTS 450...
00:12:53: ------------------------------------------
00:12:53: Audio Format: 48000hz
00:12:53: Playback device Default
00:12:53: ------------------------------------------
00:12:53: Using desktop audio input: Speakers (High Definition Audio Device)
00:12:53: ------------------------------------------
00:12:53: Using auxilary audio input: Microphone (High Definition Audio Device)
00:12:53: ------------------------------------------
00:12:53: Audio Encoding: AAC
00:12:53:     bitrate: 128
00:12:53: ------------------------------------------
00:12:53:     device: Logitech HD Webcam C270,
00:12:53:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&64323f0&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:12:53:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
00:12:53:     use buffering: false - 0, fourCC: 'I420'
00:12:53:     audio device: Disable,
00:12:53:     audio device id Disabled,
00:12:53: 
00:12:53: Using directshow input
00:12:53: Using graphics capture
00:12:53: Scene buffering time set to 400
00:12:53: Using custom x264 settings: "opencl=true"
00:12:54: ------------------------------------------
00:12:54: Video Encoding: x264
00:12:54:     fps: 60
00:12:54:     width: 1280, height: 720
00:12:54:     preset: veryfast
00:12:54:     profile: high
00:12:54:     keyint: 250
00:12:54:     CBR: yes
00:12:54:     CFR: no
00:12:54:     max bitrate: 2500
00:12:54:     buffer size: 1500
00:12:54: ------------------------------------------
00:12:54: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
00:12:54: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
00:12:54: SharedTexCapture hooked
00:14:08: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:14:08: SharedTexCapture hooked
00:14:35: Total frames encoded: 6038, total frames duplicated: 693 (11.48%)
00:14:35: Number of frames skipped due to encoder lag: 345 (5.71%)
00:14:35: Total frames rendered: 5665, number of late frames: 45 (0.79%) (it's okay for some frames to be late)
00:14:35: 
00:14:35: Profiler time results:
00:14:35: 
00:14:35: ==============================================================
00:14:35: video thread frame - [100%] [avg time: 3.02 ms] [children: 82.3%] [unaccounted: 17.7%]
00:14:35: | scene->Preprocess - [42.5%] [avg time: 1.284 ms]
00:14:35: | GPU download and conversion - [39.8%] [avg time: 1.201 ms] [children: 33.6%] [unaccounted: 6.16%]
00:14:35: | | flush - [21.4%] [avg time: 0.645 ms]
00:14:35: | | CopyResource - [11.8%] [avg time: 0.357 ms]
00:14:35: | | conversion to 4:2:0 - [0.43%] [avg time: 0.013 ms]
00:14:35: Convert444Threads - [100%] [avg time: 2.046 ms] [children: 99.3%] [unaccounted: 0.733%]
00:14:35: | Convert444toNV12 - [99.3%] [avg time: 2.031 ms]
00:14:35: encoder thread frame - [100%] [avg time: 5.546 ms]
00:14:35: ==============================================================
00:14:35: 
00:14:35: 
00:14:35: Profiler CPU results:
00:14:35: 
00:14:35: ==============================================================
00:14:35: video thread frame - [cpu time: avg 1.453 ms, total 8236.85 ms] [avg calls per frame: 1]
00:14:35: | scene->Preprocess - [cpu time: avg 1.101 ms, total 6240.04 ms] [avg calls per frame: 1]
00:14:35: | GPU download and conversion - [cpu time: avg 0.176 ms, total 998.412 ms] [avg calls per frame: 1]
00:14:35: | | flush - [cpu time: avg 0.134 ms, total 764.41 ms] [avg calls per frame: 1]
00:14:35: | | CopyResource - [cpu time: avg 0.022 ms, total 124.801 ms] [avg calls per frame: 1]
00:14:35: | | conversion to 4:2:0 - [cpu time: avg 0.011 ms, total 62.4 ms] [avg calls per frame: 1]
00:14:35: Convert444Threads - [cpu time: avg 1.636 ms, total 18439.3 ms] [avg calls per frame: 2]
00:14:35: | Convert444toNV12 - [cpu time: avg 1.625 ms, total 18314.5 ms] [avg calls per frame: 2]
00:14:35: encoder thread frame - [cpu time: avg 2.884 ms, total 17347.3 ms] [avg calls per frame: 1]
00:14:35: ==============================================================
00:14:35: 
00:14:35: =====Stream End: 2013-12-12, 00:14:35=================================================
00:14:36: =====Stream Start: 2013-12-12, 00:14:36===============================================
00:14:36:   Multithreaded optimizations: On
00:14:36:   Base resolution: 1920x1080
00:14:36:   Output resolution: 1280x720
00:14:36: ------------------------------------------
00:14:36: Loading up D3D10 on NVIDIA GeForce GTS 450...
00:14:36: ------------------------------------------
00:14:36: Audio Format: 48000hz
00:14:36: Playback device Default
00:14:36: ------------------------------------------
00:14:36: Using desktop audio input: Speakers (High Definition Audio Device)
00:14:36: ------------------------------------------
00:14:36: Using auxilary audio input: Microphone (High Definition Audio Device)
00:14:36: ------------------------------------------
00:14:36: Audio Encoding: AAC
00:14:36:     bitrate: 128
00:14:36: ------------------------------------------
00:14:36:     device: Logitech HD Webcam C270,
00:14:36:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&64323f0&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
00:14:36:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000
00:14:36:     use buffering: false - 0, fourCC: 'I420'
00:14:36:     audio device: Disable,
00:14:36:     audio device id Disabled,
00:14:36: 
00:14:36: Using directshow input
00:14:36: Using graphics capture
00:14:36: Scene buffering time set to 400
00:14:36: Using custom x264 settings: "opencl=true"
00:14:36: ------------------------------------------
00:14:36: Video Encoding: x264
00:14:36:     fps: 60
00:14:36:     width: 1280, height: 720
00:14:36:     preset: veryfast
00:14:36:     profile: high
00:14:36:     keyint: 250
00:14:36:     CBR: yes
00:14:36:     CFR: no
00:14:36:     max bitrate: 2500
00:14:36:     buffer size: 1500
00:14:36: ------------------------------------------
00:14:36: MMDeviceAudioSource: Frequency for device 'Speakers (High Definition Audio Device)' is 352800, samples per sec is 44100
00:14:36: MMDeviceAudioSource: Frequency for device 'Microphone (High Definition Audio Device)' is 352800, samples per sec is 44100
00:14:36: SharedTexCapture hooked
00:14:38: Using RTMP service: Twitch / Justin.tv
00:14:38:   Server selection: rtmp://live.justin.tv/app
00:14:38:   Interface: Intel(R) 82566DC-2 Gigabit Network Connection (ethernet, 100 mbps)
00:14:38: Completed handshake with rtmp://live.justin.tv/app in 318 ms.
00:14:39: SO_SNDBUF was at 65536
00:14:39: SO_SNDBUF is now 65536
00:14:41: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 53138 / 335872)
00:14:41: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 335872)
00:14:45: GraphicsCaptureSource::NewCapture:  eliminating old capture
00:14:45: SharedTexCapture hooked
00:16:19: RTMPPublisher::SocketLoop: Stalled for 4003 ms to write 334784 bytes (buffer: 0 / 335872), unstable connection?
00:16:36: Capture window 0x000B03CE invalid or changing, terminating capture
00:16:40: RTMPPublisher::SocketLoop: Received FD_CLOSE, 20823 ms since last send (buffer: 333373 / 335872)
00:16:40: RTMPPublisher::SocketLoop: Aborting due to FD_CLOSE, error 10053
00:16:41: Total frames encoded: 7451, total frames duplicated: 2357 (31.63%)
00:16:41: Number of frames skipped due to encoder lag: 1628 (21.85%)
00:16:41: Total frames rendered: 5701, number of late frames: 174 (3.05%) (it's okay for some frames to be late)
00:16:41: Average send payload: 5653 bytes, average send interval: 17 ms
00:16:41: Number of times waited to send: 3, Waited for a total of 12291 bytes
00:16:41: Number of b-frames dropped: 126 (1.7%), Number of p-frames dropped: 149 (2.1%), Total 275 (3.8%)
00:16:41: Number of bytes sent: 31799165
00:16:41: 
00:16:41: Profiler time results:
00:16:41: 
00:16:41: ==============================================================
00:16:41: video thread frame - [100%] [avg time: 3.23 ms] [children: 85.2%] [unaccounted: 14.8%]
00:16:41: | scene->Preprocess - [45.8%] [avg time: 1.478 ms]
00:16:41: | GPU download and conversion - [39.4%] [avg time: 1.274 ms] [children: 24.6%] [unaccounted: 14.9%]
00:16:41: | | flush - [11.2%] [avg time: 0.361 ms]
00:16:41: | | CopyResource - [12.6%] [avg time: 0.406 ms]
00:16:41: | | conversion to 4:2:0 - [0.805%] [avg time: 0.026 ms]
00:16:41: Convert444Threads - [100%] [avg time: 2.106 ms] [children: 99.1%] [unaccounted: 0.855%]
00:16:41: | Convert444toNV12 - [99.1%] [avg time: 2.088 ms]
00:16:41: encoder thread frame - [100%] [avg time: 9.615 ms]
00:16:41: ==============================================================
00:16:41: 
00:16:41: 
00:16:41: Profiler CPU results:
00:16:41: 
00:16:41: ==============================================================
00:16:41: video thread frame - [cpu time: avg 1.524 ms, total 8689.26 ms] [avg calls per frame: 1]
00:16:41: | scene->Preprocess - [cpu time: avg 1.173 ms, total 6692.44 ms] [avg calls per frame: 1]
00:16:41: | GPU download and conversion - [cpu time: avg 0.164 ms, total 936.007 ms] [avg calls per frame: 1]
00:16:41: | | flush - [cpu time: avg 0.128 ms, total 733.205 ms] [avg calls per frame: 1]
00:16:41: | | CopyResource - [cpu time: avg 0.019 ms, total 109.202 ms] [avg calls per frame: 1]
00:16:41: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:16:41: Convert444Threads - [cpu time: avg 1.664 ms, total 18876.1 ms] [avg calls per frame: 2]
00:16:41: | Convert444toNV12 - [cpu time: avg 1.659 ms, total 18813.7 ms] [avg calls per frame: 2]
00:16:41: encoder thread frame - [cpu time: avg 3.127 ms, total 23228.5 ms] [avg calls per frame: 1]
00:16:41: ==============================================================
00:16:41: 
00:16:41: =====Stream End: 2013-12-12, 00:16:41=================================================

Also, here is a link to my internet speedtest:

http://www.speedtest.net/my-result/3159795632

Any help would be much appreciated.

Thanks.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It could be that your system isn't particularly powerful, because you're capturing and encoding 720p at 60fps. It has 4 cores, but it's not particularly fast. I would probably recommend reducing resolution and/or framerate and seeing if that helps.
 
Top