A looping GIF can seem convenient for showing a brief action in a blog without a play button. A short, silent clip sounds like it should make a small file, yet conversion can produce a much larger one. How far can you reduce it, and what happens to the motion along the way?
All three GIFs were larger than MP4 here
MP4 measured 135,914 B; the 480px/12fps GIF measured 2,293,495 B.
Frame rates, color representation and some dimensions differ. A smaller file is not proof of equal quality.
Play the actual outputs
Play the MP4 or select a GIF still to open its animation. Nothing autoplays. The pinwheel slowing to a stop comes from the source, not a GIF failure.



Actual saved bytes and settings
All GIFs exceeded this MP4 copy. The 480px GIFs share its dimensions but not frame rate or encoding.
| Format | Pixels / fps | Bytes |
|---|---|---|
| MP4 | 480×270 / 24 | 135,914 B |
| GIF compact | 320×180 / 8 | 805,730 B |
| GIF balanced | 480×270 / 12 | 2,293,495 B |
| GIF smooth | 480×270 / 20 | 3,097,716 B |
Why this is not a rule for every video
GIF stores a limited-color animation while MP4 uses video compression. Color changes, detail, motion and encoding settings all affect their relative sizes.
The compact preset reduces pixels and frames together. Isolating format efficiency would require controlling those conditions too. This comparison instead presents actual selectable outputs.
Decide whether automatic looping is essential
GIF can suit a brief repeating action in a document. MP4 may fit playback controls, sound, longer explanations or a strict byte budget better.
Check playback and display size in the destination. A small file that hides the needed action does not serve its purpose.
Test conditions and reproduction
The same pinwheel interval as MP4 and three GIF exports
- 1
Seconds 0–3 of an operator-supplied 1920×1080, 24fps generated pinwheel clip were used. Its later slowdown was retained.
- 2
The production palette/GIF arguments generated 320px/8fps, 480px/12fps and 480px/20fps outputs. MP4 uses the same interval as H.264 CRF 23, 480×270 and 24fps.
- 3
The shipped FFmpeg WASM 0.12.10 ran locally, not through a recorded UI session. Both comparison formats are silent. This is not an equal-quality efficiency ranking or a universal ratio.
Raw reproducibility records (JSON)
The main results are explained above. These raw records contain processing conditions and file hashes. Opening a link displays JSON text, not an illustrated article.
Official documentation used for this analysis
Choose for bytes and the publishing task
MP4 was smallest in this pinwheel example. If GIF is required, adjust duration, dimensions and frame rate, then inspect the action. Suitability matters more than claiming either format is always smaller.