Skip to main content

estimate_output_size_bytes

Function estimate_output_size_bytes 

Source
pub fn estimate_output_size_bytes(duration_ms: u64, bitrate_kbps: u32) -> u64
Expand description

Estimates the output file size in bytes for the given duration and bitrate.

Returns 0 for lossless or if bitrate is zero.