Expand description
Codec encoder factory for MJPEG and APV intra-frame codecs.
This module provides make_video_encoder, which constructs a boxed
oximedia_codec::VideoEncoder for a given CodecId. Currently
dispatched codecs are:
CodecId | Encoder | Feature gate |
|---|---|---|
CodecId::Mjpeg | MjpegEncoder | mjpeg |
CodecId::Apv | ApvEncoder | apv |
Callers that need other codecs (AV1, VP9, …) use the existing
stream-copy path in frame_pipeline.
Structs§
- Video
Encoder Params - Parameters used to instantiate an intra-frame video encoder.
Functions§
- make_
video_ encoder - Build a boxed
VideoEncoderfor the specified codec.