Что такое формат файла MPG?
Files with the .mpg extension store audio and video data along with related metadata, compressed using the lossy MPEG-1 or MPEG-2 standard. A .mpg file is a program-stream container that multiplexes video, audio, and timing data for synchronized playback. MPEG-encoded videos are supported by nearly all media players and video applications, so opening such files is mostly unproblematic. The interleaved stream structure also allows partial playback of incomplete files.
The Moving Picture Experts Group designed the original MPEG-1 standard (ISO/IEC 11172), released in 1993, primarily to encode Video CD (VCD) content and digitize VHS-quality footage. The second version, MPEG-2 (ISO/IEC 13818), followed two years later and became the foundation for DVD and digital TV broadcasts. A separate MPEG-3 standard targeting HDTV was abandoned when the needed capabilities were incorporated into MPEG-2 instead. For modern distribution, .mpg has largely been superseded by MP4 containers carrying H.264 or H.265 video.
The broader MPEG family of standards includes:
- MPEG-A - multimedia framework for software applications,
- MPEG-B - MPEG systems technologies,
- MPEG-C - MPEG video technologies,
- MPEG-D - MPEG audio technologies.
.mpg files are supported by most media players. When a file plays without sound or picture, the most probable cause is a missing codec; installing the appropriate codec pack resolves this. The format shares its program-stream structure with .vob files used on DVDs - remuxing between the two is often nearly lossless. MPEG-encoded files also appear under other extensions, including .mpeg, .mp1, .mp2, .m1v, .m1a, .m2a, .mpa, and .mpv; many of these hint at the specific data type or encoding tier, while .mpg is indescriptive in this regard.
Безопасность и защита
РИСК: LOWAn .mpg is inert MPEG video, safe to play. Realistic cautions are non-malware: fake 'MPG codec pack' and 'free video converter' sites are a common adware/PUP vector - install VLC (videolan.org) and HandBrake (handbrake.fr) from official sources instead. Online MPG-to-MP4 converters upload your (possibly private) video to a third party; use a local tool for personal footage. DVD-derived .mpg content may carry copy-protection/legal considerations from the source disc.
Детали формата
в двух словахПрограммы, открывающие файлы MPG
Технические подробности
глубокая спецификация| MIME type | video/mpeg (also registered as video/mpg and video/x-mpeg) |
| Magic bytes | 00 00 01 BA at offset 0 - the MPEG Program Stream pack-start code; raw video elementary streams begin with 00 00 01 B3 (sequence header) |
| Encoding | Binary, big-endian (MSB-first) bitstream |
| Container type | MPEG-1 System Stream or MPEG-2 Program Stream (PS) - packetized and multiplexed |
| Video codec | MPEG-1 Part 2 (ISO/IEC 11172-2) or MPEG-2 Part 2 / H.262 (ISO/IEC 13818-2) |
| Audio codec | MPEG-1 Layer I or II (MP1/MP2), MPEG-1 Layer III (MP3); DVD-derived streams may carry AC-3 (Dolby Digital) or LPCM |
| Compression | Lossy DCT-based; video uses intra (I), predictive (P) and bidirectional (B) frames organized into GOPs (Groups of Pictures) |
| Color space | YCbCr with 4:2:0 chroma subsampling; 8 bits per component |
| Typical resolution | MPEG-1 / VCD: 352×240 (NTSC) or 352×288 (PAL); MPEG-2 / DVD: 720×480 (NTSC) or 720×576 (PAL); spec allows up to 1920×1152 |
| Bitrate | MPEG-1: up to ~1.5 Mb/s; MPEG-2 DVD profile: up to ~9.8 Mb/s |
| Audio sample rate | 32 kHz, 44.1 kHz, or 48 kHz (MPEG-1 audio layers); 48 kHz standard for AC-3 in DVD-derived streams |
| A/V synchronization | PTS (Presentation Time Stamp) and DTS (Decoding Time Stamp) embedded in pack and packet headers |
| Выпущен | MPEG-1: 1993 (ISO/IEC 11172); MPEG-2: 1995 (ISO/IEC 13818) |
| Последняя версия | MPEG-2 (ISO/IEC 13818); .mpg is a legacy container - superseded for new content by MP4/H.264 |
| Открыть стандартное | Да · без роялти |
| Спецификация | www.iso.org |
Конвертации MPG
Вопросы и ответы сообщества
спрошено пользователямиВопросов пока нет - станьте первым, кто спросит о файлах MPG.