Question / Help Huge stutter in stream

Arsalan

New Member
I've been trying to stream to Twitch.tv for the past few days, but some viewers have said that it is stuttering a lot. The log is as follows:

Code:
Open Broadcaster Software v0.466a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 690
  Video Adapter Dedicated Video Memory: 2062221312
  Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Using 7.1 surround speaker setup (experimental)
------------------------------------------
Using auxilary audio input: Microphone (ASUS Xonar Essence STX Audio Device)
------------------------------------------
Audio Encoding: AAC
    bitrate: 320
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: 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
bufferTime: 1966, outputRateWindowTime: 1000, dropThreshold: 2466
Total frames rendered: 14113, number of frames that lagged: 286 (2.03%) (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%)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 7.211 ms] [avg calls per frame: 1] [children: 97.4%] [unaccounted: 2.62%]
| scene->Preprocess - [0.0555%] [avg time: 0.004 ms] [avg calls per frame: 1]
| video encoding and uploading - [97.3%] [avg time: 7.018 ms] [avg calls per frame: 1] [children: 26.6%] [unaccounted: 70.8%]
| | CopyResource - [0.208%] [avg time: 0.015 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.111%] [avg time: 0.008 ms] [avg calls per frame: 0]
| | call to encoder - [26.1%] [avg time: 1.884 ms] [avg calls per frame: 0]
| | sending stuff out - [0.111%] [avg time: 0.008 ms] [avg calls per frame: 0]
==============================================================

Speedtest.net results:

2484189931.png


I experience no stutter when watching any of the videos, but people say they do. For example this video: http://www.twitch.tv/wolphoenix/b/363785794

Anyone have any hints for me on how to improve the stream and get rid of the stutter? Also, I am using the installer version and for some reason it starts the 32 bit version of OBS most of the time. Could that be related to the stutter?
 

Grimio

Member
You are a crazy person. 1080p at 60 fps :o
The viewers will need an extremely good PC just to watch that stream. It takes my i7-3770K to 30% in fullscreen, for reference.
You can do two things, keep 1080p and go for 30fps or drop to 720p and keep 60fps.
Also, 320 bitrate for AAC is wasted, try to not go over 128 as you won't notice any difference. That bitrate is better spent on video.
4000 kbit for video may also be a bit too high for many people, I suggest you drop it to max 3500 when you incorporate the changes above.

One more thing, why do you have so many game captures in your sources? One is enough.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
That was a hot video. Very nice, worked great on my end. Here's a few possibilities what's going on with your viewers:

1.) 1080p 60fps does not play well with all machines, some viewers could experience problems watching it because it requires a fair amount of CPU to simply watch. Turning the stream to 720p or alternatively trying 30fps might end up getting better results for them, though you'd have to experiment with the viewers to verify is that's the problem
2.) There is the possibility they lack bandwidth to watch your stream very nicely, or were having problems watching it for other reasons in that regard (though this is less likely to be honest)
 

Arsalan

New Member
Grimio said:
You are a crazy person. 1080p at 60 fps :o
The viewers will need an extremely good PC just to watch that stream. It takes my i7-3770K to 30% in fullscreen, for reference.
You can do two things, keep 1080p and go for 30fps or drop to 720p and keep 60fps.
Also, 320 bitrate for AAC is wasted, try to not go over 128 as you won't notice any difference. That bitrate is better spent on video.
4000 kbit for video may also be a bit too high for many people, I suggest you drop it to max 3500 when you incorporate the changes above.

One more thing, why do you have so many game captures in your sources? One is enough.

Thanks for the suggestions, I will try them! As for the numerous captures, I was just fooling around when I got bored and added all games that are installed as global sources... Ya :lol:


Jim said:
That was a hot video. Very nice, worked great on my end. Here's a few possibilities what's going on with your viewers:

1.) 1080p 60fps does not play well with all machines, some viewers could experience problems watching it because it requires a fair amount of CPU to simply watch. Turning the stream to 720p or alternatively trying 30fps might end up getting better results for them, though you'd have to experiment with the viewers to verify is that's the problem
2.) There is the possibility they lack bandwidth to watch your stream very nicely, or were having problems watching it for other reasons in that regard (though this is less likely to be honest)


I'll try to change the fps and the bitrate a bit more, see how it works out. Thanks for the advice!
 
Top