MPG to MP4 Converter

Turn an MPG video into an MP4 that plays on nearly every device.

or drop files here

MP

MPG Format

MPEG video

A file extension for MPEG-1 or MPEG-2 video and audio in an MPEG program stream. It was the standard for VCD and DVD video.

  • MPEG-1 or MPEG-2 video
  • MPEG program stream
  • lossy compression
  • legacy format
MP

MP4 Format

MPEG-4 Part 14

A container format defined in ISO/IEC 14496-14 that can hold video, audio, subtitles and metadata. H.264 video with AAC audio is the most common combination.

  • container for several codecs
  • H.264, H.265 and AV1 video
  • subtitles and chapters
  • plays on nearly every device

How to convert MPG to MP4

Follow these steps to convert MPG to MP4 online.

    1

    Choose your MPG file, or several at once.

    2

    Wait while the converter turns each file into MP4.

    3

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

Before changing MPG to MP4

  • The video is re-encoded as H.264 with 96 kbps AAC audio.
  • Pictures wider or taller than 1920 px are scaled down; above 30 fps frames are dropped and the clip keeps its length.
  • An odd width or height is rounded down by 1 px.
  • Interlaced frames are deinterlaced.
  • A choice of several files gives one MP4 for each, converted one after another.

Understanding MPG for MP4 output

What is an MPG file?

Short for MPEG video, the MPG ending marks the format of Video CDs and DVDs. The file holds MPEG-1 or MPEG-2 video with sound in a program stream. MPEG-2 was developed for television delivery and then adopted for DVDs. Both .mpg and .mpeg name the same kind of file, and the Library of Congress gives them one shared media type, video/mpeg.

Inside, the picture, the sound and any data are coded apart from each other. A coded component is called an elementary stream, and its packetized form cuts it into packets that a single file can interleave.

You meet an MPG as Video CD or DVD material, as an older video download or as a broadcast capture. Such a file can be a system stream, with picture and sound woven together, or a raw video stream, and that structure decides which tools can read it.

If a video site, phone or editor rejects the file, the cause is usually the format rather than the footage. MPG is a legacy format. Converting gives you one file that plays almost anywhere, at the cost of one more lossy generation.

Programs that open MPG files

Linux, Mac and Windows

  • VLC reads elementary, program and transport streams of MPEG.
  • FFplay: plays MPG through FFmpeg's decoders.

Windows

  • Windows Media Player plays MPEG video.

Mac

  • QuickTime Player can open MPEG video.

Mobile

  • iPhone and Android: VLC for iOS plays local files in its own player, and VLC for Android is a port of the desktop player, so nothing needs converting just to watch.

MPG and MP4 compared

  • Extensions and media types: .mpg or .mpeg with video/mpeg for the MPG. The MP4 container is defined in ISO/IEC 14496-14.
  • Contents: an MPG is an MPEG program stream with MPEG-1 or MPEG-2 video. An MP4 is a container whose video may be H.264, H.265 or AV1, and it can carry subtitles and chapters.
  • Support: nearly every device and browser opens an MP4, while an MPG needs a player such as the ones above.
  • Quality: lossy to lossy, which makes the MP4 a second-generation picture.

On this page an MPG is decoded and re-encoded: H.264 for the picture, AAC at 96 kbps for the sound, and an encoder setting that favors speed over file size. Interlaced frames are cleaned up by deinterlacing. Frames over 1920 px on the longer side shrink to fit. Above 30 fps, frames are dropped and the clip keeps its length. If a side is odd it loses a pixel, so width and height end up even. Small pictures are never enlarged. No quality setting is passed, so every MPG gets the same encoder settings, and several files run one after another with one MP4 each. The MPG you picked stays as it was, and the download keeps its name with an .mp4 ending.

Other ways to convert MPG to MP4

  • FFmpeg (Windows, Mac, Linux): try ffmpeg -i family.mpg -c:v libx264 -c:a aac family.mp4. FFmpeg lists MPEG-1 System and MPEG program streams among the formats it reads, and this command writes H.264 video and AAC audio. Here -i gives the input file, -c:v the video encoder and -c:a the audio encoder. Without extra options FFmpeg picks the streams itself, so the result is not the same as this page makes.

Problems with MPG files

  • No sound in a player: the audio stream needs its own decoder and can use a different codec from the picture. Try VLC, or convert to MP4.
  • A site rejects the upload: the site does not accept this old format. Convert the MPG to MP4 here and upload that.
  • Combing on moving edges: this is interlacing, where one frame is made of two fields woven together. This page deinterlaces frames flagged that way.
  • A blocky or smeared picture: lossy MPEG encoding discards detail that no converter can bring back.
  • A renamed file won't open: changing .mpg to .mp4 leaves MPEG data inside, because only the label changes.
  • A program says it is not a movie: the file may hold only a raw video stream, not the system stream a player expects. Open it in VLC to see what it holds.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert an MPG file to MP4?

Is an MPG the same as an MPEG file?

Why is my MPG video blocky when I convert it?

Can I choose the quality or bitrate of the MP4?

Does the MP4 keep my video's size?

What happens to the sound in my MPG?

Can I convert a DVD or camcorder recording in MPG format?

Why does the converted video have lines on moving edges?

Is there a limit on how long my MPG can be?

Why do I need MP4 instead of MPG for uploads?