Go to example tasks

Convert a video clip to an animated GIF

Turns a part of a video link into an animated GIF of up to 30 seconds, with the width and frame rate you set. This example makes a 5-second GIF from 20 s to 25 s of a 1080p NASA video: 480x270, 12 frames per second, 2,901,175 bytes. $0.001 per started second of GIF; failed files are free.

Try for free
Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames
Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frameskadben/video-audio-converter
#
Source
Operation
Status
+12 fields
Text
Number
Boolean
List
Object

Input

Files:https://images-assets.nasa.gov/video/BalloonAscension_TL_VOTY/BalloonAscension_TL_VOTY~large.mp4
Operation:gif
Start:20
End:25
GIF width:480
GIF frame rate:12

Output fields

#
Source
Operation
Status
Output file
Format
Seconds
Width
Height
Bytes
Frame at (s)
Source seconds
Source bytes
Note
Billable
Error

How it works

Sign up on Apify or log in

The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor is ready to run with the inputs already set for "Convert a video clip to an animated GIF". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert a video clip to an animated GIF" task

The Video & Audio Converter (FFmpeg): Compress, MP3, GIF, Frames Actor will start running based on the input automatically. You can also change all the input fields, like files, operation, and more, to match your specific use case.

Receive the "Convert a video clip to an animated GIF" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, source, operation, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert a video clip to an animated GIF" task via API.

Image

Integrate "Convert a video clip to an animated GIF" into your workflow

Connect "Convert a video clip to an animated GIF" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The video to GIF task uses at most 30 seconds from start. The example takes 20 s to 25 s, so its GIF is 5 seconds long.

The video to GIF task charges $0.001 per started second of GIF: the 5-second example costs $0.005, plus the $0.0002 Apify start event at 4 GB; $0.015 per started 100 MB beyond the first 100 MB. Failed files are free.

The video to GIF task builds a palette from the clip first (FFmpeg palettegen and paletteuse), so the 256 GIF colors fit the scene; 10-15 fps keeps files small. The example is 2,901,175 bytes.