"Skipped frames due to encoding lag" total frame counter does not increment when recording output scaling is enabled
Operating System Info
Windows 11
Other OS
No response
OBS Studio Version
30.2.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/Y78XoLaJwlVKTIT3
OBS Studio Crash Log URL
No response
Expected Behavior
Expected that when recording, the stats pane will show the current frames, as well as frames skipped, regardless of output options. Example, note the number 638 demonstrates OBS Studio is properly counting total recorded frames in the active recording when output scaling is disabled in the recording settings as shown here:
Output scaling setting in the recording options is set as follows when it works:
Current Behavior
Total frames in the skipped frames counter does not increment when recording. Unknown if it is still recording actual skipped frames or not. As shown here, there is an active recording, yet the frame counter reads "0 / 0 (0.0%)"
Output scaling setting in the recording options is set as follows when it does not work:
Steps to Reproduce
- Create a new profile or new installation of OBS
- In Output settings, enabled advanced options and select any option other than "disabled" in "Rescale Output" under Recording Settings
- Pick any non-canvas resolution (such as 1280x720 scaled resolution on a 1920x1080 canvas).
- Start a recording, note the total frames count (second number) in "Skipped frames due to encoding lag" will not reset and increment as expected. ...
Anything else we should know?
No response
I was able to reproduce this issue on Mac OS Sonoma (14.6) with the same OBS version.
With the settings provided there is a discrepancy between the total_frames count in the video object of the video thread vs the total_frames count in the video object of the thread which is updating the GUI. The total_frames gets incremented correctly in the video thread, but it's not getting reflected in the video object of the GUI thread so it outputs 0. With Rescaling disabled, the two threads have video objects with the same total_frames and the correct number of encoded frames is output.
I'll investigate further tomorrow.
Hi @nickcharlesyt
can you please provide a issue replication video with all the replication steps, I would like to have a look into it
Hi @nickcharlesyt
can you please provide a issue replication video with all the replication steps, I would like to have a look into it
Video demonstration here: https://www.youtube.com/watch?v=LEE9byN3I0o
First run through is with no output rescaling on recording, then I go into settings and enable output rescaling, start a new recording, and you can see no frame counter for encoding lag. This is a fresh profile and scene collection too, for the record.