VideoFilterBuilder

Collects the steps of a video FilterChain. See videoFilters.

Functions

Link copied to clipboard
fun crop(width: Int, height: Int, x: Int? = null, y: Int? = null)

Adds a Crop step.

Link copied to clipboard
fun deinterlace(with: Deinterlacer = Deinterlacer.Bwdif)

Adds a Deinterlace step.

Link copied to clipboard
fun drawBox(x: Int, y: Int, width: Int, height: Int, color: String = "red", thickness: Int = 3)

Adds a DrawBox step.

Link copied to clipboard
fun format(format: PixelFormat)

Adds a Format step.

Link copied to clipboard
fun fps(rate: Rational)

Adds an Fps step.

Link copied to clipboard
fun pad(width: Int, height: Int, x: Int = -1, y: Int = -1, color: String = "black")

Adds a Pad step.

Link copied to clipboard
fun raw(fragment: String)

Adds a Raw step.

Link copied to clipboard
fun scale(width: Int, height: Int)

Adds a Scale step.

Link copied to clipboard

Adds a Transpose step.