What the GIFvideo → gif, the way creatives need it
encoder v2

Encoder v2: Same Clip, Same Settings, a Much Better GIF

We rebuilt the engine that turns your video into a GIF, then proved it on real exports. Every image below is the old encoder and the new one, fed the identical clip with identical settings, so the only variable is the engine.

Drop a video, get a GIF free · frame-perfect · nothing leaves your browser Open the converter →

How to get the best GIF out of encoder v2

What the GIF does the whole thing locally, right in your browser: nothing here ever leaves your machine.

  1. Drop in your clip. Add a video or a GIF to the tool. Nothing is uploaded; v2 runs in your browser.
  2. Pick High for footage and gradients. High adds v2's steady dithering, which smooths skin, sky and soft light without crawling.
  3. Pick Medium for screen recordings. Flat interface colors rarely need dither, so Medium usually looks identical and runs smaller.
  4. Leave compression off unless you have a size limit. If a platform caps the file, try Light first; it is nearly invisible on graphics and line art.
  5. Check the size estimate, then export. The estimate under the settings now tracks v2 within a few percent, so you can size for Slack or email before you hit export.

The bug that was hiding in plain sight

Start with the embarrassing one. To make a 12 fps GIF from 24 fps video, the encoder should take every second frame: 0, 2, 4, 6. It asked for exactly those moments, but each request landed precisely on the boundary between two video frames, and a rounding error sent the decoder to the frame before two times out of three. Motion advanced in uneven steps of one, two, and three frames. You felt it as a faint hitch, the kind you blame on the clip.

Two rows of frames from a test video with large frame numbers. The v1 row shows source frames 0, 1, 3, 6, 7, 9. The v2 row shows 0, 2, 4, 6, 8, 10.
A test video with its frame number burned in, exported at 12 fps. v1 skipped unevenly; v2 takes every second frame, as it should.

v2 aims at the middle of a source frame instead of its edge, so the choice is never a coin flip. While we were in there, timing got the same treatment. GIF delays are whole hundredths of a second, and v1 rounded each frame on its own, so a 15 fps GIF played 5% slow and a 30 fps one ran 10% fast. v2 rounds the timeline instead of the frames, alternating 7 and 6 hundredths so the total lands exactly. For a tool that sells frame-perfect trims, both were overdue.

Color picked the way your eye sorts it

A GIF frame gets 256 colors, so the encoder's real job is choosing which 256. v1 measured color difference in plain RGB, which treats a step in dark green as equal to the same numeric step in pale blue. Your eye does not. v2 works in Oklab, a color space built so that equal distances look equally different, and it builds the palette from every frame of the clip rather than a handful of samples. Cut two clips together and each scene now gets a palette of its own instead of splitting one between them.

Zoomed crop of a soda bottle against red and blue. In v1 the red swoosh and blue backdrop break into blotchy patches; in v2 they are smooth.
Same frame, Medium quality, zoomed 2x. Watch the red swoosh and the blue backdrop.
A smooth yellow and teal gradient. v1 shows visible concentric bands; v2 is a smooth ramp.
A slow gradient, the hardest thing a 256-color format can draw. v1 stair-steps it; v2 doesn't.

Frames also reach the encoder sharper. v2 shrinks video with a Lanczos filter and reads the decoded video directly instead of through the browser's canvas, which had been nudging blues by a couple of levels.

Dither that holds still

Dithering fakes extra shades with a fine pattern of dots. On a still image it's a gift. In an animation it becomes crawling ants, because v1 re-dithered every frame from scratch and the pattern danced even where nothing moved. Worse, a pixel that changes every frame can't be skipped, so the shimmer also made files bigger.

Two maps of which pixels changed between consecutive frames, shown in red. v1 is red almost everywhere, including the flat background; v2 is mostly dark there.
Red marks pixels that changed between two consecutive frames at High quality. The camera drifts, so moving edges light up in both. The flat background is the tell.

v2 keeps a pixel's color until its source really changes, cleans compression noise out of areas that hold still, and dithers only where banding would show. On our test footage that cut frame-to-frame shimmer by a factor of four to seven at High quality.

Measured, not eyeballed

Every number here comes from real exports made with the What the GIF converter, old engine and new, scored with SSIMULACRA2, a perceptual metric where about 90 reads as visually lossless and anything under 50 looks rough. Same clip, same 480 pixel width, Medium quality, compression off.

Clipv1 scorev2 scorev1 sizev2 size
Product demo (camera)26.876.71.6 MB1.7 MB
App promo (screen + video)30.180.02.3 MB2.8 MB
Smooth gradient (synthetic)84.295.61.1 MB1.9 MB
Much of the jump on moving footage is the stutter fix: v1 showed the wrong moment two frames in three, and the score counts that.

We also run v2 against the leading open-source GIF encoders at matched file sizes. It matches or beats them in 41 of 45 of those head-to-head tests, which is why we're comfortable calling it one of the best GIF encoders on the web right now. All of it still runs inside your tab. The extra math costs your laptop a couple of seconds, not a server somewhere.

What v2 costs you, and where it still loses

One more honest note: if the destination plays video, a GIF is still the wrong container for photographic footage. MP4 will look better at a tenth of the size. When it has to be a GIF, make it on the tool; v2 is already doing the work.

Try v2 on your own clip

Drop a video in and compare. Same tool, a better engine, and it still never leaves your browser.

Open the converter

Questions, answered

Do I need to turn encoder v2 on?
No. Every GIF exported from What the GIF uses v2 now, at every quality setting.
Why are my GIFs a little bigger than before?
On camera footage they mostly aren't: v2 lands within a few percent of v1. Screen recordings with lots of text come out about twice as large, because v2 keeps letter edges crisp, and smooth gradients grow too. Low quality or 64 colors brings the size down. The size benchmarks have every number.
Is High quality always the best choice?
For camera footage, skin and gradients, yes. For screen recordings and flat graphics, Medium usually looks the same and makes a smaller file.
How did you measure the improvement?
Real exports, old engine against new, scored with the SSIMULACRA2 perceptual metric, plus separate checks for frame-to-frame shimmer and playback timing, and comparisons at matched file sizes.
Does any of this upload my video?
No. v2 runs entirely in your browser like v1 did. The privacy policy covers the one anonymous counter the site keeps.