What is inside a WebM file
WebM is an open web format: a Matroska-based container with VP8, VP9 or AV1 video and Opus or Vorbis audio. Browsers write it when a web page records the screen or the camera, and many sites offer it for download.
MP4 players and editors expect H.264 video and AAC audio. A WebM cannot simply be renamed or rewrapped for them, so both streams are decoded and encoded again: VP8, VP9 or AV1 becomes H.264, and Opus or Vorbis becomes AAC at 160 kbps.
Settings on this page
“Output format” is preset to MP4 and Quality to “Same as original (about the source bitrate)”. For WebM sources, pick the quality by where the file came from:
| WebM source | Quality | Why |
|---|---|---|
| Browser screen recording | Small or Medium | These files have a low bitrate; “Same as original” raises it to at least the Medium value and the MP4 comes out larger |
| Camera or webcam recording | Same as original | Keeps the detail of faces and movement |
| Downloaded clip | Same as original or Medium | Already compressed once; Medium is usually enough |
Medium is 3.5 Mbit/s at 1080p and about 1.6 Mbit/s at 720p. Small is half of that and is enough for a recording of slides or code.
Two fixes you get on the way
A constant frame rate
Browser recorders write frames only when the picture changes, so the frame rate varies. Many video editors handle that badly; sound can drift away from the picture. Set Frame rate to 30 fps and the MP4 gets a constant rate.
A file you can scrub
Recordings made in Chrome often lack the duration in the file header. Players then show no length and cannot jump around. The MP4 written here has a proper index and a keyframe every 2 seconds.
Pitfalls
- Transparency is lost. A WebM with an alpha channel, such as an animated sticker or an overlay, becomes an opaque video. MP4 with H.264 cannot store transparency.
- Do not expect a smaller file. H.264 needs more data than VP9 for the same look. That is the price of compatibility.
- AV1 sources need a browser and device that can decode AV1.
If you record with our screen recorder, you can save MP4 directly and skip this step. The video converter guide covers the remaining options and formats.