---
title: "processWithIndices"
sidebar_label: "processWithIndices"
description: "Kotlin binding reference: processWithIndices."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[VideoProcessor](index.md)/[processWithIndices](processWithIndices.md)

# processWithIndices

[common]\
fun [processWithIndices](processWithIndices.md)(path: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), options: [VideoProcessOptions](../VideoProcessOptions/index.md)? = null, where: [Placement](../Placement/index.md)? = null): [ProcessedVideo](../ProcessedVideo/index.md)

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

[common]\
fun [processWithIndices](processWithIndices.md)(bytes: [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html), options: [VideoProcessOptions](../VideoProcessOptions/index.md)? = null, where: [Placement](../Placement/index.md)? = null): [ProcessedVideo](../ProcessedVideo/index.md)

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

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

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