FiltersResponse

data class FiltersResponse(val crop: RectangleResponse? = null, val deinterlace: DeinterlaceResponse? = null, val fadeIn: FadeResponse? = null, val fadeOut: FadeResponse? = null, val overlays: List<Either<AudioOverlayResponse, VideoOverlayResponse>>? = null, val rotation: String? = null)

Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding.

Constructors

Link copied to clipboard
constructor(crop: RectangleResponse? = null, deinterlace: DeinterlaceResponse? = null, fadeIn: FadeResponse? = null, fadeOut: FadeResponse? = null, overlays: List<Either<AudioOverlayResponse, VideoOverlayResponse>>? = null, rotation: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val crop: RectangleResponse? = null

The parameters for the rectangular window with which to crop the input video.

Link copied to clipboard

The de-interlacing settings.

Link copied to clipboard
val fadeIn: FadeResponse? = null

Describes the properties of a Fade effect applied to the input media.

Link copied to clipboard
val fadeOut: FadeResponse? = null

Describes the properties of a Fade effect applied to the input media.

Link copied to clipboard

The properties of overlays to be applied to the input video. These could be audio, image or video overlays.

Link copied to clipboard
val rotation: String? = null

The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto