Question / Help Help! New OBS user having trouble with stream lag/encoding errors

AyTrayne

New Member
So I messed around with it again and I think YouTube was causing the error. Is that a possibility? I tried 2 more streams (logs below) without showing a YouTube video and it seemed to be much better. Instead of a YouTube video to simulate gameplay, I used an actual .mov file from my saved games of me playing an FPS to see how it would actually look. The first stream seemed to do well and then I ran another test stream with the Twitch dashboard in the background on Chrome to see if there was a discrepancy between the 2. Surprisingly, they both looked good. AND I was streaming on 720p.

Do you see anything different in the logs that I would need to know?

Current Log: https://gist.github.com/d3829e58a3fba163b52db3410aa38d68
Last Log: https://gist.github.com/eb03c9e1099b0f6854f1bbb9ffe3e7e3

I guess my main question is this: assuming the stream could work under the settings listed above, when I incorporate a capture card, would that effect quality? I imagine I would need to use an external capture card to capture gameplay as opposed to streaming to the Windows 10 Xbox App, correct? I doubt my computer could handle streaming from the console to the PC App then back to Twitch through OBS.

If a game capture window would be similar to me watching a movie like I did in my test stream then it might be alright.

Thoughts?
 

EBrito

Active Member
Current log:
QSV 360p
11:44:18.213: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 316 (6.8%)

QSV 720p
11:52:28.844: Output 'adv_stream': Number of skipped frames due to encoding lag: 3048597526 (171.2%) *****************
11:52:28.844: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 186 (5.8%) *************
11:52:28.844: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 18 (0.0%) ***Wireless

Another QSV 720p
11:58:28.303: Output 'adv_stream': Number of skipped frames due to encoding lag: 1355262239 (51.3%) ******************
11:58:28.304: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 903 (17.2%) **********
11:58:28.305: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 135 (0.0%)

Your GPU can´t handle 720p


Last log:
QSV 360p
11:36:00.947: Output 'adv_stream': Number of skipped frames due to encoding lag: 972418052 (69.3%) ****************
11:36:00.947: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1569 (25.2%) ****************


Although I have no experience with capture cards, I think using one will release CPU and GPU power and I think you could stream 480p; maybe 720p
 

AyTrayne

New Member
So, if my computer still can't handle what's noted above, what recommendations would you have for me as I search for a new computer? I'm totally new to streaming requirements and will only be broadcasting console games via a capture card so please keep that in mind when providing recommended specs.

Side note: I would like to purchase a computer on a realistic budget (as much as possible) while still being able to stream HD (720 or higher).
 

EBrito

Active Member
http://logicalincrements.com is a good web to get PC configuration ideas

To stream 720p / 1080p:
At least i5, but better i7 (4 cores too, but 8 threads) BEST i7-6800k (6 cores, 12 threads)
GTX 1050 minimum

AMD card equivalent will use more source power
 

EBrito

Active Member
Your i5 has only 2 cores and 4 threads. An i5 (for desktop PC) with 4 independent cores is better.
 

AyTrayne

New Member
Hello again, EBrito.

I tried some streaming tests again but this time I actually used my elgato capture card for gameplay. Can you please take a look at let me know your thoughts?

I did not get an encoding error and the gameplay footage looks decent but there are noticeable choppy audio sections in addition to frame issue as well.

What's odd is when I turned down the resolution, I received encoding errors and my gameplay almost froze but when I streamed at 720p, it was fine, aside from some choppy audio and frames here and there.

Please let me know if you can pin-point the problem.

Last log file: https://gist.github.com/435b1062537ad04dda77b711191496d5
current log file: https://gist.github.com/07fa0224fc936170c067a47038eef11d
 

EBrito

Active Member
"Last log"
21:18:12.996: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 901 (23.3%)


You need to rescale down (600p ----- 540p ------ or even 480p)
OR try this "trick"
video settings: canvas and rescale 1280x720p
Maybe this will release power enough to encode without lag.


"current log"
No streaming session
 
Last edited:

EBrito

Active Member
22:26:45.718: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 318 (13.3%)

Your graphics card can´t render without lag.
Go down 480p


Changing canvas size: yes, you have to rearrange things.
 

EBrito

Active Member
12:10:36.098: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1227 (28.2%)
Yes, still lags
852x480 : you can use 1200 Kbps bitrate. You don´t need more.
Try with this bitrate,

Maybe you would also need to go down to 25 fps. (1000 Kbps enough for this)
 

EBrito

Active Member
Reduce bitrate. 2500 is more than enough for 540p.
This will give room for audio
17:40:05.124: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 15 (0.3%)
 

AyTrayne

New Member
When I changed the bitrate, it didn't help with audio and made video worse for some reason.

That said, I ran another test of my own and did NOT stream but instead, I JUST recorded the gameplay and the sound was still choppy - just as it was on stream. So it looks like it's not an issue during the stream but an issue with OBS audio or something with my Elgato capture card.

Any thoughts? Should I start a new thread?
 

EBrito

Active Member
Lower bitrate , worse image, I thought, wrongly, that was the origin of audio issue,

You are capturing 60fps from Elgato, and streaming 30.
Not experienced with capture cards,
Maybe this causes audio issues?:

12:06:09.511: [DShow Device: 'Elgato'] settings updated:
12:06:09.511: video device: Elgato Game Capture HD
12:06:09.511: video path: __elgato
12:06:09.511: resolution: 1280x720
12:06:09.511: fps: 60.00 (interval: 166666)
12:06:09.511: format: UYVY
12:06:09.512: using video device audio: yes
12:06:09.513: sample rate: 48000
12:06:09.513: channels: 2
12:06:09.513: audio type: Capture
12:06:31.463: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
12:06:51.799: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
12:07:51.143: adding 46 milliseconds of audio buffering, total audio buffering is now 139 milliseconds
12:07:51.866: adding 46 milliseconds of audio buffering, total audio buffering is now 185 milliseconds
12:07:58.249: adding 92 milliseconds of audio buffering, total audio buffering is now 278 milliseconds
 

RaptorialGaming

New Member
I'm not sure if this is necessary or not but my twitch URL is twitch.tv/aytrayne

Thanks in advance for the help!


Hey, I do not know the answer to your questions, but I really like what you have set up with your twitch channel which you linked. Did you make your offline banner and channel banner or have someone make it? Thanks!
 

AyTrayne

New Member
Hey Raptor - I made them myself.

If you would like a quick one made, let me know. If you wouldn't mind spreading the word of my twitch channel in exchange, I would appreciate it.
 
Top