← back to roto on ba3a.dev

Companion

object Companion

The stage name, defaults and the thumbnail layout.

Properties

Link copied to clipboard
const val FRAMES: Int = 12

Enough to find a moment in a few seconds of video; each one costs a run of ffmpeg.

Link copied to clipboard
const val STAGE: String

The stage name, which is the cache subfolder its outputs live in.

Link copied to clipboard
const val THUMBNAIL_HEIGHT: Int = 96

The default height of a thumbnail in pixels.

Functions

Link copied to clipboard
fun centres(length: Long, count: Int): List<Long>

The centres of count equal slices of length: of a video in ms, or of a clip in frames.