Video Export Gif
video_export_gifExports a video (or a [start_ms,end_ms] slice of it) to an optimized looping GIF — for README/social. fps (default 12) and width (default 640, height auto) control size. Returns the output path, frame count, and size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second in the GIF (default 12). | |
| input | Yes | Path to the source video. | |
| width | No | Output width in px, height scales to keep aspect (default 640). | |
| end_ms | No | Slice end (default: end of video). | |
| output | No | Output path (default: <input>.gif). Missing parent folders are created. | |
| start_ms | No | Slice start (default 0). |