MPEG to Y4M Converter
FileFlip converts MPEG to Y4M entirely inside your browser, using FFmpeg compiled to WebAssembly. The file is never uploaded to a server: it is read off your disk, converted on your own machine, and saved back by the browser. That means no file-size limit, no queue and no account.
How do I convert an MPEG file to Y4M?#
- Drop your MPEG file onto the converter at the top of this page, or click it to pick one from your computer. You can add as many as you like.
- Leave the target set to Y4M and the conversion starts on its own. FileFlip downloads 30.8 MB of WebAssembly the first time and nothing after that, then runs FFmpeg on your own machine.
- Save the Y4M file. Your browser writes it straight to your downloads folder, because there was never a server holding it.
Does converting MPEG to Y4M lose quality?#
Y4M is a lossless format, so nothing further is lost here, but nothing is recovered either. Whatever the MPEG encoder already threw away is gone, and the Y4M file will usually be several times larger for exactly the same content.
Is it safe to convert MPEG files online?#
Yes, because nothing is uploaded. FileFlip converts MPEG files inside the browser tab you already have open, using WebAssembly builds of the same engines a desktop converter would install. Your file is read from your own disk into the page's memory, and no request carrying it is ever made.
You do not have to take that on trust. Open your browser's network panel, run a conversion, and you will see the engine come down and your file go nowhere. There is no upload, no server-side copy, no retention window, and no account tied to what you converted.
How FileFlip works lists every engine, its version and its download size, and shows how to check for yourself that nothing leaves your machine.
What MPEG to Y4M actually does to the file#
Converting MPEG to Y4M runs on FFmpeg, downloads 30.8 MB of WebAssembly the first time and nothing after that, writes a lossless file that cannot recover what the source already discarded, and drops encoded streams.
| Engine | FFmpeg |
|---|---|
| Conversion path | One step: MPEG → Y4M |
| Downloaded to your browser | 30.8 MB, once, then cached by your browser |
| Quality | Lossless output, but nothing is recovered |
| You get back | One file |
| Where it runs | In a background worker, so the page stays responsive |
What survives the conversion
| What is in the file | This conversion | Why |
|---|---|---|
| Encoded streams | Dropped | The target format has nowhere to put it. |
What is an MPEG file?#
.mpeg and .mpg name the same MPEG program stream under two spellings, a split that goes back to the three-character extension limit MS-DOS and early Windows imposed on file names.
Keep the .mpeg spelling when a workflow, script, or archive convention specifically expects the full four-letter extension; the video data behaves identically either way.
Convert MPEG to MP4 for the same reason an MPG needs converting: MPEG-2 is bulky, poorly supported by browsers, and increasingly undecodable on Windows without an extra codec.
What is a Y4M file?#
A Y4M file holds YUV4MPEG2 data, raw uncompressed video frames in planar YCbCr with a short plain-text header, the format codec developers feed into encoders like x264, x265 and vpxenc so nothing but the codec under test touches the pixels.
Use Y4M when testing or comparing video encoders, where the point is to remove every other codec from the pipeline so the one under test is the only variable.
Convert Y4M to a compressed format like MP4 for anything other than encoder testing, since the raw size makes it impractical to store or share.
MPEG to Y4M questions people ask#
What's the difference between .mpeg and .mpg?
None in the video data. Both extensions point to the same MPEG-1 or MPEG-2 program stream, so a .mpeg file and a .mpg file of the same source contain identical frames and audio, only the extension text differs.
Why does MPEG have two spellings of its extension?
MS-DOS and early Windows used the FAT filesystem's 8.3 naming rule, which capped every extension at three characters, so the four-letter '.mpeg' the standards committee used didn't fit. Software on those systems wrote '.mpg' instead, while Unix and early Macintosh systems, with no such limit, kept the full '.mpeg' spelling.
Why won't my MPEG file play?
The most common cause is Windows 10 or 11 missing the MPEG-2 decoder, which Microsoft stopped bundling and now sells separately as the MPEG-2 Video Extension. Installing it, or opening the file in VLC instead, fixes playback without touching the file itself.
Should I rename .mpeg to .mpg?
Renaming only changes the filename, not the bytes inside, so a renamed file opens exactly the same. .mpg is worth using where an older tool or upload form insists on three-letter extensions; otherwise either spelling works everywhere modern.