Question / Help Stream Lag to Twitch - I've exhausted my brain

MiguelDH98

New Member
The problem I'm having is when I stream to twitch the video is laggy. It's as if its dropping frames and/or buffering. This only appears in the stream. The game does not lag and when recorded locally the recorded video does now lag.

I will post a link to the log files as soon as I get home tonight.



I'll start by saying I have exhausted myself trying to resolve this issue. I recently upgrade my PC in an effort to resolve the issue and have had no success. So I'll post my specs below. As an example I'll also post a link to a playlist of video I've streamed/recorded using OBS. The first three videos are streams to twitch that I have then exported over to youtube. In middle there somewhere I switched from 1080p to 720p to see if that was part of the problem. in the 4th video I switched to recording locally and then uploading to youtube. I also switched back (at some point, possibly the beginning) to 1080p.

You can see the huge difference in what appears to be framedrop/bufering.

Examples of the problem can bee seen in the first 3 videos and the rest show a marked quality increase using local recording.
https://www.youtube.com/watch?v=ZNiyO1sp68o&list=PLIwroHJoTNKtmT2QZXSory21aPGMlsIcW

Now, I have followed the twitch configuration guide that is available here on the support section to the letter. I have also looked at many other guides on the internet that have 99% of the same configuration settings. I have verified I am using the closest geographic twitch ingest server and I have also tried various others.

I had a similar (but worse) problem on my previous PC which was an i5 3550 with 16GB ram and a GTX 750Ti(2GB video RAM) video card.

my current PC is a i7 6700k with 16GB DDR 4 3000 RAM and a GTX 960.

I'm using dual SSD drives in a Raid 0 configuration on both PC's

My internet speeds are 300MB down and 50MB up. With several devices running I typically get 278MB down and 37MB up on speed tests. I have done the speed tests bboth by publicly available sites as well as my providers local speed test.


I have used the application you can find online to test ingest speeds to twitch. I get a 99+ rating to all servers with a suggested upload rate of 10000+kbps.

I have configured OBS to run everywhere from 1700Kbps 720p / 30FPS upload all the way up to 3500Kbps @ 1080p / 30FPS upload.

I never see lag in game. I see very little if any performance/quality issues when recording locally. I don't know if OBS encodes the video as well as I would like but it definitely looks better than 720p streaming.

I would appreciate any advice anyone might have on resolving my issue. I would be happy to upload any logs that might indicate where the problem is. Can someone tell me where to find those?

I should also say that in the app I never see high CPU utilization or dropped frames.


Do I need to ditch twitch? Or am I doing something wrong?
 
Last edited:

dping

Active Member
Ok. I'll start by saying I have exhausted myself trying to resolve this issue. I recently upgrade my PC in an effort to resolve the issue and have had no success. So I'll post my specs below. As an example I'll also post a link to a playlist of video I've streamed/recorded using OBS. The first three videos are streams to twitch that I have then exported over to youtube. In middle there somewhere I switched from 1080p to 720p to see if that was part of the problem. in the 4th video I switched to recording locally and then uploading to youtube. I also switched back (at some point, possibly the beginning) to 1080p.

You can see the huge difference in what appears to be framedrop/bufering.

Examples of the problem can bee seen in the first 3 videos and the rest show a marked quality increase using local recording.
https://www.youtube.com/watch?v=ZNiyO1sp68o&list=PLIwroHJoTNKtmT2QZXSory21aPGMlsIcW

Now, I have followed the twitch configuration guide that is available here on the support section to the letter. I have also looked at many other guides on the internet that have 99% of the same configuration settings. I have verified I am using the closest geographic twitch ingest server and I have also tried various others.

I had a similar (but worse) problem on my previous PC which was an i5 3550 with 16GB ram and a GTX 750Ti(2GB video RAM) video card.

my current PC is a i7 6700k with 16GB DDR 4 3000 RAM and a GTX 960.

I'm using dual SSD drives in a Raid 0 configuration on both PC's

My internet speeds are 300MB down and 50MB up. With several devices running I typically get 278MB down and 37MB up on speed tests. I have done the speed tests bboth by publicly available sites as well as my providers local speed test.


I have used the application you can find online to test ingest speeds to twitch. I get a 99+ rating to all servers with a suggested upload rate of 10000+kbps.

I have configured OBS to run everywhere from 1700Kbps 720p / 30FPS upload all the way up to 3500Kbps @ 1080p / 30FPS upload.

I never see lag in game. I see very little if any performance/quality issues when recording locally. I don't know if OBS encodes the video as well as I would like but it definitely looks better than 720p streaming.

I would appreciate any advice anyone might have on resolving my issue. I would be happy to upload any logs that might indicate where the problem is. Can someone tell me where to find those?

I should also say that in the app I never see high CPU utilization or dropped frames.


Do I need to ditch twitch? Or am I doing something wrong?
Can you please summarize your issue in 1 or 2 short sentences and post a link to your logfile where said issue happened? I'm really trying to read what your issue it but all I see is what you've done to try and remediate the issue without actually saying what is wrong.

Please define lag as well, is stream buffering? in-game stuttering? stream stuttering? low fps in game? low fps on stream?

giphy.gif
 

MiguelDH98

New Member
I've updated my post to include a brief explanation of my problem. I'll post the logs as soon as I'm home from work.


Thank you for responding.
 

dping

Active Member
I've updated my post to include a brief explanation of my problem. I'll post the logs as soon as I'm home from work.


Thank you for responding.
The real test is how does your archive look? if it looks fine then there is nothing you can do besides lower bitrate.

https://obsproject.com/forum/thread...oads-constantly-for-my-viewers-but-why.18465/

note that if you watch your stream on your encoding/gaming PC, expect issues. just use a popout chat on the your PC.

just because you buffer while you watch your own stream even on a different device, this doesn't mean that viewers will buffer, you must rely on them to tell you what is going on.
 

MiguelDH98

New Member
Thanks for the reply dping.

The issue appears when watching the archive. and I lowering the bitrate has not resolved the issue. All upstream tests to twitch show I should be able to upload 10000Kbps+. So 1700 to 3500Kbps shouldn't be a problem.


I'll see if I can get better results with youtube or hitbox. I know my upload speed should be more than capable.
 

dping

Active Member
I am using Windows 10. Windows 10 Pro in fact. I have all the latest windows updates. If that matters.
If it shows on the archive, then it is definitely somewhere between you, your ISP and twitch.
I'd like to see a logfile and the results of the twitch test as well. please post a log when you know it happened
http://www.teamliquid.net/forum/tech-support/478845-twitchtest-twitch-bandwidth-tester

run the long test for your region and post screenshots of the results.
 

MiguelDH98

New Member

FerretBomb

Active Member
Your TBT results and logfile are conflicting badly; TBT says 10mbit, but your log shows for the first few attempts that your connection is the problem, even at 1800kbps. Later in that log, it shows streaming for an extended period with almost no issue (only two stalls which did not significantly impact throughput).

I'd recommend power-cycling your modem to see if the issue goes away; some consumer-grade gear will have memory leaks over time, especially when dealing with high, stable throughput. A reboot should clear them out, and if you can stream just fine for a while afterward, it'd narrow down the problem to something you may be able to fix (or at least work around).

Short version, it looks like your connection is unstable. Sometimes it's so bad even 1800kbps can't get through, but other times it's running 10mbps no problem. Is it a shared connection? The only other thing I can imagine is the modem thing, or your ISP shaping traffic during certain hours.
 
Top