Question / Help OBS setting help required!

Fianlevel

New Member
Hi, I wanted to start streaming some League of Legends on twitch. I live in Toronto, Canada east and my internet is 25 down and 5-7up.

My computer specifications:
Processor: Intel Core i5-2500K
(RAM) 6GB
64-bit operating system
Graphic card: GeForce GTX 465

Current OBS settings:
Max bitrate 3000
Server US East: Miami FL
Resolution 1920 1080
FPS: 30

League of legends setting
Graphics : Low everything
Frame Rate Cap : Uncapped

I was wondering what settings would best work so that I can have my league Graphics at medium.
I tried having medium everything with
OBS FPS set to 60 as well but it gives me WARNING HIGH ENCODING even when I put the max bitrate down to 2600.
 

Fianlevel

New Member
Code:
00:27:06: Open Broadcaster Software v0.637b - 32bit (´・ω・`)
00:27:06: -------------------------------
00:27:06: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
00:27:06: CPU Speed: 3292MHz
00:27:06: Physical Memory:  4095MB Total, 2433MB Free
00:27:06: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
00:27:06: monitor 1: pos={1920, 180}, size={1440, 900}
00:27:06: monitor 2: pos={0, 0}, size={1920, 1080}
00:27:06: Windows Version: 6.1 Build 7601 S
00:27:06: Aero is Disabled
00:27:06: -------------------------------
00:27:06: OBS Modules:
00:27:06: Base Address     Module
00:27:06: 013C0000         OBS.exe
00:27:06: 595D0000         OBSApi.dll
00:27:06: 6FB10000         DShowPlugin.dll
00:27:06: 6B010000         GraphicsCapture.dll
00:27:06: 6F500000         LolSceneSwitch.dll
00:27:06: 69870000         NoiseGate.dll
00:27:06: 6EDB0000         PSVPlugin.dll
00:27:06: ------------------------------------------
00:27:06: Adapter 1
00:27:06:   Video Adapter: NVIDIA GeForce GTX 465
00:27:06:   Video Adapter Dedicated Video Memory: 1024917504
00:27:06:   Video Adapter Shared System Memory: 2942922752
00:27:06:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:27:06:   Video Adapter Output 2: pos={1920, 180}, size={1440, 900}, attached=true
00:27:06: =====Stream Start: 2014-11-08, 00:27:06===============================================
00:27:06:   Multithreaded optimizations: On
00:27:06:   Base resolution: 1920x1080
00:27:06:   Output resolution: 1920x1080
00:27:06: ------------------------------------------
00:27:06: Loading up D3D10 on NVIDIA GeForce GTX 465 (Adapter 1)...
00:27:06: ------------------------------------------
00:27:06: Audio Format: 48000 Hz
00:27:06: ------------------------------------------
00:27:06: Audio Channels: 2 Ch
00:27:06: Playback device {0.0.0.00000000}.{491d8003-8195-43e5-ab65-e4e237f5b0de}
00:27:06: ------------------------------------------
00:27:06: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:27:06: Global Audio time adjust: 0
00:27:06: ------------------------------------------
00:27:06: Using auxilary audio input: Microphone (Blue Snowball )
00:27:06: Mic time offset: 0
00:27:06: ------------------------------------------
00:27:06: Audio Encoding: AAC
00:27:06:     bitrate: 128
00:27:06: Using Monitor Capture
00:27:06: Scene buffering time set to 400
00:27:06: Using custom x264 settings: "crf=20 vbv-maxrate=0 vbv-bufsize=0"
00:27:06: ------------------------------------------
00:27:06: Video Encoding: x264
00:27:06:     fps: 60
00:27:06:     width: 1920, height: 1080
00:27:06:     preset: ultrafast
00:27:06:     profile: high
00:27:06:     keyint: 250
00:27:06:     CBR: yes
00:27:06:     CFR: no
00:27:06:     max bitrate: 0
00:27:06:     buffer size: 0
00:27:06: ------------------------------------------
00:27:06: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:27:06:   New Scene
00:27:06: Using graphics capture
00:27:06: Trying to hook process: League of Legends.exe
00:27:06: SharedTexCapture hooked
00:35:20: Exit signal received, terminating capture
00:35:20: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
00:35:20:   New Scene
00:35:20: Using Monitor Capture
01:23:47: Audio timestamp for device 'Microphone (Blue Snowball )' was behind target timestamp by 80
01:26:49: FlushBufferedVideo: Flushing 33 packets over 533 ms
01:26:50: Total frames encoded: 214985, total frames duplicated: 55541 (25.83%)
01:26:50: Total frames rendered: 159573, number of late frames: 55011 (34.47%) (it's okay for some frames to be late)
01:26:50:
01:26:50: Profiler time results:
01:26:50:
01:26:50: ==============================================================
01:26:50: video thread frame - [100%] [avg time: 19.782 ms] [children: 97.2%] [unaccounted: 2.81%]
01:26:50: | scene->Preprocess - [27.8%] [avg time: 5.5 ms]
01:26:50: | GPU download and conversion - [69.4%] [avg time: 13.726 ms] [children: 3.75%] [unaccounted: 65.6%]
01:26:50: | | flush - [3.62%] [avg time: 0.717 ms]
01:26:50: | | CopyResource - [0.096%] [avg time: 0.019 ms]
01:26:50: | | conversion to 4:2:0 - [0.0253%] [avg time: 0.005 ms]
01:26:50: Convert444Threads - [100%] [avg time: 1.164 ms] [children: 99.1%] [unaccounted: 0.859%]
01:26:50: | Convert444toNV12 - [99.1%] [avg time: 1.154 ms]
01:26:50: encoder thread frame - [100%] [avg time: 1.364 ms] [children: 2.86%] [unaccounted: 97.1%]
01:26:50: | sending stuff out - [2.86%] [avg time: 0.039 ms]
01:26:50: ==============================================================
01:26:50:
01:26:50:
01:26:50: Profiler CPU results:
01:26:50:
01:26:50: ==============================================================
01:26:50: video thread frame - [cpu time: avg 2.771 ms, total 442310 ms] [avg calls per frame: 1]
01:26:50: | scene->Preprocess - [cpu time: avg 2.257 ms, total 360284 ms] [avg calls per frame: 1]
01:26:50: | GPU download and conversion - [cpu time: avg 0.176 ms, total 28220.6 ms] [avg calls per frame: 1]
01:26:50: | | flush - [cpu time: avg 0.144 ms, total 23134.9 ms] [avg calls per frame: 1]
01:26:50: | | CopyResource - [cpu time: avg 0.012 ms, total 1950.01 ms] [avg calls per frame: 1]
01:26:50: | | conversion to 4:2:0 - [cpu time: avg 0.001 ms, total 218.4 ms] [avg calls per frame: 1]
01:26:50: Convert444Threads - [cpu time: avg 1.105 ms, total 352890 ms] [avg calls per frame: 2]
01:26:50: | Convert444toNV12 - [cpu time: avg 1.101 ms, total 351486 ms] [avg calls per frame: 2]
01:26:50: encoder thread frame - [cpu time: avg 1.111 ms, total 238884 ms] [avg calls per frame: 1]
01:26:50: | sending stuff out - [cpu time: avg 0.014 ms, total 3135.62 ms] [avg calls per frame: 1]
01:26:50: ==============================================================
01:26:50:
01:26:50: =====Stream End: 2014-11-08, 01:26:50=================================================
01:27:35: Terminating 0xcb4


Last game capture log:
2014-11-08, 00:27:06: we're booting up:
00:27:06: CaptureThread: attached to process League of Legends.exe
00:27:06: D3D9 Present
00:27:06: D3D9EndScene called
00:27:06: D3DPRESENT_PARAMETERS {
00:27:06:     BackBufferWidth: 1920
00:27:06:     BackBufferHeight: 1080
00:27:06:     BackBufferFormat: D3DFMT_X8R8G8B8
00:27:06:     BackBufferCount: 1
00:27:06:     MultiSampleType: D3DMULTISAMPLE_NONE
00:27:06:     MultiSampleQuality: 0
00:27:06:     SwapEffect: D3DSWAPEFFECT_DISCARD
00:27:06:     hDeviceWindow: 4261302
00:27:06:     Windowed: true
00:27:06:     EnableAutoDepthStencil: true
00:27:06:     AutoDepthStencilFormat: D3DFMT_D24S8
00:27:06:     Flags: D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL
00:27:06:     FullScreen_RefreshRateInHz: 0
00:27:06:     PresentationInterval: 2147483648
00:27:06: };
00:27:06: successfully set up d3d9 hooks
00:27:06: D3D9Present called
00:27:06: DXGI Present
00:27:06: GL Present
00:27:06: DirectDraw Present
00:27:06: (half life scientist) everything..  seems to be in order
00:27:06: DoD3D9GPUHook: success
00:27:06: D3DSURFACE_DESC {
00:27:06:     Format: D3DFMT_X8R8G8B8
00:27:06:     Type: D3DRTYPE_SURFACE
00:27:06:     Usage: D3DUSAGE_RENDERTARGET
00:27:06:     Pool: D3DPOOL_DEFAULT
00:27:06:     MultiSampleType: D3DMULTISAMPLE_NONE
00:27:06:     MultiSampleQuality: 0
00:27:06:     Width: 1920
00:27:06:     Height: 1080
00:27:06: };
00:27:06: successfully capturing d3d9 frames via GPU
[code]

And while streaming I get WARNING HIGH ENCODING
 

teacher

New Member
UNless you have a really sick upload and CPU/GPU , your FPS shouldnt be set to 60, try 30.

What is your upload speed btw.
 

Sapiens

Forum Moderator
The settings in that log look like they're for local recording, not streaming. You configure OBS very differently for the two. Which are you actually planning to do? If streaming then you absolutely need to set things like a maximum bitrate and buffer sizes (not 0), enable CFR, change your keyframe interval to 2 seconds, switch the preset back to veryfast, and put your scene buffering time back to 700ms in addition to what's already been mentioned. Resolution downscale to 1280x720 and FPS to 30 will work well for a bitrate/buffer of 2000 Kbps.
 

Fianlevel

New Member
The settings in that log look like they're for local recording, not streaming. You configure OBS very differently for the two. Which are you actually planning to do? If streaming then you absolutely need to set things like a maximum bitrate and buffer sizes (not 0), enable CFR, change your keyframe interval to 2 seconds, switch the preset back to veryfast, and put your scene buffering time back to 700ms in addition to what's already been mentioned. Resolution downscale to 1280x720 and FPS to 30 will work well for a bitrate/buffer of 2000 Kbps.

Yeah I also use OBS to record but can I not use 2 different profiles 1 for recording and 1 for streaming?

I changed my settings as you recommended. Here is the log
https://gist.github.com/c652e2ac7dd8641e04bd

And here the test stream with the settings
http://www.twitch.tv/isueyou2/b/586666533

Now is there anything I can do to further improve my quality? Also is the quality limited by my computer spec or just the upload speed?
 
Last edited:

Sapiens

Forum Moderator
You can use two different profiles sure, but your OP asked about streaming and the log file was apparently from a local recording attempt (the settings for which have their own issues) so I wanted to verify which you were actually trying to do. If you're asking for help with a streaming issue then a log file from a local recording session doesn't really help.
 

Fianlevel

New Member
You can use two different profiles sure, but your OP asked about streaming and the log file was apparently from a local recording attempt (the settings for which have their own issues) so I wanted to verify which you were actually trying to do. If you're asking for help with a streaming issue then a log file from a local recording session doesn't really help.

https://gist.github.com/6fa4dcb4532c8a44cc87

That should be it. I did what it says. Under Help -> Log Files and the most recent one.

If I am posting the wrong log how do you get a log for streaming?
 
Last edited:

Sapiens

Forum Moderator
All of your stream settings are fine but you definitely shouldn't use monitor capture in Windows 7, it performs very poorly. If you want to capture both the lobby and the game then the best method would be to set up two separate scenes, one with a game capture source for the game and the other with a window capture source for the lobby. Make sure Aero is enabled so window capture performance isn't affected.
 
Top