Question / Help Stream spikes from time to time and stream quality

ade007

New Member
Hello

I have a problem with my stream. By now I tried different settings but I cant get to loose some freeze spike I have in my stream from time to time. Would appreciate any help on finding what the problem is with this spikes, also any tips on improving the quality of the stream.

This is the result from speedtest:
2550594428.png


Here is a sample form my stream:
http://www.twitch.tv/mrawes0me/b/373843913

Spikes are at 2:24, 4:55, 6:35 and maybe others also. Here is the log form that session:

Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
CPU Speed: 3400MHz
Physical Memory: 16337MB Total, 11745MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, 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: AMD Radeon HD 6700 Series
Video Adapter Dedicated Video Memory: 1051422720
Video Adapter Shared System Memory: 4002183168
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Realtek High Definition Audio)
Using 5.1 speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Realtek High Definition Audio)
------------------------------------------
Audio Encoding: AAC
bitrate: 96
Using graphics capture
------------------------------------------
device: Microsoft LifeCam VX-3000,
device id \\?\usb#vid_045e&pid_00f5&mi_00#7&42c0b85&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
chosen type: RGB24, usingFourCC: false, res: 640x480 - 640x480, fps: 15-30, fourCC: 00000000

Using directshow input
Using graphics capture
Using Monitor Capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.1
------------------------------------------
Video Encoding: x264
fps: 26
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 2800
buffer size: 2800
quality: 8
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-ams.justin.tv/app
bufferTime: 2217, outputRateWindowTime: 1000, dropThreshold: 2717
RTMPPublisher::BufferedSend: Socket buffer is full (370635 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370635 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367513 / 370688 bytes), waiting to send 3738 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370660 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370368 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369333 / 370688 bytes), waiting to send 1717 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367463 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370417 / 370688 bytes), waiting to send 287 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370417 / 370688 bytes), waiting to send 287 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368621 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368621 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367753 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367753 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370301 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370301 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370036 / 370688 bytes), waiting to send 2592 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370036 / 370688 bytes), waiting to send 2592 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370384 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370384 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367745 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367745 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370565 / 370688 bytes), waiting to send 4069 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370565 / 370688 bytes), waiting to send 4069 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367404 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367594 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369922 / 370688 bytes), waiting to send 1156 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368395 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370117 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370117 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370527 / 370688 bytes), waiting to send 306 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369183 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369183 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368867 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370592 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369413 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369413 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368715 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368715 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370502 / 370688 bytes), waiting to send 312 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370502 / 370688 bytes), waiting to send 312 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370116 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370357 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370151 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369711 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370402 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370402 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367147 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367147 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369534 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369534 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366604 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366604 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367547 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367547 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367341 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367341 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370084 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370084 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370392 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370392 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370370 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370370 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368188 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367472 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367472 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366690 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366690 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368343 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366660 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366798 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366798 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367551 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367551 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369617 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369617 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368433 / 370688 bytes), waiting to send 3683 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369595 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370153 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (366629 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367404 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367404 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370686 / 370688 bytes), waiting to send 307 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370686 / 370688 bytes), waiting to send 307 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368460 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (368460 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369118 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369003 / 370688 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (369556 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (367155 / 370688 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (370054 / 370688 bytes), waiting to send 4097 bytes
Total frames rendered: 10310, number of frames that lagged: 4467 (43.33%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 518 (5%), Number of p-frames dropped: 487 (4.7%), Total 1005 (9.8%)
x264: frame I:46 Avg QP:22.62 size:119498
x264: frame P:4337 Avg QP:25.71 size: 16456
x264: frame B:5886 Avg QP:29.59 size: 2834
x264: consecutive B-frames: 9.9% 33.8% 21.5% 34.8%
x264: mb I I16..4: 8.7% 36.6% 54.7%
x264: mb P I16..4: 4.1% 6.5% 0.9% P16..4: 36.9% 12.7% 4.5% 0.0% 0.0% skip:34.4%
x264: mb B I16..4: 0.4% 0.3% 0.0% B16..8: 12.9% 3.4% 0.4% direct: 2.5% skip:80.2% L0:37.8% L1:53.6% BI: 8.7%
x264: 8x8 transform intra:53.4% inter:34.0%
x264: coded y,uvDC,uvAC intra: 67.2% 36.9% 13.5% inter: 9.9% 5.1% 0.8%
x264: i16 v,h,dc,p: 20% 34% 38% 8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 23% 31% 5% 6% 4% 9% 4% 9%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 23% 20% 7% 7% 6% 9% 5% 8%
x264: i8c dc,h,v,p: 61% 24% 12% 3%
x264: Weighted P-Frames: Y:0.5% UV:0.2%
x264: kb/s:1723.27
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 34.333 ms] [avg calls per frame: 1] [children: 94.4%] [unaccounted: 5.64%]
| scene->Preprocess - [57.7%] [avg time: 19.806 ms] [avg calls per frame: 1]
| video encoding and uploading - [36.7%] [avg time: 12.59 ms] [avg calls per frame: 1] [children: 2.97%] [unaccounted: 33.7%]
| | CopyResource - [0.0466%] [avg time: 0.016 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.0117%] [avg time: 0.004 ms] [avg calls per frame: 0]
| | call to encoder - [2.87%] [avg time: 0.985 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0379%] [avg time: 0.013 ms] [avg calls per frame: 0]
==============================================================
 

hilalpro

Member
you're lagging quite a bit of frames because of your gpu. lower the game graphics

you're also dropping frames because of the connection. try 2464/2464 on the uk server and leave the quality at 8.
 

ade007

New Member
Thanks for the reply. This settings improved the performance of the stream, but still there are some freezes from time to time, but a lot fewer and shorter. I think is acceptable.... -ish. My internet connection is the main problem why I cant stream at higher quality?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
says you're using both monitor capture and game capture.. you typically want to avoid using monitor capture if at all possible, especially if you're already using game capture. use window capture if you need to capture some window, but not monitor capture if possible
 
Top