Getting lag when streaming.

Dez

New Member
I keep getting lag spikes when streaming (Overwatch specifically) and I am wondering what I need to do in order to stream it, as well as have it look good. Usually it tells me i need to change the cpu usage preset but I havent seen much of a change when i messed with that.

My specs,
16gb ram
Amd FX-9590
Powercolor PCS+ Radeon R9 290
2ssd's & HDD
Water cooling, etc.

Speedtest: http://www.speedtest.net/result/5368412191.png

I have tested and found the best server for my stream service as well.

I am using game capture and a webcam.

Here are my settings

http://puu.sh/pbKFy/3838a7c60c.png
http://puu.sh/pbKGI/4fcc8e9db0.png
http://puu.sh/pbKM2/dcceccd9f5.png

Edit: Uploaded the logs.
 

Attachments

  • 2016-05-31 15-04-56.txt
    20.5 KB · Views: 10
Last edited:

Boildown

Active Member
Post an OBS log file from a stream of at least five minutes of high action content using the best settings you've been able to figure out so far.
 

Boildown

Active Member
@dping OBS Studio issue

15:18:04.507: [x264 encoder: 'streaming_h264'] preset: faster
15:18:04.507: [x264 encoder: 'streaming_h264'] settings:
15:18:04.507: rate_control: CBR
15:18:04.507: bitrate: 2400
15:18:04.507: buffer size: 2400
15:18:04.507: crf: 0
15:18:04.507: fps_num: 60
15:18:04.507: fps_den: 1
15:18:04.507: width: 1280
15:18:04.507: height: 720
15:18:04.507: keyint: 250
15:18:04.507: vfr: off
15:18:04.507:
15:18:04.515: ---------------------------------
15:18:04.516: [FFmpeg aac encoder: 'Track1'] bitrate: 64, channels: 2
15:18:04.518: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-dfw.twitch.tv/app...
15:18:04.557: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
15:18:05.787: [rtmp stream: 'adv_stream'] Connection to rtmp://live-dfw.twitch.tv/app successful
15:18:05.788: ==== Streaming Start ===============================================
15:24:03.341: [rtmp stream: 'adv_stream'] User stopped the stream
15:24:03.385: warning: 2 frames left in the queue on closing
15:24:03.385: Output 'adv_stream': stopping
15:24:03.385: Output 'adv_stream': Total encoded frames: 21532
15:24:03.385: Output 'adv_stream': Total drawn frames: 21532
15:24:03.385: Output 'adv_stream': Number of skipped frames due to encoding lag: 10557 (49.0%)
15:24:03.385: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 9 (0.0%)
15:24:03.386: ==== Streaming Stop ================================================

So you're encoding on Faster preset but your CPU isn't anywhere close to being able to do it. Change it to Very Fast preset, stream for at least five minutes of high action content, and post a new OBS log file.

Also when streaming to Twitch you need to set your key interval (keyint) to 2 seconds instead of auto.
 
Top