index.tsx752 chars22 lines
Above is a simple Node.js script using the fluent-ffmpeg
library to convert a video to a gif.
You can adjust the video size, duration, frame rate, and other options as needed within the inputOptions
and outputOptions
.
gistlibby LogSnag