Question / Help Streaming a smooth 60 FPS -- at wits end

Nightmare_

New Member
Hello all,

I've recently made the switch over from XSplit and I have to say I am very impressed on the responsiveness, neat interface and less system intensive streaming that OBS offers in comparison. However, I have been having a frustrating problem when attempting to stream in 60 FPS smoothly. In-game frame rate can be extremely high, in excess of 60, yet the stream itself looks like it renders between 30-40 FPS. It just doesn't seem as fluid as other 60 FPS streams are. OBS reports no dropped frames, I live in New York and stream to Twitch's NY server -- also tested for jitter and scored 1 MS on the pingtest. My upload rate is a healthy 8 MBPS. I stream 720p at a 3000 bit rate. I tried CBR and CFR. None help. My system is also extremely high end with a 2700k @ 4.7 GHz and SLI GTX 680s. I messed with virtually every setting possible, I was on Windows 8 at the time and read that the Metro UI could drop frame rate so I switched back to Windows 7 and still same problem. :(

I've attached a log file and here is a link to one of my stream videos if you want to see how fluid it looks to you: http://www.twitch.tv/colddestiny/b/391914831

Thanks for any help!

------------------------------------------
Open Broadcaster Software v0.48.014b (test build) - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
CPU Speed: 3500MHz
Physical Memory: 16351MB Total, 14014MB Free
stepping id: 7, 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: NVIDIA GeForce GTX 680
Video Adapter Dedicated Video Memory: 2062221312
Video Adapter Shared System Memory: 2147479552
=====Stream Start: 2013-04-16, 22:46:50===============================================
Multithreaded optimizations: On
Base resolution: 1920x1080
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{fd60396f-9122-43ce-bce0-8da218ac3e59}
------------------------------------------
Using desktop audio input: Speakers (Sound Blaster Z)
Using 5.1 speaker setup
------------------------------------------
Using auxilary audio input: Microphone (Sound Blaster Z)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
Using graphics capture
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: yes
max bitrate: 3000
buffer size: 3000
quality: 8
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-jfk.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
SharedTexCapture hooked
------------------------------------------
Total frames rendered: 37303, number of frames that lagged: 13 (0.03%) (it's okay for some frames to lag)
Total duplicated frames: 619 (1.66%)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-16, 22:57:12=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 1.108 ms] [avg calls per frame: 1] [children: 74.8%] [unaccounted: 25.2%]
| scene->Preprocess - [0%] [avg time: 0 ms] [avg calls per frame: 1]
| video encoding and uploading - [74.8%] [avg time: 0.829 ms] [avg calls per frame: 1] [children: 72.6%] [unaccounted: 2.26%]
| | CopyResource - [0.632%] [avg time: 0.007 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.181%] [avg time: 0.002 ms] [avg calls per frame: 0]
| | call to encoder - [69.5%] [avg time: 0.77 ms] [avg calls per frame: 1]
| | sending stuff out - [2.26%] [avg time: 0.025 ms] [avg calls per frame: 1]
==============================================================
 

hilalpro

Member
Disable cfr and try things in this order.

Right click on the flash player and disable "hardware acceleration" from settings then restart your browser

If you see no difference in playback smoothness then try the following
go to custom x264 settings from advanced and enter "tune=fastdecode bframes=0" without quotes, this will degrade quality a bit so you might wanna use a little more bitrate.
 

Nightmare_

New Member
I tried all the settings you mentioned but still the stream doesn't seem as smooth as what I'm aiming for. I'm trying to make it as fluid as what I'm viewing on my screen, but the stream almost seems like it skips frames.
 

Nightmare_

New Member
I was using an x64 build of Firefox called Cyberfox. I did disable Hardware Acceleration and it didn't seem to make a big difference. I tried Chrome as well (since it does not use hardware acceleration in its built in Flash), and it seemed a little smoother. I primarily view my streams through my laptop which is still pretty high end -- i7 2630QM w/ GTX 560m.

May I ask what you were using to see the statistics of the stream like that?
 

Floatingthru

Community Helper
Watching VODs in flash and using browsers tend to make the motion more stuttery than it really is, especially if its 60fps. Flash hates 60fps things for whatever reason. You can download your VODs (http://bashtech.net/twitch/download.php) and watch them using vlc or mpc-hc. I am not sure what program hilalpro is using, but I use mediainfo (http://en.wikipedia.org/wiki/MediaInfo) to look at the stats of a video.

Your stream appears to be smooth as it can be!

Duration : 3mn 36s
Bit rate : 1 808 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 fps
 

hilalpro

Member
I'm using an external player that shows real time fps.. the left is the overall claimed fps the center is the decoded fps rate and on the right is the draw fps rate (most important).
Actually internet explorer 64bit seem to give the best results when it comes to flash playback. lower the fps to 48 and try those settings again.
 

Krazy

Town drunk
Your VOD actually looks perfectly fine to me....right now. I have noticed that sometimes Twitch VODs will at random times (seemingly, it might not be random but I haven't figured out the trigger) play back jittery and horrible. Downloading the VODs and playing them in a media player shows they are smooth, but for some reason they just don't play back well in the player.

In short, it may not be anything you are doing wrong.
 
Top