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.gifWhen to use it
- short demos
- chat previews
- screen captures
- small animations
How it works
- Upload a short MP4 file.
- Use the preset to set frame rate and width.
- Run FFmpeg and download the GIF.
Option reference
| Option | What it does |
|---|---|
fps=10 | Limits the GIF to 10 frames per second. |
scale=480:-1 | Sets the width to 480 pixels while keeping aspect ratio. |
flags=lanczos | Uses 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.