Video to GIF
Turn the first 10 seconds of a video into a GIF, capped at 12 frames per second and 480 pixels wide.
What the GIF page does
It takes the first ten seconds of a video and writes an animated GIF at a frame rate and width you choose, up to 12 frames per second and 480 pixels. Those two ceilings are not arbitrary: a GIF stores every frame as a palette image, so a 30 fps clip at full width is tens of megabytes and any chat app will reject it. The page therefore caps the frame rate and the width before the encode, rather than producing a file nobody can send.
The palette is generated from the clip itself in the same pass, so colours are chosen for this video instead of a fixed web-safe palette.
How to use it
Choose the video, set frames per second and width, press Run. Lower values produce a smaller file; the summary names the fps, the width and the size that came out.
Limits
The GIF covers at most the first 10 seconds of a clip; the whole input may be up to 2 minutes and 20 MB, and the GIF itself is refused above 8 MB. If your GIF is over that, the message says to lower the width or the frame rate rather than returning something too large to use.
Honest about the format
A GIF is 256 colours per frame with one-bit transparency. It is the right format for a short reaction clip and the wrong format for anything with a gradient, and this page does not claim otherwise.
Upload a video and the server turns its first ten seconds into a GIF, capped at 12 frames per second and 480 pixels wide, with a 128-colour palette and an 8 MB output ceiling.
The frame rate is yours to choose from 1 to 12, default 8, and the width from 120 to 480, default 320; the height follows the aspect ratio. A lower frame rate and a narrower image both make a smaller file, which is the lever when the 8 MB cap is hit.
The clip is cut at ten seconds even when the source is longer, and the summary reports the actual span used. A source shorter than that keeps its own length, so a three-second clip produces a three-second GIF.
How the GIF is built
The filter graph sets the frame rate, scales the picture with lanczos, then splits it: one branch generates a 128-colour palette and the other applies it with a Bayer dither. That two-pass palette is why the result looks better than a naive RGB-to-GIF conversion at the same size.
The output loops forever. The input may be up to 20 MB and two minutes, and the produced GIF is measured on disk before it is returned; a file over 8 MB is refused with an instruction to lower the width or the frame rate.
- First 10 seconds only
- Frame rate 1 to 12, default 8
- Width 120 to 480, default 320
What a GIF cannot carry
A GIF has no audio and at most 256 colours per frame, so a gradient will band and a busy photograph will look grainy. The 128-colour palette here is a deliberate size choice rather than a limit of the format.
The file is much larger per second than a video at the same size, which is why the page caps the span and the dimensions. For a long clip, a short MP4 is the better format and this page will not produce one.
How to use the frame controls
Choose the video in the Upload step, set the frame rate from 1 to 12 and the width from 120 to 480 pixels, then press Run; the defaults of 8 and 320 suit a chat-sized reaction. Only the first ten seconds are converted, so position does not matter beyond that span.
Download the looping GIF and read its byte size against the 8 MB ceiling. When the run is refused for size, lower the width first and the frame rate second, then run again rather than re-uploading.
What to Expect
Best for
- A short looping reaction or demonstration
- A silent preview to paste into a chat
- A few seconds of a clip as a portable image
Not ideal for
- Any clip longer than ten seconds
- Audio, which a GIF cannot carry
- A smooth gradient or a detailed photograph
What this tool keeps
- The first ten seconds, cut at that boundary
- The aspect ratio of the source
- A looping animation at the frame rate you chose
What may need cleanup
- Colour banding from the 128-colour palette
- The frame rate, which must come down if 8 MB is exceeded
- Dither noise on a flat background
Common errors
- Uploading a two-minute clip and expecting the whole thing
- Choosing 12 fps at 480 pixels and hitting the size cap
- Expecting the audio to be preserved
Example use cases
- A short demo for documentation
- A reaction image from a clip
- A looping badge for a page
Sample input
A 40-second MP4 converted at 8 frames per second and 320 pixels wide.
Sample output
A looping ten-second GIF at 320 pixels wide, with the palette applied and the byte size reported.
Who this is for
- Writers illustrating a step
- Social media editors
- Developers making a small demo asset
Frequently asked questions
How much of the video becomes a GIF?
The first ten seconds, at up to 12 frames per second and 480 pixels wide.
Does the GIF carry audio?
No. A GIF cannot carry audio.
Why does the output look banded?
The palette holds 128 colours, so a gradient or a detailed photograph bands noticeably.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.