MPEG to MP4

Convert MPEG videos to MP4 in seconds, one file or many at once, without sending them to any server.

loading MPEG to MP4
About this tool

What are MPEG and MP4?

MPEG (.mpg/.mpeg) files carry MPEG-1 or MPEG-2 video, the codecs of Video CD and DVD; the files are large for their quality by today’s standards. MP4 is the video container that plays everywhere: phones, browsers, TVs, WhatsApp, Instagram and every editor, normally with H.264 video and AAC audio.

MPEG-2 files from DVDs, camcorders and TV captures are large and not playable in browsers; H.264 in MP4 usually fits the same picture in a much smaller file.

This page opens the video converter ready for MPEG → MP4. The conversion runs in your browser: the files never leave your device.

MPEG vs MP4

MPEGMP4
Extension.mpg, .mpeg.mp4
What it isprogram streamcontainer
Usual codecsMPEG-1, MPEG-2 + MP2H.264, H.265, AV1 + AAC
Plays ondesktop players, VLC; not browserseverything
Best forDVD and VCD materialsharing, web, phones

When to convert MPEG to MP4

  • Convert to MP4 when the video must play on any phone, browser or social network.
  • Keep the MPEG when a DVD authoring tool expects MPEG-2.

What changes in the conversion

  • The picture is re-encoded to H.264 and the sound to AAC, which every phone and browser plays. Re-encoding loses a little detail; the "high" quality keeps it invisible in practice.
  • Everything runs in your browser with FFmpeg compiled to WebAssembly: big files need free memory (the page warns above 300 MB) and take longer on phones.

How to convert MPEG to MP4

  1. Drop one or more MPEG files (.mpg, .mpeg) on the page.
  2. Convert; MP4 is already selected.
  3. Download each MP4 or a ZIP with all of them.

Example

The converter runs FFmpeg in your browser. With the default "balanced" quality, a MPEG is re-encoded with these exact arguments:

ffmpeg -i input.mpeg -map 0:v:0 -map 0:a:0 -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -c:v libx264 -preset veryfast -crf 24 -pix_fmt yuv420p -c:a aac -b:a 160k -movflags +faststart -y output.mp4

When the source video is already H.264 and the size is kept, the "fast" option copies the picture instead (-c:v copy), which takes seconds:

ffmpeg -i input.mpeg -map 0:v:0 -map 0:a:0 -c:v copy -c:a aac -b:a 160k -movflags +faststart -y output.mp4

Frequently asked questions

Are my files uploaded?

No. Your browser reads and converts the MPEG files itself.

Why does a MPEG file not play everywhere?

A MPEG file is a program stream that usually carries MPEG-1, MPEG-2 + MP2; it plays on desktop players, VLC; not browsers. A MP4 plays on everything.

Is there a size limit?

No fixed limit, but the browser holds the file about three times in memory while converting; the page warns above 300 MB and above 1 GB, where a desktop with plenty of RAM works best.

Report a problem