frame

fun frame(frame: ColorBuffer)(source)

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.