MPG to AVI Converter
Turn MPG video into an AVI with Xvid-tagged MPEG-4 and MP3 sound.
or drop files here
MPG Format
MPEG video
A filename extension commonly used for MPEG program streams containing video and accompanying sound.
- MPEG media extension
- often a program stream
- encoding must be identified
AVI Format
Audio Video Interleave
A RIFF-based audiovisual container that can carry several kinds of video and audio encoding.
- container rather than codec
- compression varies
- legacy video interchange
How to convert MPG to AVI
Follow these steps to convert MPG to AVI online.
Choose your MPG file, or several at once.
Wait while the converter turns each file into AVI.
Download each new AVI file. Your original file isn't changed.
Related Tools
AVI to MPG
Convert AVI files to MPG format
MPG to 3GP
Convert MPG files to 3GP format
MPG to AIFF
Convert MPG files to AIFF format
MPG to CDDA
Convert MPG files to CDDA format
MPG to DIVX
Convert MPG files to DIVX format
MPG to M4A
Convert MPG files to M4A format
MPG to M4R
Convert MPG files to M4R format
MPG to M4V
Convert MPG files to M4V format
MPG to MP3
Convert MPG files to MP3 format
MPG to MXF
Convert MPG files to MXF format
MPG to OGA
Convert MPG files to OGA format
MPG to OGG
Convert MPG files to OGG format
MPG to WEBM
Convert MPG files to WEBM format
AVCHD to AVI
Convert AVCHD files to AVI format
F4V to AVI
Convert F4V files to AVI format
FLV to AVI
Convert FLV files to AVI format
M2TS to AVI
Convert M2TS files to AVI format
MJPEG to AVI
Convert MJPEG files to AVI format
MP4 to AVI
Convert MP4 video files to AVI format
MTS to AVI
Convert MTS files to AVI format
MXF to AVI
Convert MXF files to AVI format
OGV to AVI
Convert OGV files to AVI format
RMVB to AVI
Convert RMVB files to AVI format
VOB to AVI
Convert VOB files to AVI format
What to know before converting MPG to AVI
- Video is re-encoded as Xvid-tagged MPEG-4, and audio as MP3 at 96 kbps.
- Interlaced frames are deinterlaced.
- The longer side is limited to 1920 px and the frame rate to 30 fps.
- The conversion loses some detail, so keep the MPG.
About MPG files
What is an MPG file?
MPG is a suffix for MPEG video; the .mpeg and .mpg endings are both used. The MPEG-2 standard was written for broadcasting compressed TV pictures, and DVDs adopted it afterward. In MPEG systems, picture, sound and data are coded and carried as streams. The Library of Congress records video/mpeg as the media type.
Some files are system streams and others raw video, so knowing which you have helps pick the right demuxer.
Programs that open MPG files
- Windows, Mac and Linux: VLC accepts MPEG elementary, program and transport streams as input; FFplay uses FFmpeg's decoders.
- Mobile: Phones are covered by VLC for Android, which reuses the desktop decoding, and by VLC for iOS for local movies.
MPG and AVI compared
- Extensions and media types: .mpg with video/mpeg; .avi with video/x-msvideo.
- Container: an MPEG file organizes coded picture and sound as streams. AVI is a RIFF container that Microsoft introduced in 1992.
- Codecs: playback needs the audio decoder as well as the video one, and sharing a file does not make the two codecs interchangeable.
The AVI carries Xvid-tagged MPEG-4 video with no B-frames and MP3 sound at 96 kbps. Interlaced frames are deinterlaced, the longer side is fitted to 1920 px where needed with even dimensions, and the frame rate tops out at 30 fps. FFmpeg runs inside your browser, so the MPG is not uploaded. Several files are converted one after another, and each downloads as its own AVI.
Other ways to convert MPG to AVI
- FFmpeg: run
ffmpeg -i broadcast.mpg -c:a libmp3lame -c:v mpeg4 -q:v 3 broadcast.avifor a different quality setting. It re-encodes rather than copying streams.
Problems with MPG files
MPEG compression is lossy and drops detail from the source picture; encoding a second time drops more. Keep the MPG until you have checked the AVI.
Comb lines and a stretched picture are easy to mistake for damage. Aspect ratio and scan type are not handled consistently across video file formats, so compare a moving scene with the MPG in the same player before blaming the conversion.
A player that opens the AVI but shows no picture or plays no sound lacks one of the decoders; VLC is a quick way to tell.
Frequently Asked Questions
Everything you need to know about our converter
Which MPEG files does the picker take?
Which video and audio does the AVI use?
Will an interlaced capture stay interlaced?
Does a large MPG keep its resolution and frame rate?
Is the AVI better quality than the MPG?
Can I queue several MPG files?
Why does an old player reject a valid AVI?
Why is my converted video shorter than the MPG?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.