Browser FFmpeg recipe

Convert WebM to GIF Online with FFmpeg

Create a GIF from a short WebM clip.

Command

Run this FFmpeg command

ffmpeg -i input.webm -vf fps=12,scale=480:-1:flags=lanczos output.gif

When to use it

  • browser captures
  • short animations
  • chat previews

How it works

  1. Upload a short WebM clip.
  2. Adjust fps or width if needed.
  3. Run FFmpeg and download the GIF.

Option reference

OptionWhat it does
fps=12Sets the GIF frame rate.
scale=480:-1Sets GIF width while preserving aspect ratio.
flags=lanczosUses a sharper scaling algorithm.

Practical notes

  • GIF output can become large. Trim first for best results.
  • Use a smaller scale width for lighter files.

FAQ

Can I make a GIF from a screen recording?

Yes, WebM screen recordings are a good fit for short GIFs.

Why is the GIF large?

GIF compression is limited compared with modern video codecs.