pub fn create_encoder(
format: VideoFormat,
output_path: &Path,
width: u32,
height: u32,
fps: f64,
) -> Result<Box<dyn VideoEncoder>, VideoError>Expand description
Create a video encoder for the specified format.
For MP4 format with scaling, use create_encoder_with_scale instead.