Question / Help Frame Drops because of uplod speed

noby_74

New Member
Hi,

I am streaming starcraft 2 1080p@30fpd. My Rig is a Sandy Bridge Core i5 overclocked to 4,5 GHZ and a Geforce GTI 660TI.

I am streaming to twitch.tv

I live in Germany, Provider is Kabel Deutschland with 6 mbit up and 100 mbit down.

I chose the recommended settings, with bitrate of 4000, hoever i get massive frame drops with it:
Code:
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: g930 (4- Logitech G930 Headset)
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Mikrofon (4- Logitech G930 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
Using graphics capture
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 4.0
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 4000
    buffer size: 4000
    quality: 10
------------------------------------------
SharedTexCapture hooked
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-fra.justin.tv/app
SO_SNDBUF already at 65536
bufferTime: 1883, outputRateWindowTime: 1000, dropThreshold: 2383
RTMPPublisher::BufferedSend: Socket buffer is full (524698 / 528384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
RTMPPublisher::BufferedSend: Socket buffer is full (524698 / 528384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (524336 / 528384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (525193 / 528384 bytes), waiting to send 4104 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (526986 / 528384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (527125 / 528384 bytes), waiting to send 4097 bytes
RTMPPublisher::BufferedSend: Socket buffer is full (527125 / 528384 bytes), waiting to send 4097 bytes
[b]........................
And Many more of that.[/b]

Total frames rendered: 26821, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 5259 (20%), Number of p-frames dropped: 5638 (21%), Total 10897 (41%)
x264: frame I:118   Avg QP:29.08  size:216938
x264: frame P:9742  Avg QP:30.61  size: 29722
x264: frame B:16923 Avg QP:33.64  size:  4549
x264: consecutive B-frames: 10.9% 10.6% 11.9% 66.7%
x264: mb I  I16..4: 24.0% 18.9% 57.1%
x264: mb P  I16..4:  1.6%  1.3%  1.1%  P16..4: 19.6%  6.9%  4.2%  0.0%  0.0%    skip:65.3%
x264: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  2.9%  1.7%  0.4%  direct: 1.7%  skip:93.1%  L0:32.7% L1:46.1% BI:21.2%
x264: 8x8 transform intra:29.6% inter:22.6%
x264: coded y,uvDC,uvAC intra: 65.2% 48.1% 31.9% inter: 5.6% 4.6% 1.5%
x264: i16 v,h,dc,p: 30% 38% 25%  7%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 18% 35%  5% 13%  4%  6%  4%  7%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 17% 19% 10% 13%  6%  9%  5%  7%
x264: i8c dc,h,v,p: 58% 27% 12%  4%
x264: Weighted P-Frames: Y:0.2% UV:0.1%
x264: kb/s:3513.11
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 3.523 ms] [avg calls per frame: 1] [children: 84.4%] [unaccounted: 15.6%]
| scene->Preprocess - [0.114%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [84.2%] [avg time: 2.968 ms] [avg calls per frame: 1] [children: 61.6%] [unaccounted: 22.7%]
| | CopyResource - [0.511%] [avg time: 0.018 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [1.59%] [avg time: 0.056 ms] [avg calls per frame: 0]
| | call to encoder - [59%] [avg time: 2.079 ms] [avg calls per frame: 0]
| | sending stuff out - [0.454%] [avg time: 0.016 ms] [avg calls per frame: 0]
==============================================================

CPU Utilization is nowhere near max, so it seems the internet speed is the problem. I already chose the server with the best ping to my place.

I tried to stream with only 1000 kbit, then it works fine without frame drops. But quality is really bad. Can someone give me a tip how I can get it tor run at 4000 kbit?

Thank you in advance!
 

paibox

heros in an halfshel
The first thing you should try is streaming to the primary London server instead of Frankfurt. Frankfurt has had some pretty bad bandwidth issues for a while now.
 

noby_74

New Member
paibox thanks for your reply. This actually seems to have fixed my problem. I have to try a little bit longer. I chose the secondary london server as it has a better ping and less jitter. Or should I try to choose the "Global Load Balancing Server"?
 

paibox

heros in an halfshel
The secondary London server sometimes has issues, but I say keep using London if it works. Global load balancing is almost never a good idea, it only works sometimes because it randomly assigns you a server to stream to, and you get lucky.
 

noby_74

New Member
Ok just streamed a full game even at 1080p and 60fps. No more frame drops :-)

The framerate ingame dips a bit in the later game because at 60 fps the CPU is loaded almost to the max. Maybe I go to 45 fps, I have to try some different options.

Great Software :-)
 
Top