Divooka Reference

Flipbook IO

2 nodes

On this page 2

Load From

Function

Reads every frame of a video file into a flipbook, at the file's frame rate.

Signature
LoadFrom(videoFile: Text) -> Flipbook
Flipbook LoadFrom(string videoFile)

Parameters

nametypedefaultdescription
videoFileText—An MP4, MOV, MKV or WebM file with a picture in it.

Returns

FlipbookFlipbook
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook IO
Package
Flipbooks

Save

Function

Writes a flipbook as a video file at its frame rate: H.264 in an MP4, MOV or MKV file, or VP9 in a WebM file, by the file's extension.

Signature
Save(flipbook: Flipbook, path: Text)
void Save(Flipbook flipbook, string path)

Parameters

nametypedefaultdescription
flipbookFlipbook—The frames to write.
pathText—Where to write it, ending in .mp4, .mov, .mkv or .webm. A file already there is replaced.

Remarks

Every frame is the size of the first. H.264 and VP9 need an even width and height, so an odd edge is filled out by repeating its last row or column.

Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Flipbook IO
Package
Flipbooks