//clika-runtime/io.clika.runtime/Io/loadVideo
loadVideo
[common]
fun loadVideo(path: String): VideoData
Decode a whole video file: every frame as [T, H, W, 3] UInt8 on the host plus the stream facts. A large clip reads through VideoReader instead, which decodes the frames it is asked for.
[common]
fun loadVideo(bytes: ByteArray): VideoData
Decode a whole video from encoded bytes in memory.