Struct openh264::encoder::Encoder [−][src]
pub struct Encoder { /* fields omitted */ }
This is supported on crate feature
encoder
only.Expand description
An OpenH264 encoder.
Implementations
Create an encoder with the provided configuration.
Encodes a YUV source and returns the encoded bitstream.
Panics
Panics if the source image dimension don’t match the configured format.
Obtain the raw API for advanced use cases.
When resorting to this call, please consider filing an issue / PR.
Safety
You must not set parameters the encoder relies on, we recommend checking the source.