Export video frames as GIF with gifski and vapoursynth.
gifski makes smooth GIF animations using advanced techniques that work around the GIF format's limitations.
gifski.Write(vnode clip[, string filename="output.gif", int quality=90, vnode alpha=None])
-
clip:
It must be RGB24 format. -
filename:
The name of the output GIF file.
Default: "output.gif". -
quality:
1-100, but useful range is 50-100. Recommended to set to 90.
Default: 90. -
alpha:
An optional Gray8 clip. If provided, it will be used to create transparent areas in the GIF.
Default: None.
You'll need:
- zig-master
- Rust (rust-gnu in windows)
zig build -Doptimize=ReleaseFast