Function target_bitrate

Source
pub fn target_bitrate(target: u64, dur: f64) -> Option<u32>
Expand description

Video bitrate (bits/s) that lands target bytes over dur seconds, leaving room for the audio. None when the numbers make no sense (no duration, or the target is smaller than the audio track).