Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding: Fix low bitrate check #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Penwy
Copy link
Contributor

@Penwy Penwy commented Apr 30, 2024

Description

This fixes the "Low Stream Bitrate" check to work with the new encoder names, and reworks it to work with all of obs' default encoders, and be less disruptible.

Motivation and Context

The "Low Stream Bitrate" check is currently nonfunctional, due to the encoders rename in OBS 28.

How Has This Been Tested?

This was tested by manually feeding the lines to the function and checking it gets the right values.
It was tested with

  • x264
  • "new" nvenc and ffmpeg nvenc
  • qsv11
  • texture amf and fallback amf

Types of changes

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX
Copy link
Member

RytoEX commented Nov 21, 2024

Do you have logs to test this against?

@Penwy
Copy link
Contributor Author

Penwy commented Nov 21, 2024

here's for :

Those are the encoders I have easy access to right now, if you want more I can find, but it'll take a bit more time.
(took the time to fix a few oversights I found while testing those).

Copy link
Member

@Fenrirthviti Fenrirthviti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look fine to me conceptually. No reason to have a specific check per-encoder for this. The intent might have been at some point to expand this check to do other things, but we're probably well past that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants