AMF icon indicating copy to clipboard operation
AMF copied to clipboard

[Bug]: PeakBitrate param not working propper

Open Johl7 opened this issue 1 year ago • 7 comments

Describe the bug By setting PeakBitrate to a certain value in OBS it will behave as being the TargetBitrate, TargetBirate doesn't seem to be working

To Reproduce Steps to reproduce the behavior:

  1. In OBS(30.2.3), set the following parameter 'PeakBitrate=16000000' while having Target in the GUI, or putting it on the command line as 8000000(8mbps) Screenshot 2024-09-06 233632
  2. Initialize the Encoder
  3. The result will be PeakBitrate=TargetBitrate, while target does nothing

Setup (please complete the following information):

  • OS: Windows 11

  • Driver Version 24.8.1

  • GPU RX 6650 XT

  • Encoder issue

Expected behavior PeakBitrate not behaving as bein the Target

Johl7 avatar Sep 07 '24 02:09 Johl7

How did you conclude that the parameter is not working? Rate control mode is CBR so you may not see this by individual frame sizes.

MikhailAMD avatar Sep 09 '24 13:09 MikhailAMD

when i set PeakB, it overrides Target, therefore the bitrate with CBR, for example, will always be equal and constant to the value set with PeakB..

Johl7 avatar Sep 09 '24 14:09 Johl7

Screenshot 2024-09-09 112614

Like here, CBR, Target is set to 8mbps and Peak to 16mbps.... output is constant at 16

Johl7 avatar Sep 09 '24 14:09 Johl7

OK, will check

MikhailAMD avatar Sep 09 '24 15:09 MikhailAMD

Ok, many thanks!

Johl7 avatar Sep 13 '24 12:09 Johl7

Try setting b frames to 0 and see if the issue continues to happen. I've noticed b frames cause this to happen on my end.

You might also set preset to balanced as balanced is much lower load on the encoder (less than half the load of quality) and I at least couldn't tell the difference

Eckoa avatar Sep 17 '24 20:09 Eckoa

Try setting b frames to 0 and see if the issue continues to happen. I've noticed b frames cause this to happen on my end.

You might also set preset to balanced as balanced is much lower load on the encoder (less than half the load of quality) and I at least couldn't tell the difference

Yeah, tried it with bfs disabled, same behavior... Peak=Target

Johl7 avatar Sep 19 '24 01:09 Johl7