Flipbook IO
2 nodes
On this page 2
Load From
FunctionReads 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
| name | type | default | description |
|---|---|---|---|
| videoFile | Text | — | An MP4, MOV, MKV or WebM file with a picture in it. |
Returns
| Flipbook | Flipbook |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Flipbook IO
- Package
- Flipbooks
Save
FunctionWrites 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
| name | type | default | description |
|---|---|---|---|
| flipbook | Flipbook | — | The frames to write. |
| path | Text | — | 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