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.
Input
Output fields
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.

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.