Actions21
- Editing & Transcode Actions
- Muxing & Concatenate Actions
- Generation Actions
- Analyze Actions
- Audio FX Actions
- Video FX Actions
- Create Actions
Generation → GIF
AI-generatedSummary
Generate GIFs from a video input using FFmpeg.
Inputs
- ffmpegPath — Path to FFmpeg binary (default is 'ffmpeg').
- ffprobePath — Path to FFprobe binary (default is 'ffprobe').
- gifInput (required) — Path to the input video file.
- gifStart — Start time in seconds for the GIF (default is 0).
- gifDuration — Duration in seconds of the GIF (default is 5).
- gifEnd — End time in seconds for the GIF (default is 0).
- gifW — Scale width in pixels for the GIF, 0 keeps original width (default is 0).
- gifFps — Frames per second for the GIF (default is 12).
- gifOutput (required) — Path to save the generated GIF.
Output shape
no body — success/failure only
Ensure that 'gifOutput' is provided and writable.
Examples
Example 1: To create a GIF from 'input.mp4' starting from 2 seconds, lasting for 4 seconds, at 10 FPS, and saving it as 'output.gif', you would set: 'gifInput': 'input.mp4', 'gifStart': 2, 'gifDuration': 4, 'gifFps': 10, 'gifOutput': 'output.gif'.
This operation requires you to provide the paths for the input video and output GIF, along with optional parameters for start time, duration, scale width, and frames per second.