Question / Help Streaming Issues with League Of Legends

Zakalelol

New Member
Hey all I am having issues streaming LOL for some reason it might be something in the settings im assuming because i get around 300 FPS in game without streaming then cant hold 60FPS while streaming. any and all suggestions would be fantastic if you need any information please let me know.
 

Zakalelol

New Member
My OBS Settings are as follows: Use CBR (checked) Enable CBR Padding (Checked) 7 QB 2500 Max Bit/buffer size Use custom buffer size (checked) Audio AAC 128 Bit 48Khz stereo. Video Adapter AMD Radeon HD 7900 Series. Custom Resolution 1920x1080 Resolution Downscale 1.50 (1280x720) Filter Bilinear, 29FPS disable aero (unchecked) audio settings are only for my headset as i don't use speakers. Advance: Use multithreaded optimizations (checked) normal process priority class Scene buffering time 400 milliseconds disable encoding while reviewing (unchecked) Allow other modifiers on hotkeys (checked) x264CPU Preset very fast x264 Encoding Profile main 2 Keyframe interval the rest unchecked default bind to interface and 20 latency tuning factor. A lot of useless information in my eyes because not very technologically savy in OBS but hopefully someone can help me at the very least get half the FPS i can when not streaming.
 

Zakalelol

New Member
Code:
13:29:35: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
13:29:35: -------------------------------
13:29:35: CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
13:29:35: CPU Speed: 3492MHz
13:29:35: Physical Memory:  4095MB Total, 4095MB Free
13:29:35: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
13:29:35: monitor 1: pos={0, 0}, size={1920, 1080}
13:29:35: Windows Version: 6.1 Build 7601 S
13:29:35: Aero is Enabled
13:29:35: -------------------------------
13:29:35: OBS Modules:
13:29:35: Base Address     Module
13:29:35: 01280000         OBS.exe
13:29:35: 6A120000         OBSApi.dll
13:29:35: 6A650000         DShowPlugin.dll
13:29:35: 6A600000         GraphicsCapture.dll
13:29:35: 6ACE0000         NoiseGate.dll
13:29:35: 6A4A0000         PSVPlugin.dll
13:29:35: ------------------------------------------
13:29:35: Adapter 1
13:29:35:   Video Adapter: AMD Radeon HD 7900 Series
13:29:35:   Video Adapter Dedicated Video Memory: 3194118144
13:29:35:   Video Adapter Shared System Memory: 1100783616
13:29:35:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
13:29:35: =====Stream Start: 2014-01-03, 13:29:35===============================================
13:29:35:   Multithreaded optimizations: On
13:29:35:   Base resolution: 1920x1080
13:29:35:   Output resolution: 1280x720
13:29:35: ------------------------------------------
13:29:35: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
13:29:35: ------------------------------------------
13:29:35: Audio Format: 48000hz
13:29:35: Playback device {0.0.0.00000000}.{e0fa54aa-f7af-4c61-9226-0af85d2f9925}
13:29:35: ------------------------------------------
13:29:35: Using desktop audio input: Speakers (Realtek High Definition Audio)
13:29:35: ------------------------------------------
13:29:35: Using auxilary audio input: Microphone (Realtek High Definition Audio)
13:29:35: ------------------------------------------
13:29:35: Audio Encoding: AAC
13:29:35:     bitrate: 128
13:29:35: ------------------------------------------
13:29:35:     device: Kodak S101 Webcam,
13:29:35:     device id \\?\usb#vid_0979&pid_0206&mi_00#7&c1bea44&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
13:29:35:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
13:29:35:     use buffering: false - 0, fourCC: 'YUY2'
13:29:35:     audio device: Disable,
13:29:35:     audio device id Disabled,
13:29:35: 
13:29:35: Using directshow input
13:29:35: Using graphics capture
13:29:35: Using Window Capture
13:29:35: Scene buffering time set to 400
13:29:35: ------------------------------------------
13:29:35: Video Encoding: x264
13:29:35:     fps: 29
13:29:35:     width: 1280, height: 720
13:29:35:     preset: veryfast
13:29:35:     profile: main
13:29:35:     keyint: 58
13:29:35:     CBR: yes
13:29:35:     CFR: no
13:29:35:     max bitrate: 2500
13:29:35:     buffer size: 2500
13:29:35: ------------------------------------------
13:29:35: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 768000, samples per sec is 96000
13:29:35: MMDeviceAudioSource: Frequency for device 'Microphone (Realtek High Definition Audio)' is 768000, samples per sec is 96000
13:29:37: Using RTMP service: Twitch / Justin.tv
13:29:37:   Server selection: rtmp://live-lax.justin.tv/app
13:29:37:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
13:29:37: Completed handshake with rtmp://live-lax.justin.tv/app in 48 ms.
13:29:38: SO_SNDBUF was at 8192
13:29:38: SO_SNDBUF is now 65536
13:29:40: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 3344 / 335872)
13:29:42: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 335872)
13:36:40: SharedTexCapture hooked
13:59:36: GraphicsCaptureSource::NewCapture:  eliminating old capture
13:59:36: SharedTexCapture hooked
14:05:57: Exit signal received, terminating capture
14:06:45: SharedTexCapture hooked
14:07:57: GraphicsCaptureSource::NewCapture:  eliminating old capture
14:07:57: SharedTexCapture hooked
14:08:09: GraphicsCaptureSource::NewCapture:  eliminating old capture
14:08:09: SharedTexCapture hooked
14:08:30: Exit signal received, terminating capture
14:16:12: SharedTexCapture hooked
14:24:39: GraphicsCaptureSource::NewCapture:  eliminating old capture
14:24:39: SharedTexCapture hooked
14:53:22: Exit signal received, terminating capture
14:53:30: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
14:53:30:   New Scene
14:53:30: Using Window Capture
14:53:30: ------------------------------------------
14:53:30:     device: Kodak S101 Webcam,
14:53:30:     device id \\?\usb#vid_0979&pid_0206&mi_00#7&c1bea44&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
14:53:30:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
14:53:30:     use buffering: false - 0, fourCC: 'YUY2'
14:53:30:     audio device: Disable,
14:53:30:     audio device id Disabled,
14:53:30: 
14:53:30: Using directshow input
14:53:30: Using bitmap image
14:54:04: Total frames encoded: 146965, total frames duplicated: 130 (0.09%)
14:54:04: Number of frames skipped due to encoder lag: 13 (0.01%)
14:54:04: Total frames rendered: 146922, number of late frames: 11 (0.01%) (it's okay for some frames to be late)
14:54:04: RTMPPublisher::SocketLoop: Aborting due to WSAEnumNetworkEvents failure, 10038
14:54:04: Average send payload: 8564 bytes, average send interval: 25 ms
14:54:04: Number of times waited to send: 0, Waited for a total of 0 bytes
14:54:04: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:54:04: Number of bytes sent: 1668213219
14:54:04: 
14:54:04: Profiler time results:
14:54:04: 
14:54:04: ==============================================================
14:54:04: video thread frame - [100%] [avg time: 1.662 ms] [children: 50%] [unaccounted: 50%]
14:54:04: | scene->Preprocess - [36.1%] [avg time: 0.6 ms]
14:54:04: | GPU download and conversion - [13.9%] [avg time: 0.231 ms] [children: 12.3%] [unaccounted: 1.56%]
14:54:04: | | flush - [11%] [avg time: 0.182 ms]
14:54:04: | | CopyResource - [1.08%] [avg time: 0.018 ms]
14:54:04: | | conversion to 4:2:0 - [0.301%] [avg time: 0.005 ms]
14:54:04: Convert444Threads - [100%] [avg time: 0.87 ms] [children: 98.7%] [unaccounted: 1.26%]
14:54:04: | Convert444toNV12 - [98.7%] [avg time: 0.859 ms]
14:54:04: encoder thread frame - [100%] [avg time: 2.038 ms]
14:54:04: ==============================================================
14:54:04: 
14:54:04: 
14:54:04: Profiler CPU results:
14:54:04: 
14:54:04: ==============================================================
14:54:04: video thread frame - [cpu time: avg 0.656 ms, total 96424.2 ms] [avg calls per frame: 1]
14:54:04: | scene->Preprocess - [cpu time: avg 0.142 ms, total 20888.5 ms] [avg calls per frame: 1]
14:54:04: | GPU download and conversion - [cpu time: avg 0.112 ms, total 16582.9 ms] [avg calls per frame: 1]
14:54:04: | | flush - [cpu time: avg 0.067 ms, total 9921.66 ms] [avg calls per frame: 1]
14:54:04: | | CopyResource - [cpu time: avg 0.018 ms, total 2652.02 ms] [avg calls per frame: 1]
14:54:04: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 842.406 ms] [avg calls per frame: 1]
14:54:04: Convert444Threads - [cpu time: avg 0.855 ms, total 251411 ms] [avg calls per frame: 2]
14:54:04: | Convert444toNV12 - [cpu time: avg 0.849 ms, total 249711 ms] [avg calls per frame: 2]
14:54:04: encoder thread frame - [cpu time: avg 1.436 ms, total 211147 ms] [avg calls per frame: 1]
14:54:04: ==============================================================
14:54:04: 
14:54:04: =====Stream End: 2014-01-03, 14:54:04=================================================


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

Boildown

Active Member
Turn Constant Frame Rate to Yes / On.

Your computer seems to be very capable, you might try changing the process priority of OBS downwards.

Alternatively limit the number of threads it can use downwards, by default its using 12, and it doesn't need nearly so many on your CPU. To do this, go to Settings > Advanced. Check "Custom x264 Encoder Settings". In the text box, add "threads=?" but replace ? with a number you tweak. By default it'll be 12 for your CPU; change it downwards. I'd try 10 (threads=10) and work your way lower as you test. If you see your late/skipped/duplicated frames in the OBS log file start to increase towards 1% instead of nearly 0% as you have now, you've lowered it too much.

Also, why are you using 29 FPS instead of 30 FPS? 30 FPS is probably better for most broadcasters and viewers.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
As far as I can tell everything in OBS is actually running fine, and your PC should be more than capable of handling league while streaming with those settings. Just to be clear - the game itself is actually having FPS issues?

Very unusual with that setup in the log. It shouldn't affect league in the slightest really, I have a weaker system than you and I've tested league of legends extensively and have never encountered any real significant frame rate drop at all. I feel like something else might be interfering, but I couldn't really say for sure. It says you have window capture active while in-game. What are you capturing with window capture?

I don't think Boildown's advice should be necessary at all with your system (the advice isn't bad at all just to be clear, but I'm just saying it shouldn't be necessary at all)
 

Zakalelol

New Member
Yes when im not streaming i clearly get say 200+ frames that bounce between 85-285 while playing. When OBS gets turned on it goes straight to 60 or less and just bounces. I feel like it Hogs to much of my CPU or something.
 

Zakalelol

New Member
Also the Window Capture is on for the League window like the pre window where you que and what not. afterwards its not capturing anything
 
Top