Question / Help Obs gameplay smooth, twitch gameplay is choppy

BK-Morpheus

Active Member
Code:
08:12:40.887:     output resolution: 1920x1080

08:13:11.619: [x264 encoder: 'streaming_h264'] preset: fast
08:13:11.620: [x264 encoder: 'streaming_h264'] settings:
08:13:11.620:     rate_control: CBR
08:13:11.620:     bitrate:      2500
08:13:11.620:     buffer size:  2500
08:13:11.620:     crf:          0
08:13:11.620:     fps_num:      60
08:13:11.620:     fps_den:      1
08:13:11.620:     width:        1920
08:13:11.620:     height:       1080
08:13:11.620:     keyint:       120


08:37:18.420: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 25 (0.0%)
08:37:18.422: Video stopped, number of skipped frames due to encoding lag: 1160/86748 (1.3%)
That's just with shootergame.exe (PUBG i think).

But in Rocket League it get's really bad:
Code:
08:44:07.407: Output 'adv_stream': Total frames output: 21670
08:44:07.407: Output 'adv_stream': Total drawn frames: 23458 (23569 attempted)
08:44:07.407: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 111 (0.5%)
08:44:07.414: ==== Streaming Stop ================================================
08:44:09.699: Video stopped, number of skipped frames due to encoding lag: 14591/21852 (66.8%)
08:44:20.480: ==== Shutting down ==================================================

Your CPU can't handle 1080p 60fps encoding with fast x264 preset in Rocketleague.
But 2500kbit's CBR is way to low for 1080p (and especially for 60fps) anyway, so it doesn't make sense to chose these settings.
Use 720p 30fps or increase bitrate a lot.
To lower CPU load, you can go back to the default x264 preset, which is "very fast", reduce the resolution/framerate or switch to NVENC.
Also of course you will need a fps limit in your game, to keep control over the maximum GPU and CPU load.


encoding lag = CPU overload (if x264 is used for encoding)
rendering lag = GPU overload (GPU will render your scene composition, even if OBS is just opened and not recording)
 
Top