Convert MP4 to MPEG — Free Online Tool
Convert MP4 files to MPEG format using MPEG-2 video and MP2 audio encoding — the compression standards behind DVD video and broadcast television. This tool is ideal for achieving legacy compatibility with older hardware players, broadcast systems, and DVD-authoring workflows that do not accept modern H.264 or AAC streams.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MP4 file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
Unlike an MP4-to-MP4 remux, this conversion requires full re-encoding of both the video and audio streams. The H.264 (or H.265/VP9) video track inside your MP4 is decoded and re-encoded using the MPEG-2 video codec, which uses macroblock-based discrete cosine transform compression standardized in the early 1990s. The AAC, MP3, or Opus audio track is simultaneously decoded and re-encoded to MP2 (MPEG-1 Audio Layer II), the audio standard used in broadcast and DVD contexts. The output is wrapped in an MPEG program stream container (.mpeg), which does not support chapters, subtitle tracks, or multiple audio tracks — so any such metadata present in your MP4 source will be dropped. Because both streams must be fully transcoded rather than copied, processing is more CPU-intensive and introduces generation loss compared to a lossless remux.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg command-line tool. In this browser-based tool, the same binary runs locally via WebAssembly (FFmpeg.wasm) without any server upload. |
-i input.mp4
|
Specifies the input file — your source MP4 containing H.264 (or H.265/VP9) video and AAC (or MP3/Opus) audio streams that will be decoded and re-encoded. |
-c:v mpeg2video
|
Sets the video encoder to MPEG-2, the compression standard used in DVD video and broadcast television. This re-encodes your H.264 video into the older, less efficient MPEG-2 format required by the output container. |
-c:a mp2
|
Sets the audio encoder to MP2 (MPEG-1 Audio Layer II), the audio standard used in broadcast and DVD contexts. This transcodes your source AAC or other audio into the MP2 format expected by legacy MPEG players and DVD-authoring tools. |
-q:v 2
|
Sets the MPEG-2 video quantizer scale to 2, the highest quality level available (scale runs from 1 to 31, lower is better). This minimizes visual degradation from the H.264-to-MPEG-2 transcode at the cost of a larger output file. |
-b:a 192k
|
Sets the MP2 audio bitrate to 192 kilobits per second, which is the standard bitrate for broadcast-quality stereo MP2 audio and the most widely compatible choice for downstream DVD-authoring or playout workflows. |
output.mpeg
|
Specifies the output filename with the .mpeg extension, which tells FFmpeg to wrap the MPEG-2 video and MP2 audio into an MPEG program stream container — the correct encapsulation format for legacy playback and DVD-authoring pipelines. |
Common Use Cases
- Preparing video files for DVD-authoring software that requires a compliant MPEG-2 program stream as input before multiplexing into a VIDEO_TS structure
- Delivering video to broadcast playout systems or legacy linear TV infrastructure that mandates MPEG-2 video with MP2 audio per older broadcast standards
- Playing back video on older standalone DVD players or set-top boxes that cannot decode H.264 streams but can read MPEG files from USB or disc
- Archiving footage in MPEG-2 format for long-term storage in institutions that have standardized on MPEG-2 for regulatory or preservation policy reasons
- Testing or demonstrating MPEG-2 encoding behavior for educators or students studying the evolution of video compression standards
- Converting MP4 clips for use with legacy non-linear editing software (such as older Avid or Premiere versions) that natively ingests MPEG-2 but not H.264
Frequently Asked Questions
Yes — this is a lossy-to-lossy transcoding process, meaning quality loss is unavoidable. Your MP4's H.264 video is decoded to raw frames and then re-compressed using MPEG-2, which is a less efficient codec requiring higher bitrates to achieve comparable visual quality. The default quality setting of -q:v 2 is the highest available MPEG-2 quality level in FFmpeg, which minimizes this loss, but it cannot be eliminated entirely. For the best results, always start from the highest quality source MP4 you have.
MPEG-2 video compression is significantly less efficient than H.264 (the default codec in most MP4 files). To represent the same visual content, MPEG-2 requires substantially more bits — often 2x to 4x more data. At the default -q:v 2 setting, FFmpeg targets maximum MPEG-2 quality, which further increases file size. If your storage is constrained, you can increase the -q:v value (e.g., to 5 or 8) to reduce bitrate, though this will reduce visual quality.
No. The MPEG program stream container does not support subtitle tracks, chapter markers, or multiple audio tracks. Only the primary video stream and a single audio stream will be included in the output file. If your MP4 has multiple audio tracks, only the first (default) track will be encoded to MP2 in the output. If subtitle preservation is important, you should consider burning the subtitles into the video frames before or during the conversion using FFmpeg's subtitle filter.
The output is a valid MPEG-2 program stream with MP2 audio, which matches the underlying codec requirements for DVD video. However, a raw .mpeg file is not the same as a properly authored DVD — players expect video in a VIDEO_TS folder structure with a VOB container, specific bitrate constraints (under 9.8 Mbps for video), and an IFO/BUP navigation layer. This tool produces a compliant MPEG-2 stream that you can feed into DVD-authoring tools like DVDAuthor or Nero, but it is not a playable DVD image by itself.
To adjust video quality, change the -q:v value: lower numbers mean higher quality and larger files (1 is maximum, 31 is minimum; the default here is 2). For example, use -q:v 5 for a balance of size and quality. To adjust audio quality, change the -b:a value to one of the supported MP2 bitrates such as 128k, 224k, or 320k — the default is 192k, which is standard for broadcast MP2 audio. For example, a full custom command might look like: ffmpeg -i input.mp4 -c:v mpeg2video -c:a mp2 -q:v 5 -b:a 224k output.mpeg
Yes — you can substitute -c:v mpeg1video in the FFmpeg command to encode using the older MPEG-1 standard, which is compatible with VCD (Video CD) workflows and some very early hardware players. MPEG-1 is more constrained: it officially supports only up to 352x240 (NTSC) or 352x288 (PAL) resolution and a maximum bitrate of about 1.5 Mbps, though FFmpeg will encode at higher resolutions without enforcing the VCD spec. MPEG-2 is generally the better choice for quality and broader modern legacy compatibility.
Technical Notes
MPEG-2 video encoding in FFmpeg uses the built-in mpeg2video encoder, which implements the ISO/IEC 13818-2 standard. The -q:v parameter controls the quantizer scale, where 1 is the finest quantization (highest quality, largest file) and 31 is the coarsest. Unlike H.264's CRF scale, MPEG-2's q:v does not use rate control adaptation across the entire file — it operates more like a fixed quantizer, so bitrate will vary significantly with scene complexity. MP2 audio (MPEG-1 Audio Layer II) encoded at 192k is the broadcast standard bitrate and provides clean stereo audio; note that MP2 does not support more than 2 channels in standard configurations, so any surround audio in your source MP4 will be downmixed to stereo. The MPEG program stream container (.mpeg, .mpg) interleaves video and audio packets and includes timing information in PTS/DTS fields, but it lacks a global index structure, which can make seeking in large files slower than in MP4. Metadata fields such as title, artist, and creation date embedded in the MP4 source will not be carried over, as MPEG program streams have no standardized metadata container. There is no transparency support in MPEG-2 video, so any alpha channel information (uncommon in MP4 but technically possible) will be lost.