obsproject / obsproject/obs-studio
"Skipped frames due to encoding lag" total frame counter does not increment when recording output scaling is enabled
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in OBS Studio 30.2.2 using a non-disabled Recording Output scaling option, then observe the Stats pane's "Skipped frames due to encoding lag" counter. Trace the recording output scaling path and counter updates; done means the total frame count increments during scaled recording as it does without output scaling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100