Convert MPG to MPEG — Free Online Tool
Convert MPG files to MPEG format using MPEG-2 video and MP2 audio codecs, preserving broadcast-standard quality in a widely recognized legacy container. This tool is ideal for maintaining compatibility with DVD authoring software, broadcast workflows, and older media players that expect the .mpeg file extension.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MPG 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
Both MPG and MPEG are closely related container formats sharing the same underlying MPEG program stream structure, and both natively support MPEG-1 and MPEG-2 video with MP2 audio. In this conversion, the video stream is re-encoded using the MPEG-2 video codec and the audio is encoded as MP2 at 192k bitrate — the same codecs used by default in both formats. Because the source MPG file most commonly carries MPEG-2 video and MP2 audio already, this is largely a re-encode at controlled quality settings rather than a transcode to a different codec family. The output .mpeg file uses the same program stream multiplexing, making it structurally identical at the container level while producing a freshly encoded output at a defined quality scale.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary, the open-source multimedia processing engine that performs all video and audio decoding, encoding, and container multiplexing for this conversion. |
-i input.mpg
|
Specifies the input MPG file. FFmpeg reads the MPEG program stream and demuxes the contained MPEG-2 video and MP2 audio streams for processing. |
-c:v mpeg2video
|
Sets the output video codec to MPEG-2, the standard video compression format used in DVD and broadcast applications. This ensures the output MPEG file's video stream conforms to the MPEG-2 specification expected by legacy players and authoring tools. |
-c:a mp2
|
Encodes the audio stream as MPEG Audio Layer II (MP2), the audio format native to MPEG program streams and the broadcast standard for DVB and DVD-Video. This is distinct from MP3 and is required for strict MPEG program stream compatibility. |
-q:v 2
|
Sets the MPEG-2 video quantization scale to 2, near the highest quality end of the 1–31 range. Lower values produce less compression and larger files; this setting targets broadcast-quality output with minimal visible artifacts. |
-b:a 192k
|
Sets the MP2 audio bitrate to 192 kilobits per second, which is the standard bitrate for broadcast-quality stereo MP2 audio in MPEG program streams and is sufficient for full-bandwidth stereo audio reproduction. |
output.mpeg
|
Defines the output filename with the .mpeg extension. FFmpeg uses this extension to select the MPEG program stream muxer, producing a file that legacy players, DVD authoring tools, and broadcast systems recognize as a standard MPEG video file. |
Common Use Cases
- Renaming and re-encoding MPG recordings from VCD or broadcast capture cards into .mpeg files required by legacy DVD authoring tools like DVD Architect or Nero Vision
- Preparing video files for older hardware media players and set-top boxes that specifically enumerate and recognize .mpeg extensions but not .mpg
- Standardizing a batch of mixed .mpg files from different broadcast sources into uniform MPEG-2 / MP2 output at a consistent quality level for archival
- Re-encoding degraded or variable-quality MPG files captured from tape digitization into a clean MPEG output at a fixed quantization scale for quality control
- Producing MPEG files compatible with broadcast QC workflows and playout systems that ingest MPEG-2 program streams with MP2 audio specifically
- Converting MPG video files for use in older non-linear editing systems that distinguish between .mpg and .mpeg file types in their media import dialogs
Frequently Asked Questions
MPG and MPEG are functionally the same format — both are file extensions for MPEG program streams carrying MPEG-1 or MPEG-2 video and MP2 audio. The difference is purely in the file extension convention. However, this conversion does perform a full re-encode rather than a simple rename, which means the video and audio are decompressed and re-compressed at the specified quality settings. If your source MPG is already MPEG-2 with MP2 audio, there will be a small generation loss compared to a direct copy, which is unavoidable when re-encoding lossy formats.
A simple rename would work in many cases since the containers are structurally identical, but re-encoding ensures the output conforms to well-defined codec parameters — specifically MPEG-2 video at quality scale 2 and MP2 audio at 192k. Source MPG files from different origins can contain MPEG-1 video, variable bitrate streams, or non-standard audio tracks that may not play correctly in strict MPEG players. Re-encoding normalizes these inconsistencies into a clean, predictable output.
The -q:v flag sets the quantization scale for MPEG-2 video encoding, where 1 is the highest quality and 31 is the lowest. At -q:v 2, the encoder uses very fine quantization steps, preserving maximum detail at the cost of a larger file size. Increasing the value to something like -q:v 6 or -q:v 8 will reduce file size noticeably but introduce more compression artifacts, especially in motion-heavy scenes. For archival or broadcast use, values between 1 and 4 are recommended.
Change the -b:a value in the command to your desired bitrate. For example, replace -b:a 192k with -b:a 256k for higher-quality MP2 audio, or -b:a 128k to reduce file size. The MPEG format supports MP2 audio at bitrates from 64k up to 320k. Note that MP2 audio at 192k is already considered broadcast-standard quality, so increasing beyond 256k yields diminishing returns for most content.
No — neither MPG nor the MPEG program stream format supports subtitles, chapters, or multiple audio tracks in the way modern containers like MKV or MP4 do. The MPEG program stream specification used by both formats is limited to a single video stream and a single audio stream. If your source MPG contains additional streams, only the primary video and first audio track will be included in the output MPEG file.
Yes. On Linux or macOS, you can batch convert using a shell loop: for f in *.mpg; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.mpg}.mpeg"; done. On Windows Command Prompt, use: for %f in (*.mpg) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpeg". This is particularly useful for large collections or files over 1GB that exceed the browser tool's processing capacity.
Technical Notes
Both MPG and MPEG use the MPEG program stream (PS) multiplexing format defined by ISO/IEC 13818, so the container structure of the output is byte-for-byte compatible with the same players and devices that read MPG. The default codec pairing — MPEG-2 video with MP2 audio — is the broadcast and DVD standard configuration, ensuring the output is compatible with DVD authoring pipelines, hardware set-top boxes, and legacy playout servers. Since both formats are lossy, converting from MPG to MPEG at identical quality settings is not lossless; each encode cycle introduces a small amount of additional quantization error. Neither format supports transparency, subtitle tracks, chapter markers, or multiple audio streams, so any attempt to pass those through will fail silently or be ignored. The MPEG output format supports a slightly wider range of audio bitrate options than the MPG input specification, including lower bitrates like 64k and 96k which can be useful for reducing file size in voice-only or low-bandwidth applications. File sizes between input and output will be similar when using matching quality settings, though they will not be identical due to re-encoding.