Setting

data class Setting(codec: VideoCodec? = null) : Codec.Setting

Video encoder settings. Configure dimensions and profile before starting encoding.

Constructors

Link copied to clipboard
constructor(codec: VideoCodec? = null)

Properties

Link copied to clipboard

The target video bit rate, in bits per second.

Link copied to clipboard

The target video frame rate, in frames per second.

Link copied to clipboard
var height: Int

The requested output height, in pixels. Odd values are rounded down for the associated codec.

Link copied to clipboard

The interval between keyframes, in seconds.

Link copied to clipboard

Additional MediaFormat options applied when the codec is configured.

Link copied to clipboard

Specifies the video codec profile level.

Link copied to clipboard

Specifies the scaling mode for a video output.

Link copied to clipboard
var width: Int

The requested output width, in pixels. Odd values are rounded down for the associated codec.