What changes when an MP4 becomes WebM
An MP4 normally holds H.264 video and AAC audio. WebM holds VP9 video and Opus audio, both open and royalty-free. Nothing can be copied across, so the picture and the sound are decoded and encoded again.
On this page “Output format” is already set to WebM. The tool encodes VP9; if the browser has no VP9 encoder it tries AV1 and then VP8. The sound becomes Opus at 160 kbps and 48 kHz.
Where WebM is the right choice
- Your own website. Browsers play WebM in a
videoelement without plug-ins. - Wikipedia and Wikimedia Commons. They accept WebM uploads and do not accept MP4.
- Discord. WebM plays inline in chats; a free account can attach files up to 20 MB.
- Web apps and extensions that ask for an open format.
Keep the MP4 for everything else. Messengers, TVs, office software and older iPhones are built around MP4, and a person who receives a WebM may not be able to open it.
How to get a smaller file
The quality levels set the same bitrate for every output format. WebM is therefore not smaller by itself:
| Quality | Size of the WebM | Picture |
|---|---|---|
| Same as original (about the source bitrate) | About the size of the MP4, up to 10% more | Matches the source |
| Medium — web, social media | 3.5 Mbit/s at 1080p, about 1.6 Mbit/s at 720p | Cleaner than an MP4 at the same bitrate |
| Small — email, WhatsApp, Telegram | Half of Medium | Still usable where H.264 would show blocks |
The advantage of VP9 is that it holds detail better at low bitrates. To profit from it, choose Medium or Small. For a page background or a product loop, Medium at 720p with “Remove sound” ticked is a good start.
Pitfalls
- Encoding takes longer than MP4. Most devices have a hardware encoder for H.264 but not for VP9, so the processor does the work. Lower the resolution if a long video takes too long.
- Offer a fallback on a website. Put the WebM first and the MP4 second as two
sourceentries inside thevideoelement. Browsers that cannot play WebM take the MP4. - No transparency. The converter writes ordinary opaque WebM, even from a source with an alpha channel.
- Do not convert back and forth. Every conversion is a new encode. Keep the original MP4 and make the WebM from it.
The video converter guide lists every setting and the other formats. To see the expected size before encoding an MP4, use the video compressor.