fn calc_target_bitrate(target_size: u64, duration: u64) -> u64
Expand description

Calculate the target bitrate.

target_size is in kilobits. target_duration is in seconds. the bitrate is in kilobits