frame

fun frame(frame: ColorBuffer): VideoWriter

Feed a frame to the video encoder

Parameters

frame

a ColorBuffer (RGBA, 8bit) holding the image data to be written to the video. The ColorBuffer should have the same resolution as the VideoWriter.

Sources

Link copied to clipboard