MPEG Video
MPG (MPEG-1 Program Stream) is the 1993 ISO video format whose last patent expired in 2017 — the only major video codec that became royalty-free by outliving its own patents rather than being designed that way. Its audio sibling from the same 1993 standard is MP3.
Common questions
How do I convert MPG to MP4?
FileDex converts MPG to MP4 in your browser — drop the file into the converter above. The conversion re-packs the video because MP4 doesn't accept MPG's old video compression. FileDex re-builds the video and audio in modern formats every device plays, then arranges the file so it starts playing while still downloading.
What is an MPG file?
MPG is the MPEG-1 Program Stream — the way audio and video chunks are interleaved into a single file. The Moving Picture Experts Group published it in August 1993 as part of ISO/IEC 11172, alongside its audio sibling MP3. MPG defaults to 352×240 and 1.15 Mbps, both inherited from the 1991 Video CD constraint.
Is .mpg the same as .mpeg?
The .mpg and .mpeg extensions denote the same format. MPG is the DOS-era three-letter version, mpeg the four-letter version. Internally, both can carry MPEG-1 or MPEG-2 video — the disambiguation lives in two bits of the file's first 14 bytes. Every modern player treats both extensions identically.
Why won't my iPhone play MPG?
iOS Safari refuses MPG containers entirely — Apple dropped MPEG-1 support in mainstream iOS years ago. The fix is conversion to MP4 with H.264 video and AAC audio, the universal compatibility target. FileDex does this conversion locally in your browser, no upload.
Why does MPG video look low-quality?
MPG's defaults — 352×240 picture, 1.15 Mbps bitrate — date to a 1991 design constraint: fitting 74 minutes of video on a 700 MB CD-ROM at the original CD-ROM read speed. The numbers were never updated. Modern MPG files from any encoder still default to those values, which is why MPG video looks 1990s even on 2026 hardware.
What makes .MPG special
Why MPG Looks the Way It Looks: A 1991 Whiteboard
In 1991, an engineer at Philips wrote three numbers on a whiteboard: 74 minutes, 650 megabytes, CD spin rate 1×. The third number was the original CD-ROM's read speed in 1991 — the same rate as audio CDs, 150 kilobytes per second. The first two were the disc's playing-time and capacity ceilings, set by the audio CD specification Sony and Philips had published a decade earlier — and none of the three was negotiable. Divide 650 megabytes by 74 minutes: 150 kilobytes per second. Multiply by eight: 1.15 megabits per second. The resolution that fits in that budget is 352×240 in NTSC, 352×288 in PAL — what the spec called SIF, MPG's standard resolution. Three numbers on a whiteboard became the format's permanent shape. The format wasn't designed to look 1990s — the 1990s laser-disc spin rate designed it. Those numbers held for thirty years. The patents that protected them ran shorter.
Continue reading — full technical deep dive
The Only Video Codec That Walked Free
Sometime in 2017, somewhere in California, a calendar quietly ticked past the last MPEG-1 patent expiration date. No press release. No celebration. A video format that began standards work in 1988 had just become royalty-free, twenty-nine years after the working group's first meeting. From 1988 to 2017, every commercial MPG encoder paid the MPEG-LA patent pool — the company that collected royalties from MPG users until the patents expired. A school district encoding classroom video paid the same pool as a broadcaster encoding the evening news. Then the patents ran out. Every other royalty-free video codec available in 2026 was designed royalty-free from the start: WebM in 2010, AV1 in 2018. MPG is the only one that became royalty-free by outliving its own patents — the only video codec on the entire timeline that walked free instead of being designed free. That single fact is why MPG has a quiet second life in the late 2020s. The Internet Archive's video collection encodes legacy holdings to MPEG-1 specifically because the codec ships license-free in every modern decoder. No royalty paperwork. No per-decoder fee. A 1993 format became, in 2017, the only royalty-free video format with three decades of universal player support. The codec that became free in 2017 had a sibling that became free much earlier — and far more famously.
MP3 Has a Video Sibling Almost Nobody Names
MP3 has a video sibling. Same parent specification, same August 1993 publication, same committee — and almost nobody names it. In August 1993, ISO published ISO/IEC 11172, the 1993 international standard that defined MPG. Three parts in the same envelope, same publication date, same working group. Part 1 was Systems — MPG's container format, the way audio and video chunks are interleaved into a single file. Part 2 was Video — the video compression method MPG uses, defined in the 1993 standard. Part 3 was Audio Layer III. That last part has another name: MP3. The most-used audio format in human history and the rarely-thought-about video format are siblings. Same parent specification. Same August 1993 publication. Same committee — the international working group called the Moving Picture Experts Group, led by an Italian research lab. People who know MP3 don't know MPG is the video sibling. People who know MPG — the few who do — don't know MP3 is the audio sibling. They were one envelope in 1993, published the same day, with the same standard number. MP3 is the part of ISO/IEC 11172 the world remembers. The other part the world remembers — but doesn't realize it's remembering — is on every DVD ever pressed.
Every DVD You Ever Owned Inherits MPG's Container
A DVD spins. The drive reads the file VTS_01_1.VOB. Inside that file at offset zero: 00 00 01 BA — the 4-byte marker that opens every MPG file, like a chapter-start signal. The same pack header that opened a 1995 Video CD — the 1993 movie-on-CD format that drove MPG's design. DVD didn't replace MPG's container; it extended it. The format on a DVD is MPEG-2 Program Stream — DVD's container format, a direct extension of MPG's design. Same pack header at offset zero. Same packet structure. Same byte signals announcing each video and audio packet. The disambiguation between MPG and DVD lives in two bits of the pack header itself: MPEG-1 has the value 01 in those bits, MPEG-2 has 00. Change two bits. Get a DVD. Every DVD pressed since 1996 — every Hollywood release, every wedding video, every PlayStation 2 game cinematic, every karaoke disc — uses the architecture published as part of MPG in August 1993. The 1993 wrapper outlived its own codec by thirty years. The DVD spinning in the drive is, structurally, MPG's grandchild.
.MPG compared to alternatives
| Formats | Criteria | Winner |
|---|---|---|
| .MPG vs .MP4 | Modern device compatibility and royalty status MP4 plays on every modern device — iPhone, Android, Apple TV, smart TVs, every browser. MPG plays only on desktop media players like VLC and mpv; iOS Safari refuses MPG entirely. MPG's one structural advantage is royalty status: every MPEG-1 patent expired by 2017, making MPG the only mainstream video container that's fully royalty-free through natural patent expiration. For shipping projects without licensing fees that matters; for everyday playback, MP4 wins. | MP4 wins |
| .MPG vs .VOB | Container generation and intended use .vob files on a DVD are MPEG-2 Program Stream — DVD's container format, a direct extension of MPG's design. Both share the `00 00 01 BA` pack header at offset zero; the disambiguation lives in two bits of the pack header itself. .vob adds DVD-specific features: higher resolution (720×480 or 720×576 vs MPG's 352×240), multiple audio tracks, multi-program multiplexing, and richer metadata descriptors. Outside a DVD's filesystem, .vob is rarely seen in the wild; MPG remains the format archives and broadcasters actually receive. | NONE wins |
| .MPG vs .WEBM | Royalty-free codec generation Both MPG and WebM are royalty-free, on opposite ends of the timeline. WebM (VP9 / AV1) was designed royalty-free at launch in 2010; MPG became royalty-free in 2017 when the last MPEG-1 patent expired. WebM's compression is roughly four times more efficient than MPG's — same visual quality at a quarter of the bitrate. For new royalty-free encoding, WebM is the modern choice; MPG matters mainly for legacy compatibility and decoding old archives. | WEBM wins |
Convert .MPG to...
Technical reference
- MIME Type
video/mpeg- Magic Bytes
00 00 01 BAMPEG-1/2 Program Stream pack_start_code at offset 0; high two bits at byte 4 disambiguate MPEG-1 from MPEG-2.- Developer
- ISO / Moving Picture Experts Group
- Year Introduced
- 1993
- Open Standard
- Yes — View specification
MPEG-1/2 Program Stream pack_start_code at offset 0; high two bits at byte 4 disambiguate MPEG-1 from MPEG-2.
Binary Structure
MPG files are MPEG-1 Program Streams — a multiplex format defined in Part 1 of ISO/IEC 11172, the 1993 international standard the Moving Picture Experts Group published. Every MPG file begins with the same four bytes: `00 00 01 BA` at offset 0 — the pack_start_code that opens the first pack header. Following those four bytes, a 14-byte pack header carries the System Clock Reference (a 33-bit timestamp distributed across nine bytes for synchronization) and the multiplex bit rate. Inside each pack, one or more Packetized Elementary Stream packets follow, each opened by its own 4-byte start code: `00 00 01 E0` through `EF` mark video packets (up to 16 simultaneous video streams), `00 00 01 C0` through `DF` mark audio packets (up to 32 simultaneous audio streams), `00 00 01 BB` opens an optional system header that declares stream IDs and rate bounds, `00 00 01 BD` opens a private stream, and `00 00 01 B9` closes the program. Each PES packet carries chunks of one elementary stream — a video frame's compressed data or an audio frame's compressed data. Multiplexing is time-division: video and audio packets interleave by presentation timestamp, not by physical sector. The disambiguation between MPEG-1 and MPEG-2 lives inside the pack header itself: in MPEG-1 the high two bits at byte 4 are `01`, in MPEG-2 they are `00`. The same Program Stream architecture, with those two bits flipped, became MPEG-2 Program Stream — the format inside every DVD's `.vob` files.
| Offset | Length | Field | Example | Description |
|---|---|---|---|---|
0x00 | | pack_start_code | | Marks the start of every MPG file's first pack — the 4-byte chapter-start signal. |
0x04 | | marker_bits + version | | High two bits disambiguate MPEG-1 (01) from MPEG-2 (00). Lower bits carry the System Clock Reference's high portion. |
0x05–0x0D | | SCR + mux_rate (continued) | | 33-bit System Clock Reference timestamp + 22-bit multiplex bit rate, packed across the next 9 bytes per ISO/IEC 11172-1 § 2.4.3.2. |
0x0E+ | | first PES packet | | First Packetized Elementary Stream packet. Start code identifies stream type; payload carries one chunk of compressed video or audio. |
Attack Vectors
- Demuxer parsing bugs in older FFmpeg / libavformat — multiple CVEs in the MPEG Program Stream demuxer over the years (CVE-2017-7866, an out-of-bounds read in `mpegps_read_pes_header`; CVE-2016-10191, a heap overflow in PES parsing). Patched in current FFmpeg, but legacy media players that bundle older FFmpeg / MPlayer / libmpeg2 remain exposed.
- MPEG-1 video decoder bugs — historical exploits in libmpeg2 (Michel Lespinasse's reference decoder, 2000s era) and in FFmpeg's libavcodec/mpeg12dec.c for crafted MPEG-1 video sequences; out-of-bounds writes in motion-vector decoding. Patched in modern FFmpeg; legacy systems vulnerable.
- PES timestamp parsing edge cases — historically a source of denial-of-service crashes in media players when System Clock Reference timestamps are crafted out of valid range. Not a code-execution vector; service availability only. Documented in VLC and MPlayer changelogs across 2008–2018.
- Codec auto-installation prompts on legacy Windows — older Windows Media Player versions historically prompted to install missing codec packs from external sources when encountering unfamiliar MPEG variants. Mostly theoretical post-2018, but documented as a vector on pre-Windows 10 systems.
Mitigation: FileDex processes MPG files entirely in-browser via FFmpeg WebAssembly. The WASM sandbox confines any demuxer or decoder exploit to the browser's isolated WASM memory — no host-system code execution, no DLL loading, no native codec invocation, no codec auto-installation prompts. Legacy libmpeg2 and pre-patch libavformat exploit vectors are bypassed entirely; FileDex tracks FFmpeg upstream releases and uses only the bundled software decoders.
- Specification Information technology — Coding of moving pictures and associated audio for digital storage media at up to about 1,5 Mbit/s — Part 1: Systems
- Specification Information technology — Generic coding of moving pictures and associated audio information: Video
- Registry MPEG-1 Video Encoding (Library of Congress Format Description)
- Registry MPEG-1 Video (PRONOM registry, The National Archives)
- Registry IANA media-type registration for video/mpeg
- History MPEG-1 — Wikipedia