Convert AVI to MPEG

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

AVI vs MPEG Format Comparison

Aspect AVI (Source Format) MPEG (Target Format)
Format Overview
AVI
Audio Video Interleave

Microsoft's pioneering multimedia container introduced with Windows 3.1 in 1992, based on the Resource Interchange File Format (RIFF). AVI stores interleaved audio and video data with support for a wide range of codecs, from uncompressed PCM/RGB to DivX and Xvid. While its simplistic structure makes it reliable for editing and archiving, the lack of modern features like variable frame rate, native streaming, and standardized subtitle support has led to its gradual replacement by MP4 and MKV.

Legacy Lossy
MPEG
MPEG Program Stream

The original MPEG video format using MPEG-1/MPEG-2 video compression, standardized for DVD-Video and early digital television. The .mpeg extension is the full-length variant of .mpg — they use identical codecs and container structure. MPEG Program Stream wraps MPEG-1 or MPEG-2 video with MP2 or AC-3 audio for sequential playback, designed for reliable local media like DVDs and VCDs rather than broadcast streaming.

Legacy Lossy
Technical Specifications
Container: Microsoft RIFF-based container (AVI 2.0/OpenDML)
Video Codecs: MPEG-4 ASP (DivX, Xvid), H.264, MJPEG, Uncompressed, DV
Audio Codecs: MP3, AC-3, PCM, WMA, DTS
Max Resolution: No defined limit (codec-dependent)
Extensions: .avi
Container: MPEG Program Stream (ISO/IEC 11172-1, 13818-1)
Video Codecs: MPEG-1, MPEG-2
Audio Codecs: MPEG-1 Layer II (MP2), MP3, AC-3
Max Resolution: Up to 1920×1152 (MPEG-2 Main Profile @ High Level)
Extensions: .mpeg, .mpg, .vob, .m2p
Video Features
  • Subtitles: No native support (requires external SRT files)
  • Chapters: Not supported
  • Multi-Audio: Limited (single audio track common)
  • HDR: Not supported
  • DRM: No native DRM support
  • Streaming: Not suitable for streaming (interleaved sequential access)
  • Subtitles: DVD subtitles (VobSub bitmap), closed captions
  • Chapters: DVD chapter points (in VOB container)
  • Multi-Audio: Up to 8 audio streams (DVD specification)
  • HDR: Not supported
  • DRM: CSS (Content Scramble System) for DVD
  • Streaming: Sequential playback, not designed for adaptive streaming
Processing & Tools

Decoding and extracting streams from AVI files:

# Extract video stream from AVI
ffmpeg -i input.avi -c:v copy -an video_only.avi

# Analyze AVI codecs
ffprobe -v error -show_streams input.avi

Encoding and authoring MPEG-2 Program Stream for DVD and broadcast:

# Convert AVI to MPEG-2 Program Stream
ffmpeg -i input.avi -c:v mpeg2video -b:v 5M \
  -maxrate 8M -bufsize 2M -c:a mp2 -b:a 256k output.mpeg

# DVD-compliant MPEG-2 encoding
ffmpeg -i input.avi -target ntsc-dvd output.mpeg
Advantages
  • Universal desktop player and editor compatibility
  • Simple, reliable container structure
  • Supports uncompressed video for editing
  • No licensing or royalty requirements
  • Excellent DV camera capture support
  • Mature, well-understood format
  • Universal hardware decoder support (DVD players, set-top boxes)
  • Mature, standardized format (ISO/IEC)
  • Excellent broadcast television compatibility
  • Reliable sequential playback
  • DVD authoring industry standard
  • Low CPU decoding requirements
Disadvantages
  • No native subtitle or chapter support
  • Large file sizes with uncompressed codecs
  • No streaming or progressive download support
  • Limited to single video and audio tracks
  • 2 GB file size limit without OpenDML extension
  • No variable frame rate support
  • Poor compression efficiency vs modern codecs (H.264, H.265)
  • Large file sizes for equivalent quality
  • No support for modern codecs (H.264, VP9, AV1)
  • Limited to standard definition / early HD resolutions
  • No variable frame rate support
  • Outdated for web delivery
Common Uses
  • Legacy video playback and archives
  • DV camera capture and editing
  • DivX/Xvid movie collections
  • Uncompressed video editing workflows
  • Surveillance camera recordings
  • VirtualDub and Avidemux processing
  • DVD-Video disc authoring
  • Broadcast television (DVB, ATSC legacy)
  • Video CD (VCD) production
  • Legacy media archives
  • CCTV and surveillance recordings
  • Cable and satellite TV content
Best For
  • Desktop video editing with uncompressed sources
  • Legacy DivX/Xvid content playback
  • DV camera capture and archiving
  • Compatibility with older editing software
  • Simple container for processing pipelines
  • DVD authoring and production
  • Broadcast television compatibility
  • Legacy media system integration
  • Hardware DVD/Blu-ray player playback
  • Archival of broadcast recordings
Version History
Introduced: 1992 (Microsoft, Windows 3.1)
Current Version: AVI 2.0 / OpenDML (1996)
Status: Legacy format, widely supported but rarely used for new content
Evolution: AVI 1.0/RIFF (1992) → AVI 2.0/OpenDML (1996) → DivX era (2000s) → largely superseded by MP4/MKV
Introduced: 1993 (MPEG-1, ISO/IEC 11172), 1995 (MPEG-2, ISO/IEC 13818)
Current Version: ISO/IEC 13818 (MPEG-2, multiple parts)
Status: Legacy standard, maintained for broadcast and DVD
Evolution: MPEG-1/VCD (1993) → MPEG-2/DVD (1995) → DVB/ATSC broadcast → still used in broadcast TV
Software Support
Media Players: VLC, Windows Media Player, PotPlayer, KMPlayer
Web Browsers: Not natively supported
Video Editors: Adobe Premiere Pro, VirtualDub, Avidemux, DaVinci Resolve
Mobile: Android (VLC, MX Player), iOS (VLC)
CLI Tools: FFmpeg, AviSynth, VirtualDub, MEncoder
Media Players: VLC, Windows Media Player, mpv, MPC-HC
Web Browsers: Not natively supported
Video Editors: Adobe Premiere Pro, DaVinci Resolve, Avidemux
Mobile: Android (VLC, MX Player), iOS (VLC)
CLI Tools: FFmpeg, mpgtx, dvdauthor, MEncoder

Why Convert AVI to MPEG?

Converting AVI to MPEG is primarily driven by one need: DVD authoring. The MPEG-2 Program Stream is the mandatory format for DVD-Video discs, and if you want to burn your AVI movies, home videos, or presentations onto playable DVDs, conversion to MPEG is the essential first step. DVD players contain dedicated MPEG-2 hardware decoders that cannot read DivX, Xvid, or other codecs commonly found in AVI files — the content must be re-encoded to MPEG-2 for disc playback.

Beyond DVD authoring, MPEG-2 remains the foundation of broadcast television infrastructure worldwide. DVB (Digital Video Broadcasting) systems in Europe, ATSC in North America, and ISDB in Japan all use MPEG-2 encoding for standard-definition content. Converting AVI files to MPEG prepares them for insertion into broadcast playout systems, cable TV head-ends, and legacy digital signage systems that expect MPEG-2 input.

MPEG-2 offers exceptional hardware decoder compatibility. Every standalone DVD player, Blu-ray player, set-top box, and older smart TV includes an MPEG-2 hardware decoder. This makes MPEG the most universally playable format on dedicated media hardware — even more compatible than MP4 on legacy devices. For environments where viewers use older equipment (hospitals, schools, community centers), MPEG provides guaranteed playback without software installation.

The trade-off is file size: MPEG-2 compression is significantly less efficient than modern codecs. A 700 MB Xvid AVI movie will typically become 2-4 GB as DVD-compliant MPEG-2, because MPEG-2 requires higher bitrates to achieve acceptable quality. However, for DVD authoring this is expected — a single-layer DVD holds 4.7 GB, and DVD-compliant MPEG-2 at 5-8 Mbps video bitrate fills that space appropriately.

Key Benefits of Converting AVI to MPEG:

  • DVD Authoring: MPEG-2 is the mandatory format for creating playable DVD-Video discs
  • Hardware Compatibility: Plays on every DVD player, Blu-ray player, and set-top box
  • Broadcast Ready: Compatible with DVB, ATSC, and cable TV playout systems
  • Legacy Device Support: Works on older smart TVs and media devices without apps
  • Reliable Playback: Simple sequential structure ensures consistent, glitch-free playback
  • Multi-Audio Tracks: DVD specification supports up to 8 audio streams per title
  • Standardized Format: ISO/IEC standard with guaranteed long-term decoder support

Practical Examples

Example 1: Creating a DVD from Home Video AVI Files

Scenario: A family wants to compile their DV camera AVI home videos from 2005-2010 onto DVD discs as holiday gifts for grandparents who only have a standalone DVD player.

Source: christmas_2008.avi (3.2 GB, 720x480, DV codec, PCM 48kHz)
Conversion: AVI → MPEG (DVD-compliant MPEG-2)
Result: christmas_2008.mpeg (3.8 GB, 720x480, MPEG-2 8Mbps, AC-3 256kbps)

DVD authoring workflow:
1. Convert all DV-AVI files to NTSC DVD-compliant MPEG-2
2. Use ffmpeg -target ntsc-dvd for automatic DVD parameter selection
3. Import MPEG files into DVD authoring tool (DVD Styler, ImgBurn)
4. Add DVD chapter markers at each video segment
5. Create DVD menu with thumbnail navigation
6. Burn to DVD-R for standalone player playback
✓ Plays on any standard DVD player worldwide
✓ DVD chapters allow jumping between video clips
✓ AC-3 audio provides surround sound on compatible systems
✓ Physical disc as a tangible gift for non-technical recipients

Example 2: Preparing AVI Content for Cable TV Broadcast

Scenario: A local community access TV station receives program submissions as AVI files and needs to convert them to MPEG-2 for their broadcast playout server running DVB-compatible infrastructure.

Source: community_event_2024.avi (4.5 GB, 1920x1080, H.264, MP3)
Conversion: AVI → MPEG (broadcast MPEG-2)
Result: community_event_2024.mpeg (8.2 GB, 720x576 PAL, MPEG-2 6Mbps, MP2 256kbps)

Broadcast preparation workflow:
1. Scale to broadcast resolution (720×576 PAL or 720×480 NTSC)
2. Encode to MPEG-2 at 6 Mbps with proper GOP structure
3. Convert audio to MPEG-1 Layer II (MP2) 256 kbps stereo
4. Set correct aspect ratio flags (16:9 or 4:3)
5. Ingest into playout server for scheduled transmission
✓ Meets DVB broadcast specification requirements
✓ Compatible with SDI output cards and playout systems
✓ Proper GOP structure ensures clean cuts at segment boundaries
✓ All legacy set-top boxes decode the signal correctly

Example 3: Converting Surveillance AVI for Evidence DVD

Scenario: A law firm needs to present surveillance footage from MJPEG AVI files on a DVD that can be played on the courtroom's standard DVD player during trial proceedings.

Source: lobby_cam_incident.avi (6.8 GB, 1280x720, MJPEG, PCM)
Conversion: AVI → MPEG (DVD-compliant with timestamp overlay)
Result: lobby_cam_incident.mpeg (4.2 GB, 720x480, MPEG-2 8Mbps, AC-3)

Legal evidence workflow:
1. Scale 720p source to DVD resolution (720×480 NTSC)
2. Burn timestamp overlay into video for legal reference
3. Encode to DVD-compliant MPEG-2 at maximum quality
4. Create DVD with chapter markers at key incident moments
5. Produce two copies: one for prosecution, one for defense
✓ Plays on standard courtroom DVD equipment
✓ Timestamp overlay provides legally defensible time reference
✓ Chapter markers allow attorneys to jump to relevant moments
✓ No software installation required — standard DVD playback

Frequently Asked Questions (FAQ)

Q: Why are my MPEG files so much larger than the AVI source?

A: MPEG-2 compression is roughly 2-4x less efficient than the Xvid/DivX codecs commonly used in AVI files. A 700 MB Xvid AVI at ~1 Mbps will require 3-8 Mbps as MPEG-2 for comparable quality, producing a 2-4 GB file. This is normal and expected — DVD-compliant MPEG-2 prioritizes hardware decoder compatibility over compression efficiency. For DVD authoring, the 4.7 GB disc capacity accommodates standard MPEG-2 bitrates.

Q: What is the difference between .mpeg and .mpg files?

A: There is no technical difference — .mpeg and .mpg are identical formats. The .mpg extension originated from the 8.3 filename limitation of DOS/Windows 3.1, while .mpeg is the full extension used on systems without filename length restrictions. Both contain the same MPEG Program Stream data with MPEG-1 or MPEG-2 video. Use .mpeg for clarity on modern systems or .mpg for legacy compatibility.

Q: How do I create a DVD-compliant MPEG file from AVI?

A: Use FFmpeg's DVD target preset: ffmpeg -i input.avi -target ntsc-dvd output.mpeg (for NTSC regions) or -target pal-dvd (for PAL regions). This automatically sets the correct resolution (720×480 or 720×576), frame rate (29.97 or 25 fps), bitrate, and audio format. The resulting file can be imported directly into DVD authoring tools like DVD Styler, DVDFlick, or ImgBurn.

Q: Can I convert AVI to MPEG without re-encoding?

A: Generally no. AVI files typically contain DivX/Xvid (MPEG-4 ASP) or H.264 video, while MPEG Program Stream requires MPEG-1 or MPEG-2 video codecs. Since the codecs are different, re-encoding is necessary. The only exception would be an AVI file already containing MPEG-2 video (rare), which could theoretically be remuxed. For DVD authoring, always re-encode to ensure full DVD specification compliance.

Q: What bitrate should I use for MPEG-2 encoding?

A: For DVD-quality standard definition: 4-8 Mbps video with 256 kbps audio. Higher bitrates produce better quality but limit the duration you can fit on a disc (4.7 GB single-layer DVD). At 6 Mbps video, you can fit approximately 90-100 minutes. For broadcast: 4-6 Mbps is typical for SD content. For maximum quality regardless of file size, use 8-9.8 Mbps (DVD maximum). The FFmpeg -target ntsc-dvd preset uses appropriate defaults.

Q: Should I use NTSC or PAL DVD settings?

A: Use NTSC (720×480, 29.97 fps) for North America, Japan, and parts of South America. Use PAL (720×576, 25 fps) for Europe, Australia, and most of Asia/Africa. Most modern DVD players are multi-region and can play both, but matching your region ensures optimal compatibility. If unsure, NTSC is the safer choice as it has slightly broader global player support.

Q: Can I add subtitles to the MPEG file for DVD?

A: DVD subtitles are bitmap-based (VobSub format), not text-based like SRT. For DVD authoring, subtitles are added during the DVD authoring phase, not during the MPEG encoding phase. Convert your AVI to MPEG first, then import both the MPEG file and SRT subtitle file into your DVD authoring tool (DVD Styler, Adobe Encore) which will render the subtitles as bitmap overlays in the final DVD structure.

Q: Is MPEG still relevant in 2024, or should I use MP4 instead?

A: For most modern use cases, MP4 with H.264 is the better choice — it's smaller, more compatible with web and mobile devices, and visually superior at equivalent bitrates. However, MPEG remains essential for three specific workflows: DVD disc authoring (which requires MPEG-2), broadcast television infrastructure (DVB/ATSC legacy systems), and legacy hardware playback where MPEG-2 hardware decoders are the only option. If you don't need DVD or broadcast compatibility, choose MP4 instead.