FFmpeg.wasm icon

FFmpeg.wasm

Process audio and video files using FFmpeg.wasm

GIF/WebP Animation

AI-generated

Summary

Generate an animated GIF or WebP from a video input using FFmpeg.wasm.

Inputs

  • binaryPropertyName — Name of the binary property containing the input video file. Default: data.

Output shape

Binary property containing the generated GIF or WebP animation file, with metadata (filename, mimeType, size).

The output binary property defaults to 'data' and can be configured via outputBinaryPropertyName.

Examples

Example 1: Create a GIF from a video clip starting at 00:00:10 for 5 seconds, 10 FPS, 256 colors, Bayer dither, looping.

gifOutputFormat=gif, gifWidth=480, gifHeight=-1, gifFps=10, gifStartTime=00:00:10, gifDuration=5, gifColors=256, gifDither=bayer, gifLoop=true

Links

Discussion