What is the MPEG2 file format?
.mpeg2 is a multimedia container format developed and standardized by the Moving Picture Experts Group (ISO/IEC 13818).
Files with the .mpeg2 extension contain audio and video data encoded using lossy compression algorithms. The compression is necessary to save a full movie in good quality on a DVD or Blu-ray storage disc. MPEG-2 compression algorithms are commonly used to encode movie clips because they tend to be comprised of many similar images (for example, a static background). Codecs used to create .mpeg2 files analyze all the frames and store them in a way that maximizes frame reuse, distinguishing between intra-coded I-frames, predicted P-frames and bi-directional B-frames.
Aside from multimedia content, .mpeg2 files are also commonly used for digital TV streaming - both satellite and broadcast or cable TV. The MPEG-2 standard is used by TV stations, TV receivers, DVD players and many other multimedia players. Two stream variants exist: Program Streams (typically .mpg or .mpeg) for storage media, and Transport Streams (.ts) for broadcast over unreliable channels.
Note that .mpeg2 is a non-standard extension; the same content typically appears as .mpeg, .m2v (video-only elementary stream), .vob (DVD Video Object), or .ts for broadcast transport streams.
Security & safety
RISK: LOWMPEG-2 is a passive compressed media container - no executable code, macros or scripts. Playing MPEG-2 files is safe in well-maintained players (VLC, MPC-HC). Theoretical risks exist in malformed streams triggering decoder bugs in old/unpatched media players, but this is not a current practical concern with modern software.
Format details
in a nutshellPrograms that open MPEG2 files
Technical details
deep spec| Container type | Program Stream (.mpg/.mpeg) or Transport Stream (.ts), multiplexed binary |
| Video codec | MPEG-2 Video (H.262), ISO/IEC 13818-2; DCT-based intra and inter (I/P/B) frame compression |
| Audio codecs | MPEG-1 Layer II, AC-3 (Dolby Digital), or AAC |
| Program Stream magic bytes | 00 00 01 BA (pack start code) at offset 0 |
| Transport Stream packet | 188-byte fixed-length packets, each beginning with sync byte 0x47 |
| Encoding | Binary, big-endian |
| Typical file size | 50 MB - 8 GB (SD DVD: 4-8 GB per 2-hour film at 4-9 Mbit/s) |
| Video profiles | Main Profile @ Main Level (SD), Main Profile @ High Level (HD) |
| Maximum resolution | 1920×1152 (High Level); SD: 720×480 (NTSC) or 720×576 (PAL) |
| Color format | YCbCr 4:2:0, 8 bpp per channel (some professional variants: 4:2:2) |
| Audio sample rates | 32, 44.1, or 48 kHz (MPEG-1 Layer II); AC-3 fixed at 48 kHz |
| Encryption | None in base format; optional DVB CSA scrambling in broadcast Transport Streams; DVD CSS at disc sector level |
| MIME types | video/mpeg (Program Stream); video/mp2t (Transport Stream) |
| Released | November 1994 (ISO/IEC 13818-1, MPEG-2 Systems standard finalized) |
| Latest version | ISO/IEC 13818-1:2022 (MPEG-2 Systems) |
| Open standard | Yes · royalty-free |
| Specification | www.iso.org |
MPEG2 conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about MPEG2 files.