.gif file (larger size, no sound, 256-color limit), convert that short MP4 clip afterwards.What a GIF can and cannot keep
A GIF frame holds at most 256 colours and the format has no audio channel at all. That is the whole reason a clip that looked clean on X turns banded and muddy as a GIF, especially in skies, skin and gradients. It is not a bug in the converter you picked.
All twelve GIFs produced for this page came out with exactly one stream — video, no audio track — which is the format behaving as specified, not a conversion that went wrong.
The route that works
-t 5 before -i trims at the input, so the rest of the file is never decoded.ffmpeg -i in.mp4 -vf "fps=12,scale=480:-1" out.gif. The two-pass version below gives smoother gradients at roughly 1.7× the size.One pass — smallest file
ffmpeg -i in.mp4 -vf "fps=12,scale=480:-1" -loop 0 out.gif
Two passes — smoother gradients
ffmpeg -i in.mp4 -vf "fps=12,scale=480:-1,palettegen=stats_mode=diff" pal.pngffmpeg -i in.mp4 -i pal.png -lavfi "fps=12,scale=480:-1[x];[x][1:v]paletteuse=dither=bayer:bayer_scale=5" -loop 0 out.gif
The first pass builds a palette from the actual clip instead of guessing at the default 256 colours; the second applies it. On the same 9.75-second clip that was 11.11 MB against 6.07 MB for the one-liner — 1.75× the bytes for visibly better gradients. Pick whichever you can afford.
How big the GIF gets at 480 px, 12 fps
These four are the plain one-line command, run on real files downloaded from public posts. Width 480 with scale=480:-1 keeps the aspect ratio, so a 16:9 source lands at 480×270.
| Source clip | Source pixels | GIF pixels | Frames | GIF size |
|---|---|---|---|---|
| @NBA, first 3 s | 1920×1080 | 480×270 | 36 | 1.64 MB |
| @NBA, first 5 s | 1920×1080 | 480×270 | 60 | 2.99 MB |
| @NBA, whole 9.75 s | 1920×1080 | 480×270 | 116 | 6.07 MB |
| @ESPNFC, whole 28.70 s | 1280×720 | 480×270 | 344 | 14.79 MB |
Read those four together and the rule falls out: at 480 px wide and 12 fps a 16:9 GIF costs 0.52–0.62 MB per second. Which means the figures usually quoted are low by a factor of about 1.7:
- a 3-second clip is 1.64 MB, not "around 1 MB"
- a 10-second clip is 6.07 MB (9.75 s measured), not "3–4 MB"
- a 30-second clip is 14.79 MB (28.7 s measured) — that one is right when the guide says "10 MB and up"
Two multipliers stack on top of that. Raising 12 fps to 15 fps on the same clip added 19% (11.11 → 13.19 MB, both with the palette pass), and taking the width to 640 px at 15 fps doubled it again to 22.46 MB. A vertical source is worse still: scale=480:-1 on a 1080×1920 post gives 480×853, 3.2× the pixels of 480×270, and the two-pass GIF of a 16-second vertical clip came out at 33.38 MB.
The same clip as a GIF and as four MP4s
"A GIF is much bigger than the video" is only half true, and the half that is false is the interesting part. One 9.75-second post, every file from the same source, measured byte for byte:
| File | Pixels | Bitrate / fps | Bytes | MB |
|---|---|---|---|---|
| MP4 1080p | 1920×1080 | 11.06 Mbps | 13,595,956 | 12.97 |
| MP4 720p | 1280×720 | 1.88 Mbps | 2,447,975 | 2.33 |
| MP4 360p | 640×360 | 628 kbps | 857,273 | 0.82 |
| MP4 270p | 480×270 | 189 kbps | 285,411 | 0.27 |
| GIF, one-pass 480/12 | 480×270 | 12 fps, 116 frames | 6,361,256 | 6.07 |
| GIF, two-pass 480/12 | 480×270 | 12 fps, 116 frames | 11,109,065 | 10.59 |
The GIF is 22× the 480×270 MP4 at the identical pixel size, 7.4× the 360p file and 2.6× the 720p one. It is also smaller than the 1080p MP4 — because it cut the picture to one sixteenth of the pixels (2,073,600 down to 129,600) and the frame rate from about 60 to 12 to get there. That is the trade in one table: you are not paying for quality, you are paying for a format that stores every frame in full.
What we measured, and on what
- Date: 12 November 2026, one run. Sizes will drift a little with different ffmpeg builds and source clips.
- Machine: Windows 11 (build 10.0.26300), Ryzen 7 9700X, ffmpeg 7.1 essentials build (gyan.dev, gcc 14.2.0).
- Inputs: four public posts resolved through this site — @ESPNFC 2119533690367705500, @NBA 2119534637575762279, @F1 2119516339781943601, @NFL 2119579918463836361 — then seven MP4 variants downloaded and checked with
ffprobebefore any conversion. - Outputs: twelve GIFs across widths 320/480/640, 10/12/15 fps, with and without the palette pass. Sizes are file bytes on disk; frames counted by
ffprobe -count_frames. - Not tested: phone apps. We have no measured numbers for any iOS or Android converter, so the honest advice is that a phone app re-encodes the same file and may land anywhere; do the conversion on a desktop if the size matters.
Frequently asked questions
Is there a way to get a GIF straight from X?
Not that we can find. X serves video as MP4, and every GIF you end up with has been converted somewhere: by a web tool, a phone app, or you running ffmpeg. That conversion is the part that decides the file size.
Why does my GIF have no sound?
Because GIF has no audio channel at all. All twelve files produced for these measurements contained exactly one stream, video. If sound matters, keep the MP4.
Why is my GIF bigger than the MP4 I downloaded?
It depends which MP4 you compare with. The 1080p file of our 9.75-second sample was 12.97 MB and its 480×270 GIF was 6.07 MB, so the GIF was smaller. The 480×270 MP4 of the same clip was 0.27 MB, so against the same pixels the GIF was 22× bigger.
Can I convert on a phone?
Downloads happen fine on a phone, but the conversion step does not. We measured the sizes above on a desktop ffmpeg build only and have no measured numbers for any phone app, so treat phone converters as untested.
Start with the video file
Fetch the MP4 first, then convert it however you like. The download is the part that needs a tool.
To be explicit about the boundary: TweetVideoSave returns MP4 video only. It has no GIF output and no MP3 output, so the conversion in step 3 happens in ffmpeg, an image editor or a converter you choose — outside this site. Nothing here is generated as a GIF by the downloader.
Open TweetVideoSaveMore guides
What the MP4 you download actually containsDownloading an X video in the highest variantRate limits, size limits and error codesDownloading a Twitter (X) video on a PC or MacDownloading a Twitter (X) video on AndroidCompare a real GIF with its MP4 source
We generated three seconds of moving color bars and shapes with a tone, then converted the same 320 by 180 frames to a looping GIF. Download the MP4 with tone (88,558 bytes) and the silent animated GIF (398,765 bytes). Both move; only the MP4 has an audio stream. The GIF size reflects this pattern and encoder, so other clips can produce a different ratio.