Question / Help low fps while streaming LoL

Draknishar

New Member
I seem to be having issues with streaming league of legends, I feel I should be able to stream and still have normal 60fps in-game no problem but this does not seem to be the case. Any help would be appreciated.

Code:
21:02:59: Open Broadcaster Software v0.542b - 64bit ( ^ω^)
21:02:59: -------------------------------
21:02:59: CPU Name: AMD Phenom(tm) II X6 1090T Processor
21:02:59: CPU Speed: 3214MHz
21:02:59: Physical Memory:  12285MB Total, 8334MB Free
21:02:59: stepping id: 0, model 10, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 6, total cores 6
21:02:59: monitor 1: pos={0, 0}, size={1920, 1200}
21:02:59: monitor 2: pos={1920, 0}, size={1920, 1200}
21:02:59: Windows Version: 6.1 Build 7600 
21:02:59: Aero is Disabled
21:02:59: -------------------------------
21:02:59: OBS Modules:
21:02:59: Base Address     Module
21:02:59: 000000003F210000 OBS.exe
21:02:59: 00000000F2C90000 OBSApi.dll
21:02:59: 00000000F6610000 DShowPlugin.dll
21:02:59: 00000000F65E0000 GraphicsCapture.dll
21:02:59: 00000000F70D0000 NoiseGate.dll
21:02:59: 00000000FAF60000 PSVPlugin.dll
21:02:59: ------------------------------------------
21:02:59: Adapter 1
21:02:59:   Video Adapter: NVIDIA GeForce GTX 460
21:02:59:   Video Adapter Dedicated Video Memory: 774307840
21:02:59:   Video Adapter Shared System Memory: 3489497088
21:02:59: =====Stream Start: 2013-07-25, 21:02:59===============================================
21:02:59:   Multithreaded optimizations: On
21:02:59:   Base resolution: 1920x1200
21:02:59:   Output resolution: 1920x1200
21:02:59: ------------------------------------------
21:02:59: Loading up D3D10...
21:02:59: Playback device Default
21:02:59: ------------------------------------------
21:02:59: Using desktop audio input: Headphones (High Definition Audio Device)
21:02:59: ------------------------------------------
21:02:59: Using auxilary audio input: Microphone (VF0700 Live! Cam Chat HD)
21:02:59: ------------------------------------------
21:02:59: Audio Encoding: MP3
21:02:59:     bitrate: 96
21:02:59: ------------------------------------------
21:02:59:     device: Live! Cam Chat HD (VF0700),
21:02:59:     device id \\?\usb#vid_041e&pid_4088&mi_00#7&370fa0c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
21:02:59:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'YUY2'
21:02:59:     audio device: Disable,
21:02:59:     audio device id Disabled,
21:02:59: 
21:02:59: Using directshow input
21:02:59: Using graphics capture
21:02:59: Using Monitor Capture
21:02:59: ------------------------------------------
21:02:59: Video Encoding: x264
21:02:59:     fps: 24
21:02:59:     width: 1920, height: 1200
21:02:59:     preset: veryfast
21:02:59:     CBR: yes
21:02:59:     CFR: yes
21:02:59:     max bitrate: 5000
21:02:59: ------------------------------------------
21:02:59: SharedTexCapture hooked
21:03:01: Using RTMP service: Twitch / Justin.tv
21:03:01:   Server selection: rtmp://live-lhr.justin.tv/app
21:03:03: SO_SNDBUF was at 8192
21:03:03: SO_SNDBUF is now 65536
21:10:45: Exit signal received, terminating capture
21:11:07: Total frames rendered: 11710, number of frames that lagged: 5 (0.04%) (it's okay for some frames to lag)
21:11:07: Total duplicated frames: 6 (0.05%)
21:11:07: RTMPPublisher::SocketLoop: Aborting due to loop exit
21:11:07: librtmp error: WriteN, RTMP send error 10035 (84 bytes)
21:11:07: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
21:11:07: Number of times waited to send: 0, Waited for a total of 0 bytes
21:11:07: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:11:07: =====Stream End: 2013-07-25, 21:11:07=================================================
21:11:09: =====Stream Start: 2013-07-25, 21:11:09===============================================
21:11:09:   Multithreaded optimizations: On
21:11:09:   Base resolution: 1920x1200
21:11:09:   Output resolution: 960x600
21:11:09: ------------------------------------------
21:11:09: Loading up D3D10...
21:11:09: Playback device Default
21:11:09: ------------------------------------------
21:11:09: Using desktop audio input: Headphones (High Definition Audio Device)
21:11:09: ------------------------------------------
21:11:09: Using auxilary audio input: Microphone (VF0700 Live! Cam Chat HD)
21:11:09: ------------------------------------------
21:11:09: Audio Encoding: MP3
21:11:09:     bitrate: 96
21:11:09: ------------------------------------------
21:11:09:     device: Live! Cam Chat HD (VF0700),
21:11:09:     device id \\?\usb#vid_041e&pid_4088&mi_00#7&370fa0c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
21:11:09:     chosen type: YUY2, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'YUY2'
21:11:09:     audio device: Disable,
21:11:09:     audio device id Disabled,
21:11:09: 
21:11:09: Using directshow input
21:11:09: Using graphics capture
21:11:09: Using Monitor Capture
21:11:09: ------------------------------------------
21:11:09: Video Encoding: x264
21:11:09:     fps: 24
21:11:09:     width: 960, height: 600
21:11:09:     preset: veryfast
21:11:09:     CBR: yes
21:11:09:     CFR: yes
21:11:09:     max bitrate: 5000
21:11:09: ------------------------------------------
21:11:11: Using RTMP service: Twitch / Justin.tv
21:11:11:   Server selection: rtmp://live-lhr.justin.tv/app
21:11:13: SO_SNDBUF was at 8192
21:11:13: SO_SNDBUF is now 65536
21:12:08: SharedTexCapture hooked
21:18:23: Total frames rendered: 10422, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
21:18:23: Total duplicated frames: 0 (0.00%)
21:18:24: RTMPPublisher::SocketLoop: Aborting due to bStopping
21:18:24: Number of times waited to send: 0, Waited for a total of 0 bytes
21:18:24: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:18:24: =====Stream End: 2013-07-25, 21:18:24=================================================
21:18:27: 
21:18:27: Profiler results:
21:18:27: 
21:18:27: ==============================================================
21:18:27: frame - [100%] [avg time: 18.322 ms (cpu time: avg 10.748 ms, total 237886 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.0327%]
21:18:27: | frame preprocessing and rendering - [76.5%] [avg time: 14.009 ms (cpu time: avg 6.654 ms, total 147281 ms)] [avg calls per frame: 1] [children: 71.7%] [unaccounted: 4.73%]
21:18:27: | | scene->Preprocess - [71.7%] [avg time: 13.143 ms (cpu time: avg 5.87 ms, total 129918 ms)] [avg calls per frame: 1]
21:18:27: | video encoding and uploading - [23.5%] [avg time: 4.307 ms (cpu time: avg 4.089 ms, total 90511.8 ms)] [avg calls per frame: 1] [children: 23.3%] [unaccounted: 0.24%]
21:18:27: | | flush - [0.649%] [avg time: 0.119 ms (cpu time: avg 0.098 ms, total 2184.01 ms)] [avg calls per frame: 1]
21:18:27: | | CopyResource - [0.131%] [avg time: 0.024 ms (cpu time: avg 0.021 ms, total 468 ms)] [avg calls per frame: 0]
21:18:27: | | conversion to 4:2:0 - [0.409%] [avg time: 0.075 ms (cpu time: avg 0.026 ms, total 577.206 ms)] [avg calls per frame: 0]
21:18:27: | | call to encoder - [21.7%] [avg time: 3.969 ms (cpu time: avg 3.861 ms, total 85457.4 ms)] [avg calls per frame: 0]
21:18:27: | | sending stuff out - [0.415%] [avg time: 0.076 ms (cpu time: avg 0.065 ms, total 1450.81 ms)] [avg calls per frame: 0]
21:18:27: | Convert444Threads - [909%] [avg time: 166.531 ms (cpu time: avg 5.93 ms, total 131244 ms)] [avg calls per frame: 3]
21:18:27: ==============================================================
21:18:27:
 

alpinlol

Active Member
turn of cfr and lower bitrate to something around 2,5k-3,5k 960x600 at 30 fps should be no real problem.
 

gwkalrod

New Member
your cpu is going to have trouble keeping up your frame rate in game while encoding at 1920x1200

trying reducing your output resolution to 720p and lowering your bitrate to around 4k
 

Kharay

Member
Instead of just taking a wild guess at the bitrate, how about running an upload test here? Be sure to pick a server near to the one you've been streaming to. Ideally both should be near you.

Secondly, even when encoding at 1900x1200 there was only a 0.04% framelag and still a 0% framedrop. Meaning both his PC and connection were actually keeping up fine.

However, I do agree with lowering to 720p. Stick with 720p @ 60 FPS with a bitrate at CBR and an amount that is meaningful -- For the record, Twitch.TV frowns upon anyone consistently going over 3500 Kbps. So, if your connection can in fact maintain such speeds, just keep it at 3000 - 3500 Kbps tops.

Also, please disable CFR while streaming, it is counter-productive for streaming purposes and really only ever should be used when creating a local recording.
 
Top