JpgLayerResponse

data class JpgLayerResponse(val height: String? = null, val label: String? = null, val quality: Int? = null, val width: String? = null)

Describes the settings to produce a JPEG image from the input video.

Constructors

Link copied to clipboard
constructor(height: String? = null, label: String? = null, quality: Int? = null, width: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val height: String? = null

The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.

Link copied to clipboard
val label: String? = null

The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.

Link copied to clipboard
val quality: Int? = null

The compression quality of the JPEG output. Range is from 0-100 and the default is 70.

Link copied to clipboard
val width: String? = null

The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input.