MPEG to AVI Converter

Re-encode an MPEG to MPEG-4 AVI with MP3 sound, in your browser.

or drop files here

MP

MPEG Format

MPEG video

An MPEG systems recording with codec-dependent video and sound.

  • Standards-family name
  • Can contain several streams
  • Legacy television material possible
AV

AVI Format

Audio Video Interleave

A RIFF media container with new encoded picture and sound streams.

  • Codec identifiers matter
  • MPEG-4 Part 2 output
  • No inherent quality increase

How to convert MPEG to AVI

Follow these steps to convert MPEG to AVI online.

    1

    Choose your MPEG 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.

Converting MPEG into AVI

  • Video is MPEG-4 Part 2 from FFmpeg's mpeg4 encoder, tagged xvid.
  • Sound is encoded to MP3.
  • The picture is limited in size and frame rate, and it is deinterlaced.
  • The AVI needs a player with MPEG-4 Part 2 and MP3 decoders.

MPEG background and AVI conversion

What is an MPEG file?

MPEG is the name of a standards family, not one fixed specification. A file ending in .mpeg usually packages compressed video and sound in an MPEG systems stream, which organizes coded picture, sound and data as streams: elementary streams that each hold one coded component, divided into packets. Both .mpeg and .mpg appear on MPEG video files, and the Library of Congress records the media type video/mpeg. MPEG-2 began as a scheme for compressed television broadcast, and DVDs adopted it later. The extension can't tell you which video generation or audio encoding is inside, so old television captures vary a lot.

Programs that open MPEG files

  • Windows, Mac and Linux: VLC opens MPEG files whether they are elementary, program or transport streams, and ffplay plays them with its built-in decoders.
  • Mobile: local MPEG files play in the VLC apps for Android and iOS.

MPEG and AVI compared

AVI is a RIFF-based container that identifies each stream by a codec identifier. It suits older desktop workflows, but the player still needs decoders for whatever is written into it.

The page makes a new encode: in your browser, FFmpeg writes MPEG-4 Part 2 video with its built-in mpeg4 encoder, using -q:v 10 and no B-frames, tagged xvid. The sound becomes MP3 at 96 kbps. Pictures bigger than 1920 px are scaled down, faster motion is reduced to 30 fps, and sizes are rounded to even numbers. A deinterlace filter is applied. A fresh encode can't bring back detail the capture never had.

Other ways to convert MPEG to AVI

  • FFmpeg encode: run ffmpeg -i source.mpeg -c:a libmp3lame -c:v mpeg4 converted-scene.avi. FFmpeg's native mpeg4 encoder writes MPEG-4 Part 2 video, and libmp3lame writes the MP3 audio.
  • FFmpeg stream copy: run ffmpeg -i source.mpeg -c copy copied-scene.avi. It only rewraps, and copy means the streams are not re-encoded. AVI and your player must accept the original streams.

Problems with MPEG files

  • Unknown structure: .mpeg can hold a systems stream or bare video, and knowing which helps pick the right demuxer.
  • Sound is missing: the player needs a decoder for the audio stream as well as for the video.
  • Detail is missing: whatever the original MPEG encode threw away stays gone, and converting again cannot restore it.

Frequently Asked Questions

Everything you need to know about our converter

Which video codec does the AVI use?

Is the MPEG soundtrack copied as is?

Why won't my old AVI player open the result?

Can I avoid re-encoding?

Does the page deinterlace old TV captures?

Does a high-frame-rate MPEG keep its frame rate?

Does a damaged MPEG still give an AVI?

Will it handle a pile of MPEG captures?