iLoveConverter
Categories 11 categories

The MPEG (.mpg / .mpeg) Format, Explained

iLoveConverter Team 3 min read

On this page

MPG (or MPEG) is one of the oldest video file extensions still in use. It was the file extension for MPEG-1 video streams — the standard that gave us Video CDs, early web video and much of the original digital television infrastructure. Today MPG files mostly mean MPEG-2 Transport Streams (.ts and .m2ts use the same compression) that have been renamed, or legacy content left over from the MPEG-1 era.

MPEG-1 vs MPEG-2 vs .mp4

StandardReleaseTypical bitrateUse casesContainer
MPEG-119931–2 MbpsVideo CDs, early web.mpg, .mpeg
MPEG-219963–6 MbpsDVDs, broadcast TV.vob, .ts, .m2ts, often .mpg
MPEG-4 Part 10 (H.264)20032–15 MbpsBlu-Ray, web, DTV.mp4, .mkv, .mov

The naming is confusing. .mpg almost always means the video codecs MPEG-1 or MPEG-2 video, regardless of which MPEG standard produced it. MPEG-4 video is usually called H.264 and lives in .mp4 containers, so the files are rarely named .mpg.

Inside an MPG file

The .mpg extension is most often the Program Stream container format defined by MPEG-1 or MPEG-2. It muxes together:

  • Compressed MPEG-1 or MPEG-2 video frames (I, P, B frames).
  • One or more audio streams — usually MPEG-1 Layer I/II/III (MP3) or MPEG-2 Layer II.
  • A PAT/PMT table that tells players which tracks exist.

Less frequently, .mpg may just be a renamed MPEG-2 Transport Stream. Most players treat both PS and TS variants identically.

Where you still find MPG files

  • Legacy video archives — tapes digitised in the 1990s and early 2000s.
  • Older DVD/VCD rips — before x264 became mainstream, .mpg was a common intermediate.
  • Security cameras — some older DVRs output MPEG-2 natively.
  • Satellite/cable TV capture — TS streams are often re-named to .mpg.

New codecs like H.264 and H.265/HEVC deliver dramatically better quality per bit, so MPEG-1/2 are now legacy formats you convert from, not to.

Converting MPG

  • MPG → MP4 (H.264) — the most common modern conversion. Keeps visual quality, reduces file size 5–10×. ffmpeg -i input.mpg -c:v libx264 -c:a aac output.mp4.
  • MPG → MP4 (H.265) — even smaller, for archival. ffmpeg -i input.mpg -c:v libx265 -crf 28 -c:a aac output.mp4.
  • MPG → MKV — lossless remux if you want to keep original MPEG-2 but move tracks into a modern container: ffmpeg -i input.mpg -c copy output.mkv.
  • DVD (VOB) → MPG — stripping menus and chapters: ffmpeg -i VTS_01_1.VOB -c copy video.mpg.

A note about re-encoding: MPEG-1 and MPEG-2 are lossy codecs. Converting an MPG to MP4 re-encodes the video; you lose a little quality but gain drastically better compression. Remuxing (-c copy) keeps bytes identical but only swaps the container.

Common problems

  • Audio/video desync after conversion — some MPG files have odd timestamps; -fflags +genpts -async 1 before output can help.
  • Large file sizes — MPEG-2 is inefficient; re-encode to H.264/H.265.
  • Cannot read file — maybe it is a misnamed TS stream. ffmpeg -i file.mpg will tell you what it really is.
  • Black bars or aspect distortion — MPEG-2 stores display aspect ratio separate from frame dimensions; -aspect 16:9 or -aspect 4:3 during re-encode fixes it.

FAQ

Is MPG the same as MPEG?

Yes, mostly. .mpg and .mpeg are both used for MPEG-1/MPEG-2 video Program Stream files.

Can modern devices play MPG?

Most can, but support is fading. Smart TVs and set-top boxes still handle MPEG-2; mobile devices may not. Convert to MP4 if you want guaranteed compatibility.

Is MPG higher quality than MP4?

No — that is a codec vs container mix-up. MPG files almost always contain MPEG-1/2 codecs; MP4 almost always contains H.264/H.265. H.264 delivers far better quality at the same file size.

Should I keep MPG or convert?

Convert unless you have a specific tool that only reads MPG. The same content in H.264 MP4 will be 5–10× smaller and look as good or better.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: MPG (.mpg.mpeg) , MPEG (.mpeg) , MP4 (.mp4)