Browser FFmpeg recipe

Convert MP4 to GIF Online with FFmpeg

Generate a lightweight animated GIF from a short MP4 clip.

Command

Run this FFmpeg command

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

When to use it

  • short demos
  • chat previews
  • screen captures
  • small animations

How it works

  1. Upload a short MP4 file.
  2. Use the preset to set frame rate and width.
  3. Run FFmpeg and download the GIF.

Option reference

OptionWhat it does
fps=10Limits the GIF to 10 frames per second.
scale=480:-1Sets the width to 480 pixels while keeping aspect ratio.
flags=lanczosUses a sharper scaling algorithm.

Practical notes

  • GIFs can become large quickly. Trim the source video first for better results.
  • Increase fps for smoother animation or lower it for smaller files.

FAQ

Why is my GIF larger than the MP4?

GIF compression is limited. Shorter duration, smaller width, and lower fps usually help.

Can I make a higher quality GIF?

Yes, but higher fps and larger dimensions will increase the file size.