pub fn make_video_encoder(
codec_id: CodecId,
params: &VideoEncoderParams,
) -> Result<Box<dyn VideoEncoder>>Expand description
Build a boxed VideoEncoder for the specified codec.
ยงErrors
TranscodeError::Unsupportedifcodec_idis not MJPEG or APV.TranscodeError::CodecErrorif the underlying encoder rejects the parameters.