pub struct VideoEncoderBuilder { /* private fields */ }
Expand description

Builder for the video encoder.

Implementations§

Set an encoder option.

Set encoder bit rate. The default is 0 (i.e. automatic).

Set encoder time base. The default time base is in microseconds.

Set encoder pixel format.

Set frame width.

Set frame height.

Build the encoder.

Trait Implementations§

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.