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

OBS Recording Defaults to 5kBPS on 2nd recording after reconfigure. #321

Closed
aza547 opened this issue Feb 6, 2023 · 3 comments
Closed

OBS Recording Defaults to 5kBPS on 2nd recording after reconfigure. #321

aza547 opened this issue Feb 6, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@aza547
Copy link
Owner

aza547 commented Feb 6, 2023

This is a WTF one...
https://discord.com/channels/1004860808737591326/1072228542416429116

TL;DR:

  • Recording has been bugged for months.
  • Updating bitrate and recording something works fine.
  • The next recording, the bitrate is reset to 5kbps (I think that's the default?)

I've no idea why. We use the same instance of OBS to record, the same recFactory variable on the Recorder class etc.

I tried printing out the recFactory.videoEncoder.settings on each start recording, the setting persists, but it's not passed down to OBS somehow. Despite that even the OBS logs show the correct bitrate, it's just the output file that's wrong.

Adding the application of the videoEncoder to the startOBS() function seems to resolve it:

    this.obsRecordingFactory.videoEncoder.update({
      rate_control: 'VBR',
      bitrate: 1000 * this.cfg.get<number>('obsKBitRate'),
    });
@aza547 aza547 added the bug Something isn't working label Feb 6, 2023
@aza547
Copy link
Owner Author

aza547 commented Feb 6, 2023

Things I also tried:

  • Upgrading to OSN 0.23.64, no luck.
  • Upgrading to OSN 0.23.59do10 (no idea what this versioning scheme is), had to make changes to make recording work, still didn't fix it.

@aza547
Copy link
Owner Author

aza547 commented Feb 6, 2023

Things like this make me want to quit programming, sell up and and live in a caravan off the grid

@aza547
Copy link
Owner Author

aza547 commented Feb 6, 2023

Fix in ecbefbd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant