Skip to main content

//clika-runtime/io.clika.runtime/VideoInfo

VideoInfo

[common]
data class VideoInfo(val totalFrames: Long, val fps: Double, val durationSeconds: Double, val width: Int, val height: Int, val codec: String, val pixelFormat: String)

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[common]
constructor(totalFrames: Long, fps: Double, durationSeconds: Double, width: Int, height: Int, codec: String, pixelFormat: String)

Properties​

NameSummary
codec[common]
val codec: String
durationSeconds[common]
val durationSeconds: Double
fps[common]
val fps: Double
height[common]
val height: Int
pixelFormat[common]
val pixelFormat: String
totalFrames[common]
val totalFrames: Long
width[common]
val width: Int