OBS ignores video encoder parameters in custom output(ffmpeg)

So i use obs to stream to an icecast streamserver however people reporting that the stream closes sometimes on their end.

i suspect that this is caused by the big variation in the bitrate. i set it to 4mbit but it goes up to 10mbit (see screenshot) and on low motion in scene it goes down to 1mbit. i think this means that the mode is vbr and not cbr.

i tried to use custom params (see screenshot) but no matter what i put in this field the result is the same. the bitrate always fluctuates too much.

any ideas on how to get cbr like you would get when you stream regular to youtube via nvenc_hevc?

unfortunately i need to use the recording function of obs for that since it needs icecast needs a very specific url and i couldnt get it to work with the stream function.
2024-05-31_19_00_58-OBS_30.1.2_-_Portable_Mode_-_Profile__icecastNEW_-_Scenes__1080p.png
2024-05-31_19_01_25-Settings.png
Was this page helpful?