Initializing... drag & drop files here
Supports: XVID
.avi (or .xvid) file encoded with the Xvid MPEG-4 ASP codec. Batch is supported; queue several files at once.Xvid is a free MPEG-4 ASP (Part 2) codec that ruled the file-sharing era of the early 2000s. Most Xvid files ship inside an .avi container and need a codec pack on Windows to play reliably. MPG (the .mpg/.mpeg extension wrapping an MPEG-1 or MPEG-2 program stream) is the older, broader-compatibility format that DVD players, broadcast equipment, and legacy hardware actually understand without extra codecs. Common reasons to convert Xvid → MPG:
.mpg/.mpeg as natively supported, while Xvid AVIs require a third-party DirectShow filter such as the LAV or K-Lite codec packs.| Property | Xvid (typically .avi) |
MPG (.mpg / .mpeg) |
|---|---|---|
| Video codec | MPEG-4 Part 2 Advanced Simple Profile | MPEG-1 Part 2 or H.262/MPEG-2 Part 2 |
| Container | AVI (Audio Video Interleave) | MPEG program stream |
| First standardized | Xvid project forked from OpenDivX, 2001 | MPEG-1 in 1993; MPEG-2 in 1995 |
| Typical use | Desktop playback, file sharing, AVI archives | DVD-Video, VCD/SVCD, broadcast, capture cards |
| DVD-Video legal | No — not in the spec | Yes — MPEG-2 is the DVD video codec |
| Windows Media Player default | Needs codec pack (LAV / K-Lite) | Plays MPEG-1 natively; MPEG-2 needs a decoder on older Windows builds |
| Max resolution in practice | Up to 1080p (rarely used) | 720×480 (NTSC) or 720×576 (PAL) for DVD; up to 1920×1080 for MPEG-2 HD |
| Patent status | US patents expired Nov 2023 | Most MPEG-2 patents expired by 2018 |
| Target | Codec inside MPG | Resolution | Recommended bitrate |
|---|---|---|---|
| DVD-Video, NTSC | MPEG-2 | 720×480 @ 29.97 fps | 5-8 Mbps (max 9.8 Mbps for video alone) |
| DVD-Video, PAL | MPEG-2 | 720×576 @ 25 fps | 5-8 Mbps (max 9.8 Mbps for video alone) |
| SVCD | MPEG-2 | 480×480 (NTSC) / 480×576 (PAL) | up to 2.6 Mbps |
| VCD | MPEG-1 | 352×240 (NTSC) / 352×288 (PAL) | 1.15 Mbps |
| HD MPEG-2 archive | MPEG-2 | 1280×720 or 1920×1080 | 8-15 Mbps |
MPEG-2 for almost everything modern: DVD-Video, SVCD, broadcast, HD archives. The DVD-Video specification accepts both, but MPEG-2 supports interlaced video, 4:3/16:9 flagging, and bitrates up to 9.8 Mbps that MPEG-1 cannot reach (MPEG-1 in DVD is capped at 1.856 Mbps). Pick MPEG-1 only if you specifically need VCD compatibility or you're targeting hardware from the mid-1990s.
5-8 Mbps for MPEG-2 video gives the typical DVD look while leaving headroom for audio and subtitles. The DVD-Video spec allows up to 9.8 Mbps for video alone, but the combined video + audio + subpicture bitrate cannot exceed 10.08 Mbps, so most authoring tools target 6-7 Mbps for two-hour movies and push higher for shorter discs.
.avi to .mpg?Xvid AVIs and MPEG program streams are completely different containers and codecs. AVI uses Microsoft's RIFF chunked layout with an Xvid (MPEG-4 ASP) video stream inside. MPG uses the MPEG-1/2 program stream multiplexer with MPEG-1 or MPEG-2 video. Re-encoding is required — the video has to be decoded from MPEG-4 ASP and re-encoded as MPEG-1 or MPEG-2, then muxed into a program stream. A rename produces a corrupt file that no player will open.
Microsoft's "File types supported by Windows Media Player" support article lists .mpg and .mpeg as supported. MPEG-1 plays out of the box on every Windows version. MPEG-2 plays without extras on Windows 7 and later with the included DVD decoder. On Windows 10/11, the optional "MPEG-2 Video Extension" pack from the Microsoft Store covers any remaining gaps. VLC plays both unconditionally.
Yes — Xvid (MPEG-4 ASP) to MPG (MPEG-1/2) is always a lossy decode-and-re-encode because the codecs are different families. For most viewing, 6-8 Mbps MPEG-2 at the source resolution is visually indistinguishable from the Xvid input. Pick Constant Quality (CRF) or a high Quality Preset to minimize visible artifacts; pick a strict Specific File Size only when burning to fit a fixed disc capacity.
Yes, if you don't need DVD-Video compatibility. MPEG-2 supports HD at 1920×1080 (the same codec used by ATSC broadcast and the original Blu-ray spec); 8-15 Mbps is a reasonable target. Note that DVD-Video itself is SD-only — for HD playback you'd burn an AVCHD disc (which uses H.264, not MPEG) or just play the file directly. Picking 720×480 / 720×576 only matters when the target is an actual DVD.
Xvid AVIs commonly carry MP3 or AC-3 audio. The MPG container expects MPEG audio (typically MP2, sometimes MP3) for VCD/SVCD or AC-3/MP2 for DVD-Video. Audio is automatically re-encoded to a compatible track for the chosen output profile — MP2 at 224 kbps is the standard for DVD authoring.
.mpg the same as .mpeg?Yes — both extensions identify the same MPEG program stream container. .mpg is more common on Windows (because of the legacy 8.3 filename limit); .mpeg is more common on Linux and Mac. Players, browsers, and authoring tools treat them identically.
For modern playback, Xvid to MP4 gives you H.264/H.265 in an MP4 container — universally supported and dramatically more efficient. Convert to MPG only when you specifically need DVD-Video, VCD/SVCD, or legacy MPEG-2 hardware compatibility. To shrink an Xvid file without changing format, see Compress Xvid.