Skip to content

From a comp to a file

Make a GIF or a video ​

You will render a comp to GIF, WebM, AVIF or WebP: for a chat, a README, a store listing or a review. After Effects draws every frame itself, so every effect and plug-in looks exactly as in your comp. About five minutes, plus a one-time ffmpeg install.

You needThe full version of AXO and ffmpeg (a free encoder, installed once). The trial writes no video.
You getOne or more of .gif, .webm, .avif, .webp, next to your other exports.

Which format? ​

FormatBest forTransparencySize
GIFAnywhere: chats, e-mail, old toolsone bit (hard edges)largest
WebMWebsites (<video>)yes (VP9)small
AVIFModern websites, as an imageyesusually the smallest
WebPWebsites, as an imageyessmall

1. Install ffmpeg (once) ​

Follow Build › GIF, WebM, AVIF and WebP need ffmpeg for Windows or Mac. When ? › Settings… lists the formats ffmpeg can write, you are done.

2. Switch the format on ​

  1. In Build, press All formats… and switch on the formats you want; they appear as chips.
  2. Turn the chip on at the top of Build (gif, webm…).
  3. Press Video settings… next to the chips to set quality, size, frame rate and transparency. Every setting: Video settings.

3. Build ​

Tick the comp and press Build selected. After Effects renders the work area once (it is busy while it does), then ffmpeg writes every ticked format from those frames. The comp row shows the progress; Cancel stops.

Tips ​

You wantDo
A smaller GIFFewer Colours, Dither none, a smaller Size, or a lower frame rate.
Smooth gradients in a GIFA Dither (Floyd–Steinberg or Sierra) hides banding.
A transparent backgroundLeave Transparency on, and pick WebM (VP9), AVIF or WebP; GIF's edges become hard.
The comp's look on a flat colourTurn Transparency off and pick the background colour.
Only part of the compSet the work area in After Effects: only the work area is rendered.

A GIF plays at most 50 frames per second, because browsers slow faster GIFs down to 10: a faster comp is resampled to 50 fps and keeps its length.

AXO for After Effects