Convert MKV to MPG — Free Online Tool
Convert MKV files to MPG format using MPEG-2 video and MP2 audio encoding — the standard codec pairing for DVD, broadcast, and legacy media players. This tool re-encodes your MKV content entirely, producing a standards-compliant MPEG-2 program stream that plays on hardware DVD players, set-top boxes, and older video editing systems that can't handle modern Matroska containers.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MKV 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
MKV is a flexible modern container that typically holds H.264 or H.265 video alongside AAC or Opus audio. MPG is a fundamentally different format — it uses the older MPEG-2 video codec and MP2 audio, wrapped in an MPEG program stream. Because none of the source codecs (H.264, AAC, etc.) are valid inside an MPG container, this conversion requires full re-encoding of both the video and audio streams. The video is decoded from whatever codec is in the MKV and re-encoded as MPEG-2 using a quantizer scale (q:v 2, the highest quality end of the scale). The audio is similarly decoded and re-encoded as MPEG-1 Layer II (MP2) at 192k bitrate. The result is a self-contained MPEG-2 program stream (.mpg) with no chapters, no subtitle tracks, and only a single audio track — reflecting the structural limitations of the MPG format.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg command-line tool. In the browser-based version of this tool, FFmpeg runs as a WebAssembly (WASM) binary entirely within your browser — no data is sent to a server. |
-i input.mkv
|
Specifies the input Matroska file. FFmpeg reads the MKV container and demuxes the video, audio, and any subtitle streams inside it for processing. |
-c:v mpeg2video
|
Sets the video encoder to MPEG-2, the codec required by the MPG container format. Since MKV video is almost always H.264 or H.265, this triggers a full video re-encode — there is no stream copy possible here. |
-c:a mp2
|
Sets the audio encoder to MPEG-1 Layer II (MP2), the standard audio codec for MPEG-2 program streams and DVD-Video. The source MKV audio (typically AAC or Opus) is fully decoded and re-encoded in this format. |
-q:v 2
|
Sets the MPEG-2 video quality using a quantizer scale from 1 (best) to 31 (worst). A value of 2 targets near-maximum quality at a variable bitrate, producing the closest visual match to the source MKV 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 stereo MP2 audio in DVD and broadcast applications and provides good fidelity for typical speech and music content. |
output.mpg
|
Specifies the output file. The .mpg extension tells FFmpeg to write an MPEG-2 program stream container, which is the correct wrapper for mpeg2video and mp2 codec output and is recognized by DVD players, broadcast systems, and legacy media software. |
Common Use Cases
- Authoring DVD content from MKV recordings — MPEG-2 video and MP2 audio are the required codec pairing for standard-definition DVD-Video authoring tools like DVD Architect or Encore.
- Playing video on older standalone DVD players or set-top boxes that only accept MPEG-2 program streams and cannot handle MKV files or H.264 video.
- Importing footage into legacy broadcast and linear editing systems (such as older Avid or Final Cut Pro 7 workflows) that expect MPEG-2 as a delivery or interchange format.
- Archiving or digitizing home video for distribution on VCD or SVCD, where MPEG-1 or MPEG-2 in an MPG wrapper is the required format.
- Converting MKV recordings from capture cards or screen recorders into a format compatible with older Windows Media Player or QuickTime 7 installations that lack modern codec support.
- Preparing video for broadcast contribution or playout systems in facilities that still operate on MPEG-2 transport or program stream infrastructure.
Frequently Asked Questions
Yes — this conversion involves a full re-encode of both video and audio, so some quality loss is unavoidable. Your MKV's video (likely H.264 or H.265) must be decoded and re-encoded as MPEG-2, which is a less efficient codec. At the default q:v 2 setting (the best quality end of the MPEG-2 quantizer scale), the output will look very close to the source, but MPEG-2 requires a significantly higher bitrate than H.264 or H.265 to achieve comparable visual quality. The audio similarly degrades slightly when transcoded from AAC or Opus to MP2, though at 192k the difference is minimal for most content.
This is expected and a fundamental property of MPEG-2 compared to modern codecs. MPEG-2 video is far less compression-efficient than H.264 or H.265 — it needs roughly 2–4x the bitrate to produce equivalent visual quality. If your MKV was encoded with H.265, the size difference can be even more dramatic. The q:v 2 default setting prioritizes quality, which naturally produces a larger file. You can increase the q:v value (e.g., q:v 5 or q:v 8) in the FFmpeg command to reduce file size at the cost of some visual quality.
No. The MPG format (MPEG-2 program stream) does not support subtitle tracks or multiple audio streams in the way MKV does. Only the first audio track from your MKV will be included in the output, and all subtitle tracks will be dropped entirely. If your MKV has multiple audio languages or forced subtitles you need to preserve, MPG is not the right target format — you would need to burn subtitles into the video stream before conversion if they are required.
The browser-based tool handles files up to 1GB for free. For larger MKV files, copy the displayed FFmpeg command — ffmpeg -i input.mkv -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k output.mpg — and run it locally after installing FFmpeg on your system. This runs natively on your CPU with no file size limits and is often significantly faster than the browser-based WebAssembly version for large files. Replace 'input.mkv' and 'output.mpg' with your actual file paths.
The default command uses -q:v 2, which is variable bitrate at the highest quality setting on the MPEG-2 quantizer scale (1–31, lower is better). To reduce file size, increase the number — for example, -q:v 5 for good quality at a smaller size. If you need a fixed bitrate for broadcast or DVD authoring compliance (e.g., 6 Mbps), replace -q:v 2 with -b:v 6000k to use constant bitrate encoding instead. For audio, change -b:a 192k to -b:a 256k or -b:a 320k if higher audio fidelity is needed.
It is compatible with most DVD authoring tools as a starting point, but some professional DVD authoring applications require the MPEG-2 stream to meet strict DVD-Video spec constraints — specifically a maximum video bitrate of 9.8 Mbps, a specific resolution (720x480 for NTSC or 720x576 for PAL), and a combined audio+video bitrate under 10.08 Mbps. The FFmpeg command produced here does not enforce these constraints automatically. If your source MKV has a non-standard resolution or frame rate, you may need to add -s 720x480 and -r 29.97 (for NTSC) to the command to ensure full DVD-Video compliance.
Technical Notes
MKV to MPG conversion is one of the more transformative conversions in common use — it moves content from a cutting-edge, feature-rich container into a decades-old format with significant structural limitations. MPEG-2 video (ISO/IEC 13818-2) was standardized in 1995 and while it remains in active use for broadcast and DVD, it lacks the reference frame efficiency of H.264 and the perceptual coding improvements of H.265. The default q:v 2 quantizer setting produces high-quality MPEG-2 output but at a bitrate that may be 3–5x larger than an equivalent H.264 MKV. MP2 audio (MPEG-1 Layer II) is the required audio codec for DVD-Video and is well-supported in broadcast infrastructure, though it is less efficient than MP3 or AAC at equivalent bitrates. Notably, the MPG container drops all MKV metadata including chapter markers, title tags, and language tags — the output is a bare MPEG-2 program stream. Only the first video and first audio track from the MKV are muxed into the output; additional audio tracks, subtitle streams, and attachments are silently discarded. The format also does not support transparency. If your MKV source contains interlaced video (common in broadcast captures), you may want to add -flags +ilme+ildct to preserve interlacing in the MPEG-2 output rather than deinterlacing during re-encode.