Question / Help Basic Streaming Help

Xarthis

New Member
Hello

This is my first time trying to stream so please bare with me.

I am trying to stream 3 games I play mainly, Arma 2(Dayz) SC2 and WoW.

Literally read thru a couple guides and I've been playing with settings.

Specs
AMD Phenom 2 X4 955 (OC to 3.5GHz)
8GB Ram
Nvidia 660 Ti Power Edition
I get about 56 down 10 Up for my Internet speed.

OBS Current settings
Quality 7
Max Bit: 3200 (Buffer the same)
Base Resolution 1920 x 1280
And I've Downsacled it to 1.75 (1096x730)
FPS: 30

So first off I've literally only ran it a while and ran around in game with it while live streaming.
Didn't notice any In-game FPS lag, but I did notice that the stream just didn't seem idk smooth, And would only get a possible spike here and there.

I just wana know if anyone recommends completely different settings? Literally no idea what I'm doing and I just want to be able to stream with 720p and Good Quality without hindering Performance for myself and the viewer.

Any Information would be Greatful, And if you need anything logs more information just ask!
 

Xarthis

New Member
Wow, So A huge thing I already notice is that speedtest.net shows my upload at 10.1 This website shows me at 3.6. But I see a lot of settings you have I don't have enabled or setup that way.

So I have my Base Resolution at 1920 x 1080 With a downscale of 1.5 to get me 720p

However I did not understand what you meant by Lanczos filter I google'd it and read the article but still unsure how to apply it here? Again sorry for the newbie stuff :(

****Update****

So I copied the settings, However Now I get even more of a stutter during a live stream. This happened when I was playing with it earlier and turned on CBR but not sure what the heck could be causing it. And I've already dropped 75 frames from 3 minutes of testing :(
 

Xarthis

New Member
Copy of my log from that session

03:35:38: Open Broadcaster Software v0.542b - 32bit (´・ω・`)
03:35:38: -------------------------------
03:35:38: CPU Name: AMD Phenom(tm) II X4 955 Processor
03:35:38: CPU Speed: 3500MHz
03:35:38: Physical Memory: 4095MB Total, 4095MB Free
03:35:38: stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
03:35:38: monitor 1: pos={0, 0}, size={1920, 1200}
03:35:38: monitor 2: pos={-1680, 0}, size={1680, 1050}
03:35:38: Windows Version: 6.1 Build 7601 S
03:35:38: Aero is Disabled
03:35:38: -------------------------------
03:35:38: OBS Modules:
03:35:38: Base Address Module
03:35:38: 013A0000 OBS.exe
03:35:38: 60F80000 OBSApi.dll
03:35:38: 66660000 DShowPlugin.dll
03:35:38: 665C0000 GraphicsCapture.dll
03:35:38: 665A0000 NoiseGate.dll
03:35:38: 66370000 PSVPlugin.dll
03:35:38: ------------------------------------------
03:35:38: Adapter 1
03:35:38: Video Adapter: NVIDIA GeForce GTX 660 Ti
03:35:38: Video Adapter Dedicated Video Memory: 2091319296
03:35:38: Video Adapter Shared System Memory: 2147479552
03:35:38: =====Stream Start: 2013-07-30, 03:35:38===============================================
03:35:38: Multithreaded optimizations: On
03:35:38: Base resolution: 1920x1080
03:35:38: Output resolution: 1280x720
03:35:38: ------------------------------------------
03:35:38: Loading up D3D10...
03:35:38: Playback device Default
03:35:38: ------------------------------------------
03:35:38: Using desktop audio input: Speakers (Realtek High Definition Audio)
03:35:38: ------------------------------------------
03:35:38: Using auxilary audio input: Microphone (Realtek High Definition Audio)
03:35:38: ------------------------------------------
03:35:38: Audio Encoding: AAC
03:35:38: bitrate: 128
03:35:38: Using graphics capture
03:35:38: Using custom x264 settings: "opencl=true"
03:35:42: ------------------------------------------
03:35:42: Video Encoding: x264
03:35:42: fps: 48
03:35:42: width: 1280, height: 720
03:35:42: preset: veryfast
03:35:42: CBR: yes
03:35:42: CFR: no
03:35:42: max bitrate: 3200
03:35:42: ------------------------------------------
03:35:44: SharedTexCapture hooked
03:36:58: Total frames rendered: 3679, number of frames that lagged: 3 (0.08%) (it's okay for some frames to lag)
03:36:59: =====Stream End: 2013-07-30, 03:36:59=================================================
03:36:59: =====Stream Start: 2013-07-30, 03:36:59===============================================
03:36:59: Multithreaded optimizations: On
03:36:59: Base resolution: 1920x1080
03:36:59: Output resolution: 1280x720
03:36:59: ------------------------------------------
03:36:59: Loading up D3D10...
03:36:59: Playback device Default
03:36:59: ------------------------------------------
03:36:59: Using desktop audio input: Speakers (Realtek High Definition Audio)
03:36:59: ------------------------------------------
03:36:59: Using auxilary audio input: Microphone (Realtek High Definition Audio)
03:36:59: ------------------------------------------
03:36:59: Audio Encoding: AAC
03:36:59: bitrate: 128
03:36:59: Using graphics capture
03:36:59: Using custom x264 settings: "opencl=true"
03:36:59: ------------------------------------------
03:36:59: Video Encoding: x264
03:36:59: fps: 48
03:36:59: width: 1280, height: 720
03:36:59: preset: veryfast
03:36:59: CBR: yes
03:36:59: CFR: no
03:36:59: max bitrate: 3200
03:36:59: ------------------------------------------
03:37:01: Using RTMP service: Twitch / Justin.tv
03:37:01: Server selection: rtmp://live.justin.tv/app
03:37:02: SO_SNDBUF was at 8192
03:37:02: SO_SNDBUF is now 65536
03:37:59: SharedTexCapture hooked
03:41:01: Total frames rendered: 11577, number of frames that lagged: 13 (0.11%) (it's okay for some frames to lag)
03:41:01: RTMPPublisher::SocketLoop: Aborting due to loop exit
03:41:01: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
03:41:01: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
03:41:01: Number of times waited to send: 2, Waited for a total of 8194 bytes
03:41:01: Number of b-frames dropped: 38 (0.33%), Number of p-frames dropped: 37 (0.32%), Total 75 (0.66%)
03:41:01: =====Stream End: 2013-07-30, 03:41:01=================================================
03:41:43:
03:41:43: Profiler results:
03:41:43:
03:41:43: ==============================================================
03:41:43: frame - [100%] [avg time: 3.322 ms (cpu time: avg 2.742 ms, total 41843.8 ms)] [avg calls per frame: 1] [children: 99.5%] [unaccounted: 0.482%]
03:41:43: | frame preprocessing and rendering - [25.1%] [avg time: 0.834 ms (cpu time: avg 0.498 ms, total 7609.38 ms)] [avg calls per frame: 1] [children: 0.12%] [unaccounted: 25%]
03:41:43: | | scene->Preprocess - [0.12%] [avg time: 0.004 ms (cpu time: avg 0.003 ms, total 46.875 ms)] [avg calls per frame: 1]
03:41:43: | video encoding and uploading - [74.4%] [avg time: 2.472 ms (cpu time: avg 2.226 ms, total 33968.8 ms)] [avg calls per frame: 1] [children: 72%] [unaccounted: 2.41%]
03:41:43: | | flush - [10.1%] [avg time: 0.334 ms (cpu time: avg 0.071 ms, total 1093.75 ms)] [avg calls per frame: 1]
03:41:43: | | CopyResource - [1.02%] [avg time: 0.034 ms (cpu time: avg 0.016 ms, total 250 ms)] [avg calls per frame: 0]
03:41:43: | | conversion to 4:2:0 - [1.9%] [avg time: 0.063 ms (cpu time: avg 0.02 ms, total 312.5 ms)] [avg calls per frame: 0]
03:41:43: | | call to encoder - [58.2%] [avg time: 1.934 ms (cpu time: avg 2.063 ms, total 31484.4 ms)] [avg calls per frame: 0]
03:41:43: | | sending stuff out - [0.813%] [avg time: 0.027 ms (cpu time: avg 0.019 ms, total 296.875 ms)] [avg calls per frame: 0]
03:41:43: | Convert444Threads - [1.25e+003%] [avg time: 41.526 ms (cpu time: avg 2.264 ms, total 34546.9 ms)] [avg calls per frame: 1]
03:41:43: ==============================================================
03:41:43:
 

Kharay

Member
0.66% isn't all that bad really. I mean, at 48 FPS, 75 frames is roughly 1.5 seconds... total, over a period of 3 minutes. That is not all that bad. But to get rid of it completely, just keep dropping the bitrate in steps of 50 Kbps. So, 3150, 3100, 3050, 3000... I'd imagine it actually not dropping a single frame around 3000 for you.
 

Xarthis

New Member
Awesome, For sure will test tomorrow ( going to bed now ) I'm assuming this would correct the screen randomly stuttering?
 

Kharay

Member
If it's stuttering in-game, for you... no, dropping the bitrate would not solve that. If you're talking about stutter on-stream, it probably would resolve that as well, yes. The local stutter tends to imply your CPU and GPU having a bit of an issue with the task at hand. So, if that keeps up you could consider dropping the in-game settings a bit, just to free up some CPU and GPU time.
 

Xarthis

New Member
Hey! So I set my Bitrate at 2800 and It cleared up a lot of the Stream stuttering. In game I almost see no effect on my computer so thats good.

So I did turn off CBR cause it was Giving me MAJOR stutter both on stream and in game. Is this normal?

Also how do you suggest slightly increasing quality without making it stutter?

Thanks again I bet this isn't the easiest thing to help me with :D
 

Kharay

Member
Well, with 2800 Kbps being stable, you could just run a higher quality setting for VBR. Given the fact CBR isn't working out for you. Oddly enough. You did not set a custom buffer size, did you? Because that's the most common reason for stutter when using CBR.
 
Top