Video · 59 tools · nothing uploads

MP4 to WebM

Transcode an MP4 to WebM. H.264/AAC and VP8-VP9/Opus are unrelated codec families, so every frame is decoded and re-encoded rather than copied, in the browser only, through WebCodecs.

Input

Options

MP4 to WebM re-encodes a clip from H.264 and AAC into VP8, VP9 or Opus, at a quality preset, medium by default. Those codec families share nothing, so every frame decodes and gets encoded again rather than simply copied into a new box. WebCodecs performs the work, so only a browser tab can open this page.

Questions

Is this a container swap or a real re-encode?

A real re-encode. H.264 and AAC are unrelated to VP8, VP9 or Opus at the bit level, so every frame is decoded and encoded again through WebCodecs rather than repackaged.

What quality is lost?

One generation of re-encoding loss, controlled by the quality option, low, medium or high, medium by default, applied to both the video and audio track. There is no bitrate or resolution field, only that one preset.

Which engine handles this, and where can it run?

The mediabunny Conversion API drives WebCodecs for both decode and encode, so this needs a browser and is marked browser only. The command line and MCP refuse it with a message pointing at the web page, where the same code runs in a Web Worker.

What size should I expect?

The result varies with the source and the quality preset. A short clip converts to a real EBML/WebM file comfortably over a few kilobytes, well above what an empty container would produce.

What is the reverse page?

WebM to MP4 runs the opposite direction, the reverse pair of this one, with the same re-encode and quality trade-off.

Related Video tools

n→nMOV to MP4Repackage a QuickTime MOV into MP4. Both are the same ISOBMFF box family carrying the same H.264/H.265 and AAC, so every packet is copied across with no decode and no re-encode.Runs on each file you dropn→nMKV to MP4Repackage a Matroska MKV into MP4 with no decode and no re-encode. A subtitle or attachment track MP4 has no room for is dropped and named, the video and audio packets are copied across untouched.Runs on each file you dropn→nTS to MP4Repackage an MPEG transport stream (.ts) into MP4. TS repeats its stream tables throughout the file for channel-hopping and has no seek index; MP4 gets one, so the same packets seek instantly once copied across.Runs on each file you dropn→n3GP to MP4Repackage an old 3GP mobile video into MP4. 3GP is already an ISOBMFF variant carrying H.264/AAC or the older H.263/AMR, so a modern player that refuses the 3GP extension plays the identical packets once they sit in an MP4 box.Runs on each file you dropn→nWebM to MP4Transcode a WebM to MP4. VP8/VP9/AV1 and Opus/Vorbis are not MP4-native codecs, so this decodes and re-encodes every frame through WebCodecs, in the browser only, rather than repackaging the bytes.Runs on each file you dropn→nMP4 to GIFTurn an MP4 clip into an animated GIF. WebCodecs decodes the frames and this tool builds the GIF89a bytes itself: one shared 256-colour palette across every sampled frame, no dithering. Browser only.Runs on each file you dropn→nMOV to GIFTurn a QuickTime MOV screen recording or clip into an animated GIF. WebCodecs decodes the frames and this tool builds the GIF89a bytes itself, one shared palette across every sampled frame. Browser only.Runs on each file you dropn→nGIF to MP4Turn an animated GIF into an MP4. This parses the GIF89a bytes itself, including disposal method and transparency compositing, then encodes the composited frames through WebCodecs. Browser only; transparent pixels become opaque black, MP4 has no alpha channel.Runs on each file you drop