Skip to main content

//clika-runtime/io.clika.runtime/VideoProcessor/processWithIndices

processWithIndices

[common]
fun processWithIndices(path: String, options: VideoProcessOptions? = null, where: Placement? = null): ProcessedVideo

The clip plus which frames were sampled and when, from a video file.

[common]
fun processWithIndices(bytes: ByteArray, options: VideoProcessOptions? = null, where: Placement? = null): ProcessedVideo

The clip plus the sampling facts, from an encoded video payload.

[common]
fun processWithIndices(frames: Tensor, meta: VideoMetadata = VideoMetadata(), options: VideoProcessOptions? = null, where: Placement? = null): ProcessedVideo

The clip plus the sampling facts, from decoded frames you already hold.