ConstantBitrate

data class ConstantBitrate(val bitrateBps: Long) : RateControl

Holds the rate: maxrate = minrate = bitrate, bufsize half of it.

On x264 this is conformant CBR, because the compiled options carry nal-hrd=cbr and the encoder writes filler to hold an undershoot. Everywhere else it is a CAPPED PIPE: the ceiling is real and the floor is a request the encoder has no way to honour.

Constructors

Link copied to clipboard
constructor(bitrateBps: Long)

Properties

Link copied to clipboard