fn rate_control(settings: &CaptureSettings) -> (i32, i32)Expand description
The (bitrate_kbps, vbv_kbit) the software H.264 encoder is programmed with: the CBR
target, with a buffer of CBR_VBV_FRAMES unless video_vbv_multiplier names one, or the
peak of a CRF a positive video_vbv_multiplier caps. An uncapped CRF gets a buffer of 0.