Question / Help Help for my config

KEA

New Member
I cann't stream FIFA 13 without lags.

http://ru.twitch.tv/kea6969/videos?kind=past_broadcasts
It my two broadcasts, with 30 fps and 60 fps.

If i set 60 fps, quality of stream not bad, but i see permanent freeze in game
If i set 30 fps, i see some freeze on stream and sliightly freeze in game

What's wrong?



Code:
Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
CPU Speed: 3502MHz
Physical Memory:  8144MB Total, 6341MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 670
  Video Adapter Dedicated Video Memory: 2091581440
  Video Adapter Shared System Memory: 2147479552
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Динамики (Аудио устройства USB)
------------------------------------------
Audio Encoding: MP3
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2900
    buffer size: 2900
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2392, outputRateWindowTime: 1000, dropThreshold: 2892
Total frames rendered: 4019, number of frames that lagged: 1 (0.02%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:16    Avg QP:24.50  size: 52554
x264: frame P:1072  Avg QP:28.26  size:  6035
x264: frame B:2882  Avg QP:32.28  size:   868
x264: consecutive B-frames:  2.1%  0.4%  8.9% 88.6%
x264: mb I  I16..4: 23.6% 57.9% 18.4%
x264: mb P  I16..4:  4.0%  2.1%  0.1%  P16..4: 24.8%  6.9%  2.2%  0.0%  0.0%    skip:59.9%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  7.0%  1.5%  0.1%  direct: 0.4%  skip:90.9%  L0:40.1% L1:48.8% BI:11.1%
x264: 8x8 transform intra:36.6% inter:33.7%
x264: coded y,uvDC,uvAC intra: 42.5% 14.7% 4.9% inter: 2.0% 0.9% 0.2%
x264: i16 v,h,dc,p: 12% 68% 17%  4%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6% 32% 33%  4%  4%  3%  6%  3%  8%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 32% 20%  6%  4%  5%  5%  5%  6%
x264: i8c dc,h,v,p: 55% 37%  7%  1%
x264: Weighted P-Frames: Y:2.0% UV:0.7%
x264: kb/s:1186.32
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Динамики (Аудио устройства USB)
------------------------------------------
Audio Encoding: MP3
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2900
    buffer size: 2900
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2407, outputRateWindowTime: 1000, dropThreshold: 2907
Total frames rendered: 593, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:3     Avg QP:23.67  size: 55634
x264: frame P:174   Avg QP:26.03  size: 10331
x264: frame B:380   Avg QP:29.09  size:  1393
x264: consecutive B-frames:  5.0%  5.4% 18.2% 71.4%
x264: mb I  I16..4: 25.9% 42.6% 31.5%
x264: mb P  I16..4:  5.7%  5.3%  0.5%  P16..4: 25.8%  8.6%  3.1%  0.0%  0.0%    skip:51.1%
x264: mb B  I16..4:  0.3%  0.1%  0.0%  B16..8:  7.4%  2.0%  0.1%  direct: 1.3%  skip:88.7%  L0:37.0% L1:51.9% BI:11.1%
x264: 8x8 transform intra:44.2% inter:35.2%
x264: coded y,uvDC,uvAC intra: 40.9% 19.3% 6.6% inter: 4.4% 2.1% 0.2%
x264: i16 v,h,dc,p: 19% 56% 20%  5%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 39% 29%  3%  3%  2%  6%  2%  6%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 31% 17%  5%  5%  5%  6%  5%  6%
x264: i8c dc,h,v,p: 56% 34%  9%  1%
x264: Weighted P-Frames: Y:8.6% UV:5.2%
x264: kb/s:1074.47
=====Stream End=======================================================================
Using fixed low latency mode, factor 20
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Динамики (Аудио устройства USB)
------------------------------------------
Audio Encoding: MP3
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1280, height: 720
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 2900
    buffer size: 2900
    quality: 7
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2380, outputRateWindowTime: 1000, dropThreshold: 2880
Total frames rendered: 1243, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to loop exit
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
x264: frame I:5     Avg QP:22.60  size: 65086
x264: frame P:366   Avg QP:26.03  size:  9916
x264: frame B:836   Avg QP:30.42  size:  1953
x264: consecutive B-frames:  3.6%  2.2% 29.3% 64.9%
x264: mb I  I16..4: 21.4% 57.5% 21.2%
x264: mb P  I16..4:  5.3%  4.2%  0.5%  P16..4: 31.6%  9.1%  3.0%  0.0%  0.0%    skip:46.4%
x264: mb B  I16..4:  0.4%  0.1%  0.0%  B16..8: 12.7%  3.0%  0.2%  direct: 1.0%  skip:82.6%  L0:41.9% L1:50.0% BI: 8.1%
x264: 8x8 transform intra:41.5% inter:35.0%
x264: coded y,uvDC,uvAC intra: 43.1% 16.6% 5.2% inter: 4.2% 1.7% 0.3%
x264: i16 v,h,dc,p: 14% 61% 19%  5%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 35% 31%  4%  4%  3%  6%  3%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 27% 24%  6%  5%  6%  6%  5%  6%
x264: i8c dc,h,v,p: 54% 37%  8%  1%
x264: Weighted P-Frames: Y:7.4% UV:5.2%
x264: kb/s:1110.98
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 1.676 ms] [avg calls per frame: 1] [children: 72%] [unaccounted: 28%]
| scene->Preprocess - [0.179%] [avg time: 0.003 ms] [avg calls per frame: 1]
| video encoding and uploading - [71.8%] [avg time: 1.204 ms] [avg calls per frame: 1] [children: 57.5%] [unaccounted: 14.4%]
| | CopyResource - [1.19%] [avg time: 0.02 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.239%] [avg time: 0.004 ms] [avg calls per frame: 0]
| | call to encoder - [55.4%] [avg time: 0.929 ms] [avg calls per frame: 0]
| | sending stuff out - [0.597%] [avg time: 0.01 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
The 30fps stream looks really fine and the 60 fps one is a real 60 fps stream when not played with flash, try this. lower the fps to 24 and enter the following into the x264 custom field.
tune=fastdecode bframes=0
 

KEA

New Member
I try to use your custom field and recorded video 24 fps
http://ru.twitch.tv/kea6969/videos?kind=past_broadcasts
No freeze in game, but quality of stream is poor

With 30 fps and 60 fps freeze were again.
Next, I save this custom field, and optimize CPU with soft CPU CONTROL.
And recorded broadcast in 30 fps and 60 fps.
Video can check on my channel.
No freeze in game, some good stream, what do you think?
Maybe increase quality in settings OBS?
 

KEA

New Member
hilalpro said:
Yeah increase it to 8 and leave the fps at 30. might also wanna increase the bitrate a bit more if you can.
60 fps is not better than 30?
and which bitrate need?
 

hilalpro

Member
Try 1080p 30 fps with 3968 bitrate and bufsize quality 6 or 5. also change the audio back to aac since it's better.
 

KEA

New Member
hilalpro said:
Try 1080p 30 fps with 3968 bitrate and bufsize quality 6 or 5. also change the audio back to aac since it's better.
started to appear red square at the bottom right in OBS
 
Top