VideoProperties

data class VideoProperties(val bitrate: Int? = null, val framerate: Double? = null, val height: Int? = null, val width: Int? = null)

Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps

Constructors

Link copied to clipboard
constructor(bitrate: Int? = null, framerate: Double? = null, height: Int? = null, width: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bitrate: Int? = null

Bitrate for generated output, in bps. Default: 2500000.

Link copied to clipboard
val framerate: Double? = null

Video frame rate, in fps. Default: 30.

Link copied to clipboard
val height: Int? = null

Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

Link copied to clipboard
val width: Int? = null

Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.