Question / Help video always freezes for 1-2 seconds, audio continues

liamdawe

New Member
Every single time I record gameplay, the video will have a moment (sometimes multiple) where the video will freeze for 1-2 seconds while audio continues. It constantly ruins important parts of videos.

I didn't actually realise OBS made logs every time (not just when run in terminal), which is why I'm only reporting it now. It's been a problem for a long, long time.

Happens across Ubuntu and Manjaro, different distribution does not matter. Log from most recent recording attached. The log does clearly show some frames lagged:
"10:53:24.270: Output 'simple_file_output': Total frames output: 26677
10:53:24.270: Output 'simple_file_output': Total drawn frames: 26704 (26720 attempted)
10:53:24.270: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 16 (0.1%)
10:53:24.270: Video stopped, number of skipped frames due to encoding lag: 295/26717 (1.1%)
10:53:24.270: Video stopped, number of skipped frames due to encoding lag: 295/26717 (1.1%)"

This is when using NVENC and Rocket League is not exactly a demanding game for my hardware: Intel i7-5960X + NVIDIA 980ti.

Posting here, as my bug report was closed.
 

Attachments

  • 2019-07-23 10-38-36.txt
    48.7 KB · Views: 11
Last edited:

Narcogen

Active Member
Encoder overload for NVENC isn't the same as rendering lag, which would generally mean that between your game and OBS rendering your scenes, you are overloading your GPU.

Encoding overload means that the hardware encoder on your GPU cannot produce all the required frames in time at the specified resolution, framerate, and quality setting.

Does it persist at the same percentage if you increase your CQP above 16?
 

Narcogen

Active Member
No rendering lag at all in that log, significantly less encoding lag-- from 1.1% to 0.2%. Keep going.
 
Top