Compress an MP4 video
MP4 files from phones and cameras are recorded at very high bitrates. nanogb re-encodes the video at exactly the bitrate your limit allows, on your device.
Your file never leaves this device.
Why phone videos are so big
Phones record 1080p at roughly 10 to 20 Mbps and 4K at several times that, so that the picture survives editing. For watching in an email or chat, a few Mbps is plenty. Re-encoding at the right bitrate cuts the file by 80 to 95 % with little visible difference on a phone screen.
How long a video fits?
Picture quality nanogb can give a 16:9 video, by length and limit (estimates from the bitrate maths above):
| Length | Discord free (20 MB) | Gmail (25 MB) | Discord Nitro Basic (50 MB) |
|---|---|---|---|
| 30 s | 1080p · 4813 kbps | 1440p · 6048 kbps | 2160p · 12223 kbps |
| 1 min | 720p · 2342 kbps | 1080p · 2960 kbps | 1440p · 6048 kbps |
| 2 min | 540p · 1107 kbps | 720p · 1416 kbps | 1080p · 2960 kbps |
| 3 min | 540p · 727 kbps | 540p · 901 kbps | 720p · 1931 kbps |
| 5 min | 360p · 430 kbps | 480p · 554 kbps | 540p · 1107 kbps |
| 10 min | 240p · 215 kbps | 240p · 277 kbps | 480p · 554 kbps |
| 20 min | 240p · 92 kbps | 240p · 122 kbps | 240p · 277 kbps |
MOV, WebM and other formats
iPhone MOV files work the same way and come out as MP4. WebM and MKV files are read too, as long as your browser can decode the codec inside.
Settings nanogb chooses
- Video: H.264 at a constant bitrate, keyframe every 4 seconds, resolution chosen from the bitrate.
- Sound: AAC between 32 and 128 kbps.
- Container: MP4 with the index at the front, so it starts playing before it is fully downloaded.
Frequently asked questions
Is the quality reduced?
Some detail is lost because the file is smaller, but nanogb spends every available byte: it never goes lower than your limit needs.
Can I choose the resolution?
Not yet. nanogb chooses the resolution that looks best for the bitrate your limit allows.