Question / Help Game - 60fps / Stream ~30fps (set to 60)

vognaR

Member
After many tests I gave up. Seems like there is nothing I can do to improve my stream fps. I want it to be 720p @60fps (game is dota2). I play at 1920x1080 but stream is downscaled to 1280x720.
When I stream, in game fps is > 60 but stream fps looks like hardly 30 (in fights, when many things happen).
My upload is around 8mb (tested on testmy.net on 33mb segments few times so im sure).

Here is what I already tried:
-lower/higher bitrate -> doesnt matter
-quality 1 / quality 10 / cfr=21 -> all options doesnt matter when comes to fps
-changing european twitch servers -> all servers similar results
-changing x264 to superfast -> doesnt matter
- cbr on / off -> doesnt matter
- cfr on / off -> doesnt matter

The only thing that worked was when I changed in game resolution to 1280x720 and played in small window (but thats unacceptable for me). So, is there anything else I can do to solve this problem? It just seems weird to me that in game fps is so high and stream is so low :/

I post here link to one of my tests to proof that in game fps is > 60 (you can look at netgraph) and stream looks like less than 30.

http://en.twitch.tv/eyeofroshan/b/364066730

also here is log from last recordings:
Code:
Open Broadcaster Software v0.467a (test 11) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 550 Ti
  Video Adapter Dedicated Video Memory: 1025179648
  Video Adapter Shared System Memory: 3221385216
=====Stream Start=====================================================================
  Multithreaded optimizations: Off
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
Using bitmap image
Using bitmap image
Using custom x264 settings: "crf=21"
CBR HRD requires constant bitrate

using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 45
    width: 1280, height: 720
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 2400
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2059, outputRateWindowTime: 1000, dropThreshold: 2559
Total frames rendered: 1265, number of frames that lagged: 486 (38.42%) (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%)
frame I:5     Avg QP:20.47  size: 97252

frame P:479   Avg QP:22.68  size: 12776

frame B:730   Avg QP:26.79  size:  1400

consecutive B-frames: 18.3%  3.0%  4.7% 74.1%

mb I  I16..4: 13.7% 30.5% 55.9%

mb P  I16..4:  3.8%  5.4%  1.2%  P16..4: 22.8%  7.2%  3.5%  0.0%  0.0%    skip:56.1%

mb B  I16..4:  0.2%  0.2%  0.0%  B16..8:  4.3%  1.3%  0.3%  direct: 1.8%  skip:91.9%  L0:37.3% L1:50.6% BI:12.2%

8x8 transform intra:49.8% inter:35.1%

coded y,uvDC,uvAC intra: 60.0% 55.1% 20.8% inter: 6.4% 7.6% 0.9%

i16 v,h,dc,p: 26% 29% 31% 15%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 20% 35%  3%  7%  4%  7%  4%  8%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 21% 21%  8%  8%  6%  8%  5%  8%

i8c dc,h,v,p: 53% 25% 16%  7%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:1761.29

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
Using bitmap image
Using bitmap image
Using custom x264 settings: "crf=21"
CBR HRD requires constant bitrate

using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 2400
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-lhr-backup.justin.tv/app
bufferTime: 2109, outputRateWindowTime: 1000, dropThreshold: 2609
Total frames rendered: 1560, number of frames that lagged: 678 (43.46%) (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%)
frame I:6     Avg QP:20.68  size: 99172

frame P:601   Avg QP:23.09  size: 10730

frame B:893   Avg QP:28.36  size:  1240

consecutive B-frames: 19.3%  2.8%  3.2% 74.7%

mb I  I16..4: 13.7% 30.4% 55.9%

mb P  I16..4:  3.5%  4.7%  0.9%  P16..4: 21.1%  6.3%  3.1%  0.0%  0.0%    skip:60.6%

mb B  I16..4:  0.2%  0.2%  0.0%  B16..8:  4.0%  1.2%  0.2%  direct: 1.4%  skip:92.9%  L0:34.3% L1:53.4% BI:12.3%

8x8 transform intra:49.5% inter:35.0%

coded y,uvDC,uvAC intra: 57.2% 54.5% 20.1% inter: 5.5% 6.7% 0.8%

i16 v,h,dc,p: 26% 29% 30% 15%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 20% 35%  3%  7%  5%  6%  4%  8%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 20%  8%  8%  6%  8%  6%  8%

i8c dc,h,v,p: 52% 25% 16%  7%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:1685.26

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using bitmap image
Using text output
Using text output
Using text output
Using text output
Using text output
Using text output
Using bitmap image
Using bitmap image
Using bitmap image
Using custom x264 settings: "crf=21"
CBR HRD requires constant bitrate

using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 2400
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2368, outputRateWindowTime: 1000, dropThreshold: 2868
Total frames rendered: 2337, number of frames that lagged: 10 (0.43%) (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%)
frame I:10    Avg QP:17.41  size: 88974

frame P:574   Avg QP:20.25  size:   621

frame B:1694  Avg QP:25.65  size:   197

consecutive B-frames:  0.8%  0.0%  0.0% 99.2%

mb I  I16..4:  9.5% 32.3% 58.2%

mb P  I16..4:  0.1%  0.0%  0.0%  P16..4:  1.6%  0.6%  0.2%  0.0%  0.0%    skip:97.4%

mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.1%  0.5%  0.0%  direct: 0.1%  skip:98.4%  L0:38.3% L1:43.9% BI:17.8%

8x8 transform intra:30.1% inter:7.5%

coded y,uvDC,uvAC intra: 91.4% 2.9% 2.6% inter: 0.2% 0.0% 0.0%

i16 v,h,dc,p: 17% 51% 26%  6%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 14% 36%  4%  8%  5%  5%  6%  8%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 18% 15%  8%  9%  7%  8%  7%  8%

i8c dc,h,v,p: 98%  1%  1%  0%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:332.51

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
Using bitmap image
Using bitmap image
Using custom x264 settings: "crf=21"
CBR HRD requires constant bitrate

using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: yes
    CFR: no
    max bitrate: 2400
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2353, outputRateWindowTime: 1000, dropThreshold: 2853
Total frames rendered: 2408, number of frames that lagged: 4 (0.17%) (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%)
frame I:10    Avg QP:18.76  size: 68860

frame P:750   Avg QP:22.80  size:  5019

frame B:1588  Avg QP:25.91  size:   616

consecutive B-frames:  9.4%  0.5%  2.2% 88.0%

mb I  I16..4: 54.9%  7.7% 37.4%

mb P  I16..4:  0.6%  0.9%  0.3%  P16..4: 10.2%  3.1%  1.8%  0.0%  0.0%    skip:83.1%

mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  1.8%  0.7%  0.1%  direct: 0.6%  skip:96.7%  L0:33.3% L1:49.6% BI:17.1%

8x8 transform intra:32.2% inter:31.3%

coded y,uvDC,uvAC intra: 57.7% 56.3% 29.9% inter: 2.4% 2.6% 0.3%

i16 v,h,dc,p: 62% 17% 14%  7%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 22% 28%  4%  8%  5%  7%  5% 10%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 22% 18%  8%  8%  6%  9%  6%  9%

i8c dc,h,v,p: 54% 23% 14%  9%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:1109.76

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using graphics capture
Using bitmap image
Using bitmap image
Using custom x264 settings: "crf=21"
CBR HRD requires constant bitrate

using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: superfast
    CBR: yes
    CFR: no
    max bitrate: 2400
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2022, outputRateWindowTime: 1000, dropThreshold: 2522
Total frames rendered: 1903, number of frames that lagged: 822 (43.19%) (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%)
frame I:8     Avg QP:22.26  size: 84580

frame P:684   Avg QP:23.53  size: 15003

frame B:1158  Avg QP:24.81  size:  2572

consecutive B-frames: 15.7%  2.1%  1.0% 81.3%

mb I  I16..4: 10.6% 49.9% 39.4%

mb P  I16..4:  1.8%  6.0%  1.3%  P16..4: 34.7%  0.0%  0.0%  0.0%  0.0%    skip:56.2%

mb B  I16..4:  0.1%  0.2%  0.0%  B16..8:  9.0%  0.0%  0.0%  direct: 4.7%  skip:86.0%  L0:30.9% L1:59.1% BI:10.1%

8x8 transform intra:63.7% inter:36.6%

coded y,uvDC,uvAC intra: 68.9% 61.3% 29.5% inter: 7.7% 8.5% 1.2%

i16 v,h,dc,p: 22% 32% 28% 18%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 17% 23%  8%  7%  7%  9%  6% 11%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 22% 17%  9%  8%  6%  8%  6%  9%

i8c dc,h,v,p: 40% 28% 19% 12%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:2402.49

=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 12.369 ms] [avg calls per frame: 1] [children: 98.3%] [unaccounted: 1.74%]
| scene->Preprocess - [0.0566%] [avg time: 0.007 ms] [avg calls per frame: 1]
| video encoding and uploading - [98.2%] [avg time: 12.147 ms] [avg calls per frame: 1] [children: 9.93%] [unaccounted: 88.3%]
| | CopyResource - [0.146%] [avg time: 0.018 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.8%] [avg time: 0.099 ms] [avg calls per frame: 0]
| | call to encoder - [8.93%] [avg time: 1.104 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0566%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================
 

Bensam123

Member
You have crf=21 set in all the tests. I'd recommend removing that.

Downscaling your resolution should increase performance. Setting OBS to superfast or ultrafast would also do that. Ultrafast about halves CPU usage, but uses a LOT more bandwidth. I don't recommend changing the preset setting.

Using fraps your stream FPS isn't low in the demo, it was about 33-40fps (if that was when you set it to 45fps it wasn't far off).
 

Krazy

Town drunk
He shouldn't have to be downscaling any further with that hardware. I'm not really sure what's going on, especially because in a couple of those session you lagged hardly any frames at all. Are you overclocking a lot or something?

edit: shouldn't not should...
 

vognaR

Member
Grimio said:
Did you try software capture in fullscreen windowed mode?
you mean borderless window? just tried that, without CBR, without changing CRF in advanced.
Didnt help: video looked worse, game was stuttering when I played (doesnt happen in game capture), here is the video:
http://en.twitch.tv/eyeofroshan/b/364195048

and here is log:
(edit: seems like few logs, i think that last one is the one in particular.)
Code:
Open Broadcaster Software v0.467a (test 11) - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
CPU Speed: 3392MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7600 
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 550 Ti
  Video Adapter Dedicated Video Memory: 1025179648
  Video Adapter Shared System Memory: 3221385216
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using Monitor Capture
using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2400
    buffer size: 2400
    quality: 10
------------------------------------------
Total frames rendered: 105, number of frames that lagged: 2 (1.90%) (it's okay for some frames to lag)
frame I:1     Avg QP:22.62  size: 53235

frame P:12    Avg QP:28.40  size:   161

frame B:36    Avg QP:34.80  size:    58

consecutive B-frames:  2.0%  0.0%  0.0% 98.0%

mb I  I16..4: 37.3% 41.7% 21.0%

mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.4%  0.0%  0.0%  0.0%  0.0%    skip:99.5%

mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0:41.1% L1:53.5% BI: 5.4%

8x8 transform intra:41.5% inter:19.6%

coded y,uvDC,uvAC intra: 63.2% 15.5% 12.9% inter: 0.0% 0.0% 0.0%

i16 v,h,dc,p: 46% 53%  1%  0%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23%  6% 68%  0%  2%  0%  0%  0%  0%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 50% 12%  2%  3%  2%  4%  2%  4%

i8c dc,h,v,p: 67% 24%  9%  0%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:560.59

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using Monitor Capture
using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2400
    buffer size: 2400
    quality: 10
------------------------------------------
Total frames rendered: 179, number of frames that lagged: 10 (5.59%) (it's okay for some frames to lag)
frame I:1     Avg QP:24.00  size: 82986

frame P:30    Avg QP:24.89  size:  1563

frame B:89    Avg QP:33.25  size:    69

consecutive B-frames:  0.8%  0.0%  0.0% 99.2%

mb I  I16..4: 21.4% 24.4% 54.2%

mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  7.1%  1.5%  0.8%  0.0%  0.0%    skip:90.5%

mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.0%  0.0%  direct: 0.0%  skip:99.5%  L0:33.8% L1:61.1% BI: 5.1%

8x8 transform intra:24.7% inter:42.7%

coded y,uvDC,uvAC intra: 79.9% 69.4% 45.0% inter: 0.7% 0.4% 0.0%

i16 v,h,dc,p: 45% 42%  8%  5%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 23%  5%  9%  6%  7%  6% 12%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 30% 13%  7%  7%  6%  8%  5%  8%

i8c dc,h,v,p: 44% 32% 15%  9%

Weighted P-Frames: Y:0.0% UV:0.0%

kb/s:542.65

=====Stream End=======================================================================
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Głośniki (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
    bitrate: 192
Using Monitor Capture
using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

profile High, level 3.2

------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2400
    buffer size: 2400
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 1961, outputRateWindowTime: 1000, dropThreshold: 2461
Total frames rendered: 1822, number of frames that lagged: 1626 (89.24%) (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%)
frame I:8     Avg QP:20.51  size:111066

frame P:629   Avg QP:24.28  size: 13491

frame B:1131  Avg QP:29.71  size:  1271

consecutive B-frames: 12.2%  5.0%  8.0% 74.9%

mb I  I16..4: 15.3% 19.8% 64.9%

mb P  I16..4:  2.7%  4.4%  1.5%  P16..4: 21.0%  7.3%  3.7%  0.0%  0.0%    skip:59.4%

mb B  I16..4:  0.1%  0.2%  0.0%  B16..8:  4.6%  1.3%  0.2%  direct: 1.5%  skip:92.1%  L0:36.9% L1:53.0% BI:10.1%

8x8 transform intra:47.2% inter:36.2%

coded y,uvDC,uvAC intra: 66.8% 61.9% 27.3% inter: 5.9% 7.1% 0.7%

i16 v,h,dc,p: 26% 33% 26% 14%

i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 22% 30%  4%  7%  5%  7%  5%  9%

i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 21% 19%  8%  8%  7%  9%  6%  8%

i8c dc,h,v,p: 49% 27% 15% 10%

Weighted P-Frames: Y:0.5% UV:0.2%

kb/s:1630.38

=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 26.521 ms] [avg calls per frame: 1] [children: 99.2%] [unaccounted: 0.781%]
| scene->Preprocess - [69.7%] [avg time: 18.473 ms] [avg calls per frame: 1]
| video encoding and uploading - [29.6%] [avg time: 7.841 ms] [avg calls per frame: 1] [children: 4.63%] [unaccounted: 24.9%]
| | CopyResource - [0.0452%] [avg time: 0.012 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0113%] [avg time: 0.003 ms] [avg calls per frame: 0]
| | call to encoder - [4.54%] [avg time: 1.205 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0339%] [avg time: 0.009 ms] [avg calls per frame: 0]
==============================================================

@Bensam123

You can see in this log that i removed crf=21 (like i did in some other tests but didnt post logs of all of them here) and it didnt help.

@KrazyTrumpeter05
I also dont know what happens, I should not have to downscale with i7 2600k come on... also i did NOT overclock anything ever in this hardware...


ALSO here I made a video 1080p @60fps and it looks similar to 720 (a bit worse, but still, i think 720p should be waaaay smoother):
http://en.twitch.tv/eyeofroshan/b/364200920

edit: so i downscaled even further to 540p - doesnt help:
http://en.twitch.tv/eyeofroshan/b/364203866

another edit: thought it might help, here is example of dota2 video 720p @60fps (rewind forward to random moment):
http://en.twitch.tv/dotacinema/b/363890963
 

Bensam123

Member
I'd look at resource monitor and see if anything else is eating your processor in the background. Monitor it while you play. Consider updating drivers. If nothing is wrong with that then consider OCing... I'm not familiar enough with performance in DotA to comment on it, but since it's a moba I doubt it's hard on the hardware.
 

paibox

heros in an halfshel
It is possible that DotA is using too much of your video card's processing power for OBS to be able to grab the frames from it on time, it's impossible to tell just from these logs exactly how you've set up the game itself.

Try enabling vsync in the game, or at least limiting the frame rate to something that isn't constantly/sometimes maxing out the bandwidth and/or processing on your video card.
 

vognaR

Member
Bensam123 said:
I'd look at resource monitor and see if anything else is eating your processor in the background. Monitor it while you play. Consider updating drivers. If nothing is wrong with that then consider OCing... I'm not familiar enough with performance in DotA to comment on it, but since it's a moba I doubt it's hard on the hardware.

OC is not necessery.

I monitored processor while streaming and its being used in 20-30%.

@paibox
I used to play with vsync ON (thats what i prefer) but then i changed to vsync off because many ppl advised that. Will try to change it back to ON and set max fps in game to 60, we'll see.
 

paibox

heros in an halfshel
Looking at the benchmarks for your card, yes, I'd say it's very likely.
If you get a new video card, try to stay away from the *50 models, since they're usually a whole lot worse than the *60 ones, and the slightly cheaper price doesn't really warrant for the performance drop.
 

vognaR

Member
Ok, thank you for help. Last question: is CBR on overwriting cfr=20 setting? I think i read something like that but im not sure. I see major quality improvement when i set crf=20 and my viewers say that they dont have stuttering when i set CBR on.
 

paibox

heros in an halfshel
CBR is a good way to keep a stream stable, but since it always uses the same amount of bit rate per second, the features of x264 that estimate bit rate compensation for high/low motion scenes are not used. I'm honestly not sure if it overwrites crf settings, but I do know that they don't apply in the same way as when using VBR.
 

XeiZ

Member
CBR uses ratetol instead, cant really say if its a replacement for crf since its more like a percentage based uhm...variable bitrate thingy. So you set ratetol=20 and your bitrate can freely increase and decrease by 20% if needed/not needed.
Dont think thats comparable to crf though. Like paibox said crf shouldnt have any effect on CBR.
 

Bensam123

Member
From what I've heard CBR isn't constant bit rate, I asked what it does in the help forums and they said it helps stabilize bandwidth usage, but doesn't make it constant, which is counterintuitive for the name.
 

Grimio

Member
Well, it's not completely constant. Like XeiZ said, it can vary depending on the ratetol.
When CBR is on, your avarage bitrate will be very close to the bitrate you specified.
 

Bensam123

Member
From using it that wasn't what I experienced at all. Perhaps it's not working as intended or I'm not using it properly. I still get the ups and downs as with VBR, I don't get spikes... but I haven't gotten spikes with VBR since like .452.
 

Grimio

Member
Sorry, I meant that VBR spikes are dependent on the source material.
I tried CBR a week or so ago and when I looked at the file size and converted it to kbits/s it was pretty much the same as the specified bitrate.
 
Top