Question / Help New to OBS, need some help

nedrapter

New Member
Hello,

I've started using OBS, and the setup seemed pretty easy thanks to the guides I read here. But either the guides are missing some info or I'm doing something wrong. Why is that? Because I'm using the recommended settings (using settings estimator) and then even lower of the recommended and still my stream quality sucks.

My computer specs:
i7 870 @2.93
6GB RAM
Nvidia Geforce GTX285
resolution 1680x1050

My current settings in OBS:
Quality balance: 4
max bitrate- buffer : 3000
base resolution, custom : 1680x1050
downscale 1,5. 1120x700
the rest default.

With those settings i get an almost smooth stream, but quite bad resolution to pay for that.

Also i'm encountering another problem. I got 2 scenes, one with a background, texts etc and a dota 2 window scaled down and another scene with a normal sized dota 2 window. When I switch from the 2nd scene to the 1st the dota 2 source dissapears. This is what im talking about : http://www.twitch.tv/nedrapter/b/381061450
 

Krazy

Town drunk
You shouldn't need to set your quality balance so low with that amount of bitrate for 1120x700. Try setting it to 7 or 8 for DotA2 and see if it improves.
 

werto

New Member
I would suggest to use global source for your game. Maybe it works. As for the lagging thing, usually streams lag because of bandwidth/net issues. Do u experience any frame drops? I find it strange that your system cant handle the stream. So why not trying to set your bitrate at 2000 for example to check if it could work for you and then try to optimize it. You probably know this but you could use speedtest to a serrver near your streaming server to check your real upload bandwidth.
 

nedrapter

New Member
werto said:
You probably know this but you could use speedtest to a serrver near your streaming server to check your real upload bandwidth.

I have selected Frankfurt server @ twitch, and this is the speedtest result I get when I run it with Frankfurt selected


werto said:
I would suggest to use global source for your game. Maybe it works. As for the lagging thing, usually streams lag because of bandwidth/net issues. Do u experience any frame drops? I find it strange that your system cant handle the stream. So why not trying to set your bitrate at 2000 for example to check if it could work for you and then try to optimize it.

I have added global source for Dota 2 since start. How do I see if I experience any frame drop? What would setting bitrate at 2000 do? (set the buffer at 2000 as well?)

Krazy said:
You could always try using CBR.

I'll try that and see what's happening (no idea what CBR initials mean tho or what ir really does :P )
 

Krazy

Town drunk
It's Constant Bitrate, should help with some of the lag you experience.

Also, please post a log file if you continue to get stream lag. Frankfurt server is known to cause issues. You may consider changing to Amsterdam or London.
 

nedrapter

New Member
Okay at start changing server seemed to help, but on the 2nd stream it;s lagging a lot again. I notice that my FPS drop to 11-15 while in game and the speed changes from 600-2000. Are those normal? In the screenshot below the game is paused as well.
Last log :
Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
CPU Speed: 2931MHz
Physical Memory:  6135MB Total, 2984MB Free
stepping id: 5, model 14, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1680, 1050}
Windows Version: 6.1 Build 7601 S
Aero is Enabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 285
  Video Adapter Dedicated Video Memory: 1050345472
  Video Adapter Shared System Memory: 2948329472
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 1120, height: 700
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 3000
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 1951, outputRateWindowTime: 1000, dropThreshold: 2451
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using Slide Show
Using graphics capture
SharedTexCapture hooked
RTMPPublisher::BufferedSend: Socket buffer is full (396782 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (396782 / 400384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400371 / 400384 bytes), waiting to send 437 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (400371 / 400384 bytes), waiting to send 437 bytes
Total frames rendered: 60401, number of frames that lagged: 32770 (54.25%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:246   Avg QP:13.81  size:174270
x264: frame P:19407 Avg QP:13.88  size: 28631
x264: frame B:40700 Avg QP:15.53  size:  9117
x264: consecutive B-frames:  6.5%  7.7%  9.2% 76.6%
x264: mb I  I16..4: 15.5% 16.3% 68.2%
x264: mb P  I16..4:  1.4%  2.9%  3.0%  P16..4: 30.6%  5.9%  5.7%  0.0%  0.0%    skip:50.5%
x264: mb B  I16..4:  0.1%  0.1%  0.1%  B16..8:  5.9%  2.7%  1.7%  direct: 6.1%  skip:83.4%  L0:30.7% L1:49.1% BI:20.2%
x264: 8x8 transform intra:35.5% inter:25.7%
x264: coded y,uvDC,uvAC intra: 84.5% 77.5% 53.1% inter: 12.0% 11.8% 6.0%
x264: i16 v,h,dc,p: 27% 31% 30% 12%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 21% 26%  6%  7%  6%  9%  5% 10%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 17%  8%  8%  7%  8%  6%  9%
x264: i8c dc,h,v,p: 48% 27% 16%  9%
x264: Weighted P-Frames: Y:0.4% UV:0.3%
x264: kb/s:3000.05
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
    fps: 40
    width: 1120, height: 700
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 3000
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
bufferTime: 2309, outputRateWindowTime: 1000, dropThreshold: 2809
Total frames rendered: 7734, number of frames that lagged: 5681 (73.45%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:31    Avg QP: 7.36  size:194562
x264: frame P:1951  Avg QP: 1.87  size: 23953
x264: frame B:5703  Avg QP: 4.85  size:  9661
x264: consecutive B-frames:  1.0%  0.1%  0.1% 98.8%
x264: mb I  I16..4: 35.6% 19.1% 45.4%
x264: mb P  I16..4:  0.7%  0.1%  0.7%  P16..4: 32.1%  1.5%  1.4%  0.0%  0.0%    skip:63.5%
x264: mb B  I16..4:  0.2%  0.0%  0.1%  B16..8:  3.1%  1.4%  0.7%  direct: 7.0%  skip:87.6%  L0:39.4% L1:46.2% BI:14.4%
x264: 8x8 transform intra:10.6% inter:9.8%
x264: coded y,uvDC,uvAC intra: 80.3% 83.6% 82.8% inter: 8.1% 6.5% 6.3%
x264: i16 v,h,dc,p: 43% 41% 10%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 51% 21%  3%  2%  2%  7%  2%  5%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 38% 13%  3%  4%  3%  4%  3%  5%
x264: i8c dc,h,v,p: 31% 38% 23%  8%
x264: Weighted P-Frames: Y:0.0% UV:0.0%
x264: kb/s:2998.96
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1977, outputRateWindowTime: 1000, dropThreshold: 2477
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using Slide Show
Using graphics capture
SharedTexCapture hooked
Total frames rendered: 46679, number of frames that lagged: 31300 (67.05%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:190   Avg QP:20.19  size:100178
x264: frame P:14195 Avg QP:23.94  size: 10173
x264: frame B:32250 Avg QP:29.01  size:  1567
x264: consecutive B-frames:  5.5%  4.5%  7.7% 82.4%
x264: mb I  I16..4: 20.7% 23.3% 56.0%
x264: mb P  I16..4:  1.7%  3.1%  1.7%  P16..4: 13.7%  4.7%  2.9%  0.0%  0.0%    skip:72.3%
x264: mb B  I16..4:  0.1%  0.1%  0.0%  B16..8:  2.9%  1.4%  0.4%  direct: 1.1%  skip:93.9%  L0:34.5% L1:51.0% BI:14.5%
x264: 8x8 transform intra:43.4% inter:30.7%
x264: coded y,uvDC,uvAC intra: 72.4% 67.2% 39.0% inter: 4.2% 4.8% 1.6%
x264: i16 v,h,dc,p: 29% 32% 25% 15%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 21% 25%  6%  7%  6%  8%  6%  9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 18%  8%  8%  7%  8%  6%  8%
x264: i8c dc,h,v,p: 48% 27% 16%  9%
x264: Weighted P-Frames: Y:0.4% UV:0.3%
x264: kb/s:690.78
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1680x1050
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1680, height: 1050
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2018, outputRateWindowTime: 1000, dropThreshold: 2518
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using Slide Show
Using graphics capture
SharedTexCapture hooked
Total frames rendered: 14477, number of frames that lagged: 10808 (74.66%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:59    Avg QP:18.89  size:197478
x264: frame P:4149  Avg QP:22.53  size: 20360
x264: frame B:10225 Avg QP:28.15  size:  4375
x264: consecutive B-frames:  4.5%  1.8%  3.9% 89.8%
x264: mb I  I16..4: 22.1% 25.9% 52.0%
x264: mb P  I16..4:  3.4%  5.6%  1.5%  P16..4: 12.6%  3.9%  2.3%  0.0%  0.0%    skip:70.7%
x264: mb B  I16..4:  0.3%  0.3%  0.1%  B16..8:  3.6%  1.7%  0.5%  direct: 1.3%  skip:92.3%  L0:41.4% L1:47.0% BI:11.6%
x264: 8x8 transform intra:48.9% inter:29.8%
x264: coded y,uvDC,uvAC intra: 55.2% 43.7% 19.1% inter: 3.6% 4.2% 1.3%
x264: i16 v,h,dc,p: 31% 33% 25% 10%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 23% 28%  6%  7%  5%  8%  4%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 17%  8%  8%  7%  8%  6%  8%
x264: i8c dc,h,v,p: 56% 24% 15%  4%
x264: Weighted P-Frames: Y:0.1% UV:0.1%
x264: kb/s:1029.06
=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1680x1050
  Output resolution: 1120x700
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using text output
Using text output
Using Slide Show
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1120, height: 700
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 3000
    buffer size: 3000
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1938, outputRateWindowTime: 1000, dropThreshold: 2438
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using Slide Show
++++++++++++++++++++++++++++++++++++++++++++++++++++++
  New Scene
Using text output
Using text output
Using Slide Show
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using graphics capture
Using bitmap image
Total frames rendered: 42657, number of frames that lagged: 24505 (57.45%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:172   Avg QP:20.28  size: 89304
x264: frame P:14479 Avg QP:24.08  size: 11452
x264: frame B:27962 Avg QP:30.01  size:  2206
x264: consecutive B-frames:  9.0%  6.3% 12.6% 72.1%
x264: mb I  I16..4: 21.8% 24.8% 53.4%
x264: mb P  I16..4:  3.3%  5.5%  1.7%  P16..4: 15.8%  5.3%  3.2%  0.0%  0.0%    skip:65.2%
x264: mb B  I16..4:  0.1%  0.1%  0.1%  B16..8:  3.5%  1.9%  0.6%  direct: 1.6%  skip:92.2%  L0:33.2% L1:49.7% BI:17.1%
x264: 8x8 transform intra:49.0% inter:28.1%
x264: coded y,uvDC,uvAC intra: 61.2% 52.8% 24.5% inter: 5.3% 6.1% 2.2%
x264: i16 v,h,dc,p: 29% 30% 28% 13%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 20% 29%  6%  7%  6%  8%  5%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 19%  8%  8%  7%  8%  6%  8%
x264: i8c dc,h,v,p: 54% 25% 15%  6%
x264: Weighted P-Frames: Y:0.5% UV:0.4%
x264: kb/s:934.30
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 44.303 ms] [avg calls per frame: 1] [children: 98.8%] [unaccounted: 1.21%]
| scene->Preprocess - [0.0203%] [avg time: 0.009 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.8%] [avg time: 43.757 ms] [avg calls per frame: 1] [children: 98.7%] [unaccounted: 0.0497%]
| | CopyResource - [94.1%] [avg time: 41.672 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0135%] [avg time: 0.006 ms] [avg calls per frame: 0]
| | call to encoder - [4.58%] [avg time: 2.03 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0609%] [avg time: 0.027 ms] [avg calls per frame: 0]
==============================================================
36672956.png


nedrapter said:
Also i'm encountering another problem. I got 2 scenes, one with a background, texts etc and a dota 2 window scaled down and another scene with a normal sized dota 2 window. When I switch from the 2nd scene to the 1st the dota 2 source dissapears. This is what im talking about : http://www.twitch.tv/nedrapter/b/381061450
You got any awesome ideas for that too? :D
 

werto

New Member
Did you try the 2000/2000 bitrate/buffer setting? And maybe stick to 30 fps (without using CFR). When you are saying that your speed goes from 600-2000 do u mean the bitrate upload speed? The bitrate is supposed to be variable depending of the complexity of the scenes, so yes it should be this way. If you want a less spiky upload you try CBR on.
As for the "disappearing" issue. Its really very strange. I would try to play around with settings. For example using window capture without global source on etc. Unfortunatelly i cant really help you more than that. Maybe some of the obs "gurus" will have the answer.
 

Krazy

Town drunk
You are getting a lot of lagged frames. You may consider limiting your in game FPS to 60 so the GPU has more room to work. You don't seem to actually be dropping frames according to your log.

If possible, could you make a fresh scene with only Game Capture, and delete any Global Sources you might have added. I've seen reports of slide show sources causing lag before. This + limiting in game FPS might alleviate most of your frame lag issues.

As for the disappearing source, I'm not really sure, unfortunately.
 

nedrapter

New Member
Krazy said:
You are getting a lot of lagged frames. You may consider limiting your in game FPS to 60 so the GPU has more room to work. You don't seem to actually be dropping frames according to your log.

If possible, could you make a fresh scene with only Game Capture, and delete any Global Sources you might have added. I've seen reports of slide show sources causing lag before. This + limiting in game FPS might alleviate most of your frame lag issues.

As for the disappearing source, I'm not really sure, unfortunately.

How can I limit my game FPS?

werto said:
When you are saying that your speed goes from 600-2000 do u mean the bitrate upload speed?

I meant the bottom right corner number, w/e that is (in the screenshot).
 

werto

New Member
Yeap...this is the bitrate and its normal to be this way. If u want/need to be closer to the bitrate you have chosen you can use CBR on (but dont expect better quality but worse in scenes with high complexity imo). Some of my viewers had problems watching my 3.5mbit stream on twitchtv when bitrate sudently was going high so i had to turn CBR on and problems disappeared.
 

Krazy

Town drunk
nedrapter said:
Krazy said:
You are getting a lot of lagged frames. You may consider limiting your in game FPS to 60 so the GPU has more room to work. You don't seem to actually be dropping frames according to your log.

If possible, could you make a fresh scene with only Game Capture, and delete any Global Sources you might have added. I've seen reports of slide show sources causing lag before. This + limiting in game FPS might alleviate most of your frame lag issues.

As for the disappearing source, I'm not really sure, unfortunately.

How can I limit my game FPS?

werto said:
When you are saying that your speed goes from 600-2000 do u mean the bitrate upload speed?

I meant the bottom right corner number, w/e that is (in the screenshot).

Enabling V-Sync should do the trick. Alternatively, download a tool like EVGA Precision or MSI Afterburner, and there are options to limit framerates.

For example, in EVGA Precision, once installed and both it and the OSD are running, open up the OSD and click the wrench icon. In the General tab there will be a "Framerate limit" line, and you can limit the framerate of things to whatever you choose.
 
Top