MPG to AVI Converter

Turn MPG video into an AVI with Xvid-tagged MPEG-4 and MP3 sound.

or drop files here

MP

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
AV

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.

    1

    Choose your MPG file, or several at once.

    2

    Wait while the converter turns each file into AVI.

    3

    Download each new AVI file. Your original file isn't changed.

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.avi for 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?