Question / Help Recordings lag, while FPS is fine

cyborg_zrs

New Member
I have tested with the two games i want to record, War Thunder and Csgo and in both my FPS while playing was completely fine but when watched back the videos where choppy and laggy. Anyone have a fix? I have watched the footage with different things other than the standard windows 10 mp4 viewer (I used VLC). I will link example footage from CSGO (Here: https://www.youtube.com/watch?v=3AT81b_LBKc&feature=youtu.be) . Also i saw that logs was important so here: https://pastebin.com/UJEvA8Nm. Also i will leave screenshots of my settings
Attached Files:
 

Attachments

  • 165937a8f91ddb6c1966d8dcd994a2a2.png
    165937a8f91ddb6c1966d8dcd994a2a2.png
    70.9 KB · Views: 211
  • bfa00eb83a894ef2c214db99c886dd14.png
    bfa00eb83a894ef2c214db99c886dd14.png
    64.7 KB · Views: 186

T0XiiC

Member
Looking at the log file you can see the following:

  1. 17:10:01.981: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1479 (30.0%)
  2. 17:10:02.178: Video stopped, number of skipped frames due to encoding lag: 3075/4872 (63.1%)
That usually means your CPU / GPU cant handle the encoding while playing at the same time.
The 30.0% are cause by the GPU
The 63.1% are caused by the CPU.

How high is your CPU and GPU usage while playing?
 

cyborg_zrs

New Member
Looking at the log file you can see the following:

  1. 17:10:01.981: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1479 (30.0%)
  2. 17:10:02.178: Video stopped, number of skipped frames due to encoding lag: 3075/4872 (63.1%)
That usually means your CPU / GPU cant handle the encoding while playing at the same time.
The 30.0% are cause by the GPU
The 63.1% are caused by the CPU.

How high is your CPU and GPU usage while playing?
I dunno how i can check without tabbing out but another game i had this issue with is Payday2 and when i check CPU and GPU usage with that it was about 30% CPU and 60% GPU when playing and when i activated OBS there wasn't really any increase in usage that i could see in task manager
 
Last edited:

cyborg_zrs

New Member
I would now like to add after testing a few other games, being Minecraft and SCP: Containment Breach. they also get the message Encoder Overloaded, but their recording do not have the same stutter that CSGO, Payday 2 and Warthunder have and they all stay at the same FPS as my game. This was using the same recording settings which were used with Payday 2, CSGO and war thunder too
 

T0XiiC

Member
Im not really an expert, so I cant tell you exactly what the Issue is. I just know that usually the encoding lag and rendering lag / stalls is cause of CPU / GPU overload.

Someone else maybe knows more.
 

BK-Morpheus

Active Member
16:52:59.108: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 378 (22.6%)
16:52:59.113: Video stopped, number of skipped frames due to encoding lag: 232/1679 (13.8%)

To clarify things here.
Encoder lag = CPU overload
Rendering lag = GPU overload

How OBS works:
1. Scene is composed / downscaled / filtered and and then rendered via GPU (no matter if you disable OBS preview and no matter which Encoder you use)
2. The rendered frames will be encoded into a video stream/file which can be done by CPU (x264) or GPU (AMF / NVENC / Quicksync etc).

There is only one way to make sure, that there is always some GPU power left for OBS to render the frames fast enough: Limit your ingame fps!
If the GPU load is still hitting over 90%, although you already have an ingame fps limit active, reduce it further, or reduce gfx details in your game.
Another possible workaround would be switching back to old Windows version (Win7 etc.), where the GPU resources and GPU load priorities were handled differently, so a ingame fps limit was not really necessary (even if it was still a good idea to use a limit).
 
Top