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

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

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

# VideoInfo

[common]\
data class [VideoInfo](index.md)(val totalFrames: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), val fps: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val durationSeconds: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), val width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), val codec: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val pixelFormat: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

A video stream's static geometry and timing, read from its header. The frame count reads 0 where the container cannot establish it; the index reads then refuse an out-of-range frame by name.

## Constructors

| | |
|---|---|
| [VideoInfo](VideoInfo.md) | [common]<br>constructor(totalFrames: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), fps: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), durationSeconds: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html), width: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), height: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html), codec: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), pixelFormat: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [codec](codec.md) | [common]<br>val [codec](codec.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [durationSeconds](durationSeconds.md) | [common]<br>val [durationSeconds](durationSeconds.md): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) |
| [fps](fps.md) | [common]<br>val [fps](fps.md): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) |
| [height](height.md) | [common]<br>val [height](height.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [pixelFormat](pixelFormat.md) | [common]<br>val [pixelFormat](pixelFormat.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [totalFrames](totalFrames.md) | [common]<br>val [totalFrames](totalFrames.md): [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) |
| [width](width.md) | [common]<br>val [width](width.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |