Skip to content

"Skipped frames due to encoding lag" total frame counter does not increment when recording output scaling is enabled #11078

Open

Description

@nickcharlesyt

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:

image

Output scaling setting in the recording options is set as follows when it works:

image

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%)"

image

Output scaling setting in the recording options is set as follows when it does not work:

image

Steps to Reproduce

  1. Create a new profile or new installation of OBS
  2. In Output settings, enabled advanced options and select any option other than "disabled" in "Rescale Output" under Recording Settings
  3. Pick any non-canvas resolution (such as 1280x720 scaled resolution on a 1920x1080 canvas).
  4. 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

Activity

  1. ArnavMehrotra commented on Aug 6, 2024

    @ArnavMehrotra

    I was able to reproduce this issue on Mac OS Sonoma (14.6) with the same OBS version.

  2. ArnavMehrotra commented on Aug 7, 2024

    @ArnavMehrotra

    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.

  3. Sugam-Chand-M commented on Sep 2, 2024

    @Sugam-Chand-M

    Hi @nickcharlesyt

    can you please provide a issue replication video with all the replication steps, I would like to have a look into it

  4. nickcharlesyt commented on Sep 17, 2024

    @nickcharlesyt
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions