Convert HEVC to MPG — Free Online Tool
Convert HEVC/H.265 video files to MPG format using MPEG-2 video encoding and MP2 audio, right in your browser. This conversion bridges modern high-efficiency compression back to the legacy MPEG-2 standard required by DVD authoring tools, broadcast systems, and older hardware players.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your HEVC 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
This conversion is a full transcode — not a simple remux — because HEVC and MPEG-2 are fundamentally incompatible codecs. Your HEVC video stream, which uses advanced prediction and entropy coding techniques to achieve high compression at low bitrates, must be fully decoded frame by frame and then re-encoded using the MPEG-2 video codec (mpeg2video). MPEG-2 is a much older standard with simpler compression, so the output file will typically be significantly larger than the HEVC source despite potentially lower visual quality. If your HEVC file contains audio, it is transcoded to MP2 (MPEG-1 Audio Layer II), the audio format native to the MPEG-2 container. The resulting MPG file uses the standard MPEG program stream structure compatible with DVD players, broadcast encoders, and legacy editing software.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg program, the open-source multimedia processing engine that handles the HEVC decode and MPEG-2 encode pipeline for this conversion. |
-i input.hevc
|
Specifies the input HEVC file. FFmpeg reads the raw H.265 bitstream, demuxes any container if present, and passes the encoded video and audio to their respective decoders before transcoding begins. |
-c:v mpeg2video
|
Sets the output video codec to MPEG-2, the encoder required by the MPG container. This triggers a full decode of the HEVC stream followed by re-encoding using the legacy MPEG-2 DCT-based compression algorithm. |
-c:a mp2
|
Sets the output audio codec to MP2 (MPEG-1 Audio Layer II), the standard audio format for MPEG-2 program streams. This ensures compatibility with DVD players and broadcast systems that expect MP2 audio inside an MPG file. |
-q:v 2
|
Sets the MPEG-2 video quality using the fixed quantizer scale, where 1 is the highest quality and 31 is the lowest. A value of 2 produces the best achievable MPEG-2 quality to compensate for the generational loss inherent in transcoding from a modern HEVC source. |
-b:a 192k
|
Sets the MP2 audio bitrate to 192 kilobits per second, a standard broadcast-quality bitrate for stereo MP2 audio that balances file size and fidelity in the MPEG-2 program stream. |
output.mpg
|
Specifies the output filename with the .mpg extension, which signals FFmpeg to write an MPEG program stream — the container format used by DVD, VCD, and broadcast video systems that encapsulates the MPEG-2 video and MP2 audio streams. |
Common Use Cases
- Preparing modern HEVC footage for import into DVD authoring software like DVD Architect or Encore, which require MPEG-2 program streams
- Converting H.265 camera footage to a format compatible with older non-linear editing systems that predate HEVC decoder support
- Producing MPEG-2 files for broadcast ingest pipelines or cable headend systems that mandate the legacy MPG format
- Archiving HEVC content to MPG for playback on standalone DVD players or set-top boxes that cannot decode H.265
- Converting HEVC recordings for use with video analysis or surveillance software that only accepts MPEG-1/2 streams
- Generating MPG files from H.265 source material to meet submission requirements for older media festivals or institutions with legacy playback infrastructure
Frequently Asked Questions
Yes, this conversion involves a meaningful quality tradeoff. HEVC is a far more sophisticated codec than MPEG-2 and can store the same visual information at roughly half the bitrate. When your HEVC file is decoded and re-encoded as MPEG-2, the older codec's less efficient compression means you may see more blocking artifacts, reduced detail in motion sequences, and softer overall image — especially if your source was encoded at a low HEVC bitrate. The default -q:v 2 setting used here gives MPEG-2 its highest quality output, which minimizes but cannot eliminate generational loss from transcoding between these two very different standards.
HEVC achieves its small file sizes through highly advanced compression algorithms that MPEG-2 simply does not have. MPEG-2 requires significantly higher bitrates to represent the same video content at comparable quality. For example, a 1GB HEVC file might expand to 5–15GB or more as MPEG-2, depending on resolution, frame rate, and the complexity of the content. This is expected behavior and is not a problem with the conversion tool — it reflects the fundamental efficiency gap between a 2013-era codec (HEVC) and a 1994-era codec (MPEG-2).
MPEG-2 was not designed for 4K or HDR content. While the codec can technically encode high-resolution frames, it performs poorly at 4K resolutions compared to modern codecs, and the MPG container has no standard mechanism for HDR metadata (such as HDR10 or Dolby Vision). Any HDR color information in your HEVC source will be lost during transcoding. If your goal is to preserve HDR or 4K quality, converting to MPG is not the right approach — MPG is best suited for SD or HD content in legacy workflows.
The output MPG file uses MP2 (MPEG-1 Audio Layer II) audio encoded at 192k bitrate by default. This is the standard audio format for MPEG-2 program streams and is required for DVD and broadcast compatibility. Your original HEVC source audio — whether AAC, AC-3, or another format — will be fully decoded and re-encoded to MP2, which is a lossy process. MP2 at 192k is generally considered acceptable quality for stereo content, though it is less efficient than modern codecs like AAC.
To adjust video quality, change the -q:v value: lower numbers mean higher quality (1 is best, 31 is worst), with 2 being the default for this tool. For example, use -q:v 4 for a smaller file at slightly reduced quality. To change audio bitrate, modify the -b:a value — for example, replace 192k with 256k for higher-fidelity audio or 128k for a smaller file. A full example with both adjustments would look like: ffmpeg -i input.hevc -c:v mpeg2video -c:a mp2 -q:v 4 -b:a 256k output.mpg.
Yes, on the command line you can use a shell loop to batch process files. On Linux or macOS, run: for f in *.hevc; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.hevc}.mpg"; done. On Windows Command Prompt, use: for %f in (*.hevc) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpg". Note that HEVC-to-MPEG-2 transcoding is computationally intensive, so batch processing many files will take significant time depending on your hardware.
Technical Notes
The HEVC-to-MPG conversion presents one of the more dramatic codec-generation gaps in common video transcoding workflows. HEVC (ISO/IEC 23008-2) uses CTU-based prediction, CABAC entropy coding, and sophisticated motion compensation to deliver compression efficiency roughly 40–50% better than H.264. MPEG-2 (ISO/IEC 13818-2), by contrast, uses macroblock-based DCT compression from 1994 and has no mechanism for the intra-frame tools or adaptive quantization that make HEVC efficient. The MPG container (MPEG program stream) supports only MPEG-1 and MPEG-2 video codecs — there is no path to carry HEVC inside an MPG file, making a full transcode mandatory. Metadata preservation is minimal: HEVC container metadata, chapter markers, subtitle tracks, and multiple audio tracks are all discarded since the MPG format does not support them. HDR metadata (HDR10, HLG, Dolby Vision) present in the HEVC source is lost during tone-mapping in the decode stage. The -x265-params log-level=error flag suppresses verbose x265 decoder logging during the input parse phase. Output compatibility with DVD players and broadcast systems is high, as MPEG-2 in a program stream is one of the most universally supported legacy video formats.