obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

UI, plugins: Set default bitrate to 10000 kbps

Open notr1ch opened this issue 2 years ago • 12 comments

Description

Increases the default bitrate to 10000kbps (10mbps). For encoders that have a different bitrate / max_bitrate, use 8000 / 10000.

Motivation and Context

The default of 2500 kbps was chosen 10 years ago and times have changed. Logs and forums posts show that a lot of users who use OBS for recording don't touch the default settings and end up with a 2.5 mbps recording which looks terrible.

With service bitrate enforcement, this will be automatically capped to the maximum bitrate for streaming services, so the only time this should result in a problem is if the user's upload speed is the limiting factor, hopefully rarer these days with increasing internet speeds.

How Has This Been Tested?

Ran OBS.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

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

notr1ch avatar Aug 15 '23 19:08 notr1ch

Good change.

Should we log if the "Ignore streaming service setting recommendation" box is checked? I forsee people coming into Discord going "why is my Twitch stream not working OBS sucks" because they checked that and the default of 10 Mbps means "Source" quality will be disabled (i.e. nothing at all for streams that don't get transcodes).

derrod avatar Aug 15 '23 19:08 derrod

Should we log if the "Ignore streaming service setting recommendation" box is checked? I forsee people coming into Discord going "why is my Twitch stream not working OBS sucks" because they checked that and the default of 10 Mbps means "Source" quality will be disabled (i.e. nothing at all for streams that don't get transcodes).

Yes, we should be logging that.

I'd personally prefer a more conservative increase, such as to 5000 or 6000 Kbps, but I do agree that this default should be increased.

RytoEX avatar Aug 15 '23 20:08 RytoEX

I fully support the idea of increasing the bit rate 👍. I really know friends who made a bad stream without setting up OBS.

I only have doubts about the number. Until the 11th generation of Intel processors, such a "high" rate could easily break the coding of a low price Core i5, that I would venture to say that it has a considerable market share.

"High" rates tend to weigh a lot, however, this comment of mine is of little importance, as it depends on the sources inserted in the OBS.

ghost avatar Aug 18 '23 11:08 ghost

I fully support the idea of increasing the bit rate 👍. I really know friends who made a bad stream without setting up OBS.

I only have doubts about the number. Until the 11th generation of Intel processors, such a "high" rate could easily break the coding of a low price Core i5, that I would venture to say that it has a considerable market share.

"High" rates tend to weigh a lot, however, this comment of mine is of little importance, as it depends on the sources inserted in the OBS.

Bitrate has little to no performance impact, especially for hardware encoders, but that is a discussion to be had on our Discord or Forums.

Fenrirthviti avatar Aug 18 '23 17:08 Fenrirthviti

but that is a discussion to be had on our Discord or Forums.

With all due respect, I don't think this is an off topic discussion. We are talking about relevant things so that the MR isn't reverted in the future.

ghost avatar Aug 18 '23 22:08 ghost

As some users may be on internet plans that have a 10mbps upload speed, this would saturate their connection if they choose to stream to YouTube or similar. I'd vote that we lower it to 9000 or 8500 to avoid the potential higher support requests. Outside of that, I think this is a good change.

WizardCM avatar Aug 19 '23 23:08 WizardCM

don't touch the default settings and end up with a 2.5 mbps recording which looks terrible

2.5 Mbit/s looks quite good if you use an encoder which has plenty of CPU/GPU time available (better compression) or when there is not much movement. If you think that 2.5 Mbit/s looks terrible for 1080p or 720p, then your encoder settings are just bad. Don't use verypoor / ultrafast and then expect good quality at low bitrate.

I strongly suggest not setting the default so high. A higher bitrate increases the strain on the hardware used for encoding. With how often people use laptops with very low TDP, 10Mb/s will cause the system to overheat after some time. Besides that, especially for people who use wireless connections or DOCSIS based connection, an upload speed of more than a couple of Megabit/s is not reliably achieved. This additionally will increase the workload for those who provide support to users of OBS Studio.

What about using a default bitrate depending on video resolution and framerate, instead of a "one-size-fits-all" approach? Maybe something roughly like this for 30fps:

  • 150000 pixels (360p) or above -> 1Mb/s
  • 900000 pixels (720p) or above -> 2.5 Mb/s
  • 2000000 pixels (1080p) or above -> 5Mb/s
  • and so on

If 60fps is used instead, increase those numbers by 50%.

This would be only a few lines of code, but give much more "quality-consistent" video.

basisbit avatar Nov 22 '23 18:11 basisbit

I strongly suggest not setting the default so high. A higher bitrate increases the strain on the hardware used for encoding.

Bitrate has pretty much no impact on encoding workload.

derrod avatar Nov 22 '23 18:11 derrod

Good change.

Should we log if the "Ignore streaming service setting recommendation" box is checked? I forsee people coming into Discord going "why is my Twitch stream not working OBS sucks" because they checked that and the default of 10 Mbps means "Source" quality will be disabled (i.e. nothing at all for streams that don't get transcodes).

Do we default this checkbox off? This is the same concern that I have.

If this isn't going to negatively impact people with fresh installs then it has my approval.

Warchamp7 avatar Mar 29 '24 08:03 Warchamp7

Do we default this checkbox off? This is the same concern that I have.

If this isn't going to negatively impact people with fresh installs then it has my approval.

The checkbox is off by default, and there's even a warning message when you try to check it.

derrod avatar Mar 29 '24 08:03 derrod

I'd personally prefer a more conservative increase, such as to 5000 or 6000 Kbps, but I do agree that this default should be increased.

For the record, this is still my opinion.

RytoEX avatar Mar 29 '24 14:03 RytoEX

I would be fine with 6000. It'd still be a significant improvement over 2500.

Warchamp7 avatar Apr 07 '24 03:04 Warchamp7