Question / Help Streaming Settings

wallop

New Member
Hello guys,

I tought about starting streaming again and I see that OBS has a lot of new features now with the recent updates, that's a great thing!

But in my case, I got lost in the settings and I'm not sure what I should use and how to scale this because I have several issues with resolution scaling and achieving 60 FPS. Anyhow, here are my relevant pc specs and upload speeds. I wish to stream on twitch and I have in mind to stream at 720p or higher at 60 FPS ( the scaling within obs is weird because the resolution on my main monitor is 2560x1440 and it won't let me downscale to 1080p, only 720p and some other stuff ) ( Dota 2, BF 4, Hearthstone, for now )

i7 Ivy clocked at 4.5 ghz.
GTX 670 2gb.
16 gb ram.

I get the lowest MS on the Frankfurt server for twitch so I did a speedtest on it.



Thanks for the help guys!
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It would probably be better to post a log (with code tags so you can analyze the file). With a log we can see where you're really lacking and if anything could use tweaking.
 

wallop

New Member
Here's the code file, not sure why it shows my cpu speed at 3500. it's at 4.2 now.
Okay, i will change the avatar :P

Code:
17:52:03: Open Broadcaster Software v0.592b - 64bit ( ^ω^)
17:52:03: -------------------------------
17:52:03: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
17:52:03: CPU Speed: 3500MHz
17:52:03: Physical Memory:  16342MB Total, 10972MB Free
17:52:03: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
17:52:03: monitor 1: pos={0, 0}, size={2560, 1440}
17:52:03: Windows Version: 6.1 Build 7601 S
17:52:03: Aero is Enabled
17:52:03: -------------------------------
17:52:03: OBS Modules:
17:52:03: Base Address     Module
17:52:03: 000000003F690000 OBS.exe
17:52:03: 00000000F4970000 OBSApi.dll
17:52:03: 00000000F7A10000 DShowPlugin.dll
17:52:03: 00000000F78B0000 GraphicsCapture.dll
17:52:03: 00000000F7A70000 NoiseGate.dll
17:52:03: 00000000F79F0000 PSVPlugin.dll
17:52:03: ------------------------------------------
17:52:03: Adapter 1
17:52:03:   Video Adapter: NVIDIA GeForce GTX 670
17:52:03:   Video Adapter Dedicated Video Memory: 2087387136
17:52:03:   Video Adapter Shared System Memory: 2147807232
17:52:03:   Video Adapter Output 1: pos={0, 0}, size={2560, 1440}, attached=true
17:52:03: =====Stream Start: 2013-12-30, 17:52:03===============================================
17:52:03:   Multithreaded optimizations: On
17:52:03:   Base resolution: 2560x1440
17:52:03:   Output resolution: 1280x720
17:52:03: ------------------------------------------
17:52:03: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
17:52:04: ------------------------------------------
17:52:04: Audio Format: 48000hz
17:52:04: Playback device Default
17:52:04: ------------------------------------------
17:52:04: Using desktop audio input: Speakers (ASUS Xonar D1 Audio Device)
17:52:04: ------------------------------------------
17:52:04: Using auxilary audio input: Microphone (ASUS Xonar D1 Audio Device)
17:52:04: ------------------------------------------
17:52:04: Audio Encoding: AAC
17:52:04:     bitrate: 128
17:52:04: Using graphics capture
17:52:04: Scene buffering time set to 400
17:52:04: ------------------------------------------
17:52:04: Video Encoding: x264
17:52:04:     fps: 60
17:52:04:     width: 1280, height: 720
17:52:04:     preset: fast
17:52:04:     profile: main
17:52:04:     keyint: 120
17:52:04:     CBR: yes
17:52:04:     CFR: yes
17:52:04:     max bitrate: 2250
17:52:04:     buffer size: 2700
17:52:04: ------------------------------------------
17:52:04: MMDeviceAudioSource: Frequency for device 'Speakers (ASUS Xonar D1 Audio Device)' is 384000, samples per sec is 48000
17:52:04: MMDeviceAudioSource: Frequency for device 'Microphone (ASUS Xonar D1 Audio Device)' is 352800, samples per sec is 44100
17:52:05: SharedTexCapture hooked
17:52:51: Total frames encoded: 2819, total frames duplicated: 2 (0.07%)
17:52:51: Total frames rendered: 2826, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
17:52:51: 
17:52:51: Profiler time results:
17:52:51: 
17:52:51: ==============================================================
17:52:51: video thread frame - [100%] [avg time: 0.501 ms] [children: 14.6%] [unaccounted: 85.4%]
17:52:51: | scene->Preprocess - [0.2%] [avg time: 0.001 ms]
17:52:51: | GPU download and conversion - [14.4%] [avg time: 0.072 ms] [children: 12.2%] [unaccounted: 2.2%]
17:52:51: | | flush - [9.18%] [avg time: 0.046 ms]
17:52:51: | | CopyResource - [2.59%] [avg time: 0.013 ms]
17:52:51: | | conversion to 4:2:0 - [0.399%] [avg time: 0.002 ms]
17:52:51: Convert444Threads - [100%] [avg time: 0.333 ms] [children: 99.1%] [unaccounted: 0.901%]
17:52:51: | Convert444toNV12 - [99.1%] [avg time: 0.33 ms]
17:52:51: encoder thread frame - [100%] [avg time: 0.718 ms]
17:52:51: ==============================================================
17:52:51: 
17:52:51: 
17:52:51: Profiler CPU results:
17:52:51: 
17:52:51: ==============================================================
17:52:51: video thread frame - [cpu time: avg 0.044 ms, total 124.8 ms] [avg calls per frame: 1]
17:52:51: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:52:51: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:52:51: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:52:51: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:52:51: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:52:51: Convert444Threads - [cpu time: avg 0.153 ms, total 858.004 ms] [avg calls per frame: 2]
17:52:51: | Convert444toNV12 - [cpu time: avg 0.153 ms, total 858.004 ms] [avg calls per frame: 2]
17:52:51: encoder thread frame - [cpu time: avg 0.022 ms, total 62.4 ms] [avg calls per frame: 1]
17:52:51: ==============================================================
17:52:51: 
17:52:51: =====Stream End: 2013-12-30, 17:52:51=================================================
17:52:55: =====Stream Start: 2013-12-30, 17:52:55===============================================
17:52:55:   Multithreaded optimizations: On
17:52:55:   Base resolution: 2560x1440
17:52:55:   Output resolution: 1280x720
17:52:55: ------------------------------------------
17:52:55: Loading up D3D10 on NVIDIA GeForce GTX 670 (Adapter 1)...
17:52:55: ------------------------------------------
17:52:55: Audio Format: 48000hz
17:52:55: Playback device Default
17:52:55: ------------------------------------------
17:52:55: Using desktop audio input: Speakers (ASUS Xonar D1 Audio Device)
17:52:55: ------------------------------------------
17:52:55: Using auxilary audio input: Microphone (ASUS Xonar D1 Audio Device)
17:52:55: ------------------------------------------
17:52:55: Audio Encoding: AAC
17:52:55:     bitrate: 128
17:52:55: Using graphics capture
17:52:55: Scene buffering time set to 400
17:52:55: ------------------------------------------
17:52:55: Video Encoding: x264
17:52:55:     fps: 60
17:52:55:     width: 1280, height: 720
17:52:55:     preset: fast
17:52:55:     profile: main
17:52:55:     keyint: 120
17:52:55:     CBR: yes
17:52:55:     CFR: yes
17:52:55:     max bitrate: 2250
17:52:55:     buffer size: 2700
17:52:55: ------------------------------------------
17:52:55: MMDeviceAudioSource: Frequency for device 'Speakers (ASUS Xonar D1 Audio Device)' is 384000, samples per sec is 48000
17:52:55: MMDeviceAudioSource: Frequency for device 'Microphone (ASUS Xonar D1 Audio Device)' is 352800, samples per sec is 44100
17:52:55: SharedTexCapture hooked
17:52:57: Using RTMP service: Twitch / Justin.tv
17:52:57:   Server selection: rtmp://live-fra.justin.tv/app
17:52:57:   Interface: Broadcom NetLink (TM) Gigabit Ethernet (ethernet, 100 mbps)
17:52:58: Completed handshake with rtmp://live-fra.justin.tv/app in 439 ms.
17:52:59: SO_SNDBUF was at 8192
17:52:59: SO_SNDBUF is now 65536
17:53:02: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 1209 / 304128)
17:53:02: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 0 / 304128)
18:27:00: Total frames encoded: 122645, total frames duplicated: 62 (0.05%)
18:27:00: Total frames rendered: 122653, number of late frames: 3 (0.00%) (it's okay for some frames to be late)
18:27:00: RTMPPublisher::SocketLoop: Graceful loop exit
18:27:00: Average send payload: 5288 bytes, average send interval: 17 ms
18:27:00: Number of times waited to send: 0, Waited for a total of 0 bytes
18:27:00: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:27:00: Number of bytes sent: 608974514
18:27:00: 
18:27:00: Profiler time results:
18:27:00: 
18:27:00: ==============================================================
18:27:00: video thread frame - [100%] [avg time: 0.452 ms] [children: 34.7%] [unaccounted: 65.3%]
18:27:00: | scene->Preprocess - [0.221%] [avg time: 0.001 ms]
18:27:00: | GPU download and conversion - [34.5%] [avg time: 0.156 ms] [children: 26.3%] [unaccounted: 8.19%]
18:27:00: | | flush - [19.5%] [avg time: 0.088 ms]
18:27:00: | | CopyResource - [6.42%] [avg time: 0.029 ms]
18:27:00: | | conversion to 4:2:0 - [0.442%] [avg time: 0.002 ms]
18:27:00: Convert444Threads - [100%] [avg time: 0.349 ms] [children: 99.1%] [unaccounted: 0.86%]
18:27:00: | Convert444toNV12 - [99.1%] [avg time: 0.346 ms]
18:27:00: encoder thread frame - [100%] [avg time: 0.72 ms]
18:27:00: ==============================================================
18:27:00: 
18:27:00: 
18:27:00: Profiler CPU results:
18:27:00: 
18:27:00: ==============================================================
18:27:00: video thread frame - [cpu time: avg 0.011 ms, total 1466.41 ms] [avg calls per frame: 1]
18:27:00: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:27:00: | GPU download and conversion - [cpu time: avg 0.002 ms, total 312.003 ms] [avg calls per frame: 1]
18:27:00: | | flush - [cpu time: avg 0.001 ms, total 218.403 ms] [avg calls per frame: 1]
18:27:00: | | CopyResource - [cpu time: avg 0 ms, total 46.8 ms] [avg calls per frame: 1]
18:27:00: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 15.6 ms] [avg calls per frame: 1]
18:27:00: Convert444Threads - [cpu time: avg 0.099 ms, total 24507.8 ms] [avg calls per frame: 2]
18:27:00: | Convert444toNV12 - [cpu time: avg 0.099 ms, total 24305 ms] [avg calls per frame: 2]
18:27:00: encoder thread frame - [cpu time: avg 0.025 ms, total 3182.42 ms] [avg calls per frame: 1]
18:27:00: ==============================================================
18:27:00: 
18:27:00: =====Stream End: 2013-12-30, 18:27:00=================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Your log output seems great - could you tell me specifically what issues you have? If anything, you might want to try 3000 bitrate if you have the bandwidth for it. 2250 is a bit low for 720p 60fps.
 

wallop

New Member
Well, sometimes I don't get 60 fps on the stream unless I duplicate the frames and the image is not so clear at times when a lot of action is going on, is this a bandwidth issue?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well that particular log seems fine, perhaps it's a flash decoding issue? Could you see if you have the same thing happen when you output to file?
 

wallop

New Member
It seems to be fine now, the only exception is that the text is not that readable cause the downsampling of the image from 1440p to 720p is too much I think, any way I could do a workaround on this? I can't even select 1080p, only 960 or something. or all the way down to 720p.
 

Sapiens

Forum Moderator
Just set your base resolution to the resolution you want, then select your source and press Ctrl+F to fit it to the new scene size. However if you plan to stream at resolutions higher than 720p please consider doing so at 30 FPS rather than 60. Flash handles high resolution+high frame rate streams poorly, they're much more demanding to encode, and they tend to look poor anyway due to Twitch's bandwidth restrictions.
 
Top