Convert WebM to MPEG — Free Online Tool

Convert WebM files (VP9 video + Opus/Vorbis audio) to MPEG format using MPEG-2 video and MP2 audio codecs — ideal for achieving compatibility with legacy broadcast systems, older media players, and DVD-authoring workflows that cannot handle modern WebM containers.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

This conversion fully re-encodes both the video and audio streams — there is no remuxing shortcut here because the codecs are entirely incompatible. The VP9 video track from the WebM file is decoded frame-by-frame and re-encoded using the MPEG-2 video codec, a standard dating back to the 1990s that underpins DVD and broadcast television. The Opus or Vorbis audio track is similarly decoded and re-encoded into MP2 (MPEG-1 Audio Layer II), the audio format paired with MPEG-2 video in broadcast and DVD contexts. Because both codecs are lossy, this is a generation loss conversion — quality is recompressed rather than preserved losslessly. Features present in the WebM source such as transparency (alpha channel), embedded subtitles, chapter markers, and multiple audio tracks are all dropped, as the MPEG container does not support any of these.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg binary to begin processing. This is the same engine running in your browser via WebAssembly (FFmpeg.wasm) and on your desktop if you have FFmpeg installed locally.
-i input.webm Specifies the input file — a WebM container, typically holding VP9 video and Opus or Vorbis audio. FFmpeg reads the container structure and identifies the streams to be decoded.
-c:v mpeg2video Instructs FFmpeg to re-encode the video stream using the MPEG-2 video codec, replacing the source VP9 stream. MPEG-2 video is required for compatibility with DVD players, broadcast systems, and legacy media hardware.
-c:a mp2 Re-encodes the audio stream (Opus or Vorbis from the WebM source) into MP2 (MPEG-1 Audio Layer II), the standard audio codec paired with MPEG-2 video in broadcast and DVD contexts.
-q:v 2 Sets the MPEG-2 video quality using the fixed quantizer scale, where 1 is best quality and 31 is worst. A value of 2 targets near-maximum visual quality and produces the largest output file; increase this number to trade quality for smaller file size.
-b:a 192k Sets the MP2 audio bitrate to 192 kilobits per second, which is the standard broadcast-quality bitrate for MP2 audio paired with MPEG-2 video and provides a good balance of audio fidelity and file size.
output.mpeg Defines the output filename and container format. The .mpeg extension tells FFmpeg to write an MPEG program stream, the standard encapsulation format for MPEG-2 video and MP2 audio.

Common Use Cases

  • Preparing web-exported video (e.g., from a browser screen recorder or web-based video editor that outputs WebM) for ingestion into legacy broadcast or DVD-authoring software that only accepts MPEG-2 streams
  • Converting WebM video files for playback on older televisions, set-top boxes, or standalone DVD players that have a USB media port but lack VP9 decoding capability
  • Archiving or delivering video content to institutional clients or government systems still operating on MPEG-2 based infrastructure
  • Converting HTML5 web video assets to MPEG format for import into older non-linear editing systems (NLEs) such as early versions of Premiere or Avid that do not support WebM or VP9
  • Producing MPEG-2 compatible files from WebM sources for use in educational or training platforms running on legacy hardware with fixed codec support
  • Stripping modern container features (HDR metadata, multiple audio tracks, subtitles) intentionally by converting to MPEG when a simplified, widely-readable single-stream file is required

Frequently Asked Questions

Yes, this conversion involves generation loss. Both the source WebM (VP9 video, Opus/Vorbis audio) and the output MPEG (MPEG-2 video, MP2 audio) use lossy compression, so re-encoding decompresses and then recompresses the data, introducing additional artifacts. VP9 is also a significantly more efficient modern codec than MPEG-2, meaning a WebM file at a given bitrate will generally look better than an MPEG-2 file at the same bitrate. To minimize quality loss, keep the default -q:v 2 setting in the output, which targets near-maximum MPEG-2 quality.
All of these are permanently lost. The MPEG container format does not support embedded subtitles, chapter markers, or video transparency (alpha channels). If your WebM file contains any of these — for example, a VP9 video with an alpha layer used for overlays, or a WebM with embedded WebVTT subtitles — none of that data will carry over to the output MPEG file. If preserving subtitles is important, export them as a separate SRT file before converting.
MPEG-2 is a much less efficient codec than VP9. VP9 uses advanced compression techniques like larger prediction block sizes and better motion estimation that can achieve the same visual quality at roughly half the bitrate of MPEG-2. When the converter targets high quality (default -q:v 2), the MPEG-2 encoder needs to use a significantly higher bitrate to represent the same frames, resulting in a larger output file. This is expected behavior and not a sign of a problem with the conversion.
The output uses MPEG-2 video and MP2 audio, which are the correct codec pair for DVD-Video compatibility. However, true DVD-Video compliance also requires specific constraints on resolution (e.g., 720x480 for NTSC, 720x576 for PAL), bitrate caps, and container structure (VOB files with a specific directory layout). This converter produces a valid MPEG-2 stream but does not enforce DVD-Video profile constraints, so additional processing with a DVD-authoring tool may be required before burning to disc.
Video quality is controlled by the -q:v flag, which accepts integer values from 1 (best quality, largest file) to 31 (worst quality, smallest file). The default of 2 is near-maximum quality. For example, change -q:v 2 to -q:v 6 for a smaller file with slightly lower quality. Audio bitrate is set by -b:a; the default 192k is standard for broadcast MP2, but you can lower it to 128k for smaller files or raise it to 256k for higher fidelity. For example: ffmpeg -i input.webm -c:v mpeg2video -c:a mp2 -q:v 4 -b:a 128k output.mpeg
Yes. On Linux or macOS, you can run a shell loop: for f in *.webm; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.webm}.mpeg"; done. On Windows Command Prompt, use: for %f in (*.webm) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpeg". This is especially useful for files over 1GB, which exceed the browser tool's limit but run without restriction via the desktop FFmpeg binary.

Technical Notes

Converting from WebM to MPEG represents a step backward in codec generation by design — the output prioritizes compatibility over efficiency. VP9, the default WebM video codec, supports features like HDR (PQ/HLG transfer functions), 10-bit color depth, and transparent video that MPEG-2 simply cannot represent; all of these are silently discarded during re-encoding, and HDR content will not be tone-mapped automatically — it will be clipped or washed out unless you add explicit tone-mapping filters to the FFmpeg command. The MPEG container also supports only a single video and single audio track, so if the source WebM contains multiple audio tracks, only the first (default) track will be encoded. MP2 audio, while dated, remains a valid and robust choice for MPEG-2 video pairing and is natively understood by virtually all hardware that decodes MPEG-2. The -b:v 0 flag used in VP9 encoding (to enable pure CRF mode) is not applicable to the MPEG-2 encoder, which uses the fixed quantizer scale (-q:v) for quality control instead. File size increases of 2x–5x compared to the source WebM are common at high quality settings due to MPEG-2's lower compression efficiency.

Related Tools