Initializing... drag & drop files here
Supports: APNG, PNG
Two questions bring people to this page. The first is whether an .mpg is even what they want, and the honest answer is: only if something downstream demands the MPEG program stream — DVD-authoring software, a broadcast or editing tool from the pre-H.264 era, or a set-top player that refuses modern containers. For anything else, APNG to MP4 gives a far smaller file at the same visual quality. The second question is MPEG-1 or MPEG-2, and this page answers both, then walks you through the conversion. Either way, MPEG video has no alpha channel, so your APNG's transparency is composited onto a solid Background Color first.
| Property | APNG (input) | MPG (output) |
|---|---|---|
| Standard | PNG Specification, Third Edition (W3C Recommendation, 24 June 2025) | MPEG program stream — ISO/IEC 11172 (1993) or ISO/IEC 13818 (1996) |
| Kind of thing | Animated raster image | Video container plus an MPEG elementary stream |
| Compression | Lossless | Lossy, DCT-based |
| Alpha transparency | Full 8-bit alpha | None — flattened onto the Background Color |
| Frame timing | Per-frame delays stored in the file | Carried over from those delays |
| Audio | Not supported by the format | Silent — an APNG has no audio to bring |
| Built-in loop flag | Yes | No |
| Typical size for the same clip | Large when detailed, small when flat | Several times an equivalent H.264 MP4 |
| Plays in | Chrome 59+, Firefox 3+, Safari 8+, Edge 79+ (95.9% of users) | VLC, MPC, legacy desktop players, DVD-authoring tools |
The Video Codec dropdown on this page offers exactly two entries, because those are the two codecs the MPEG program stream carries.
| MPEG-1 | MPEG-2 | |
|---|---|---|
| Standard | ISO/IEC 11172 (1993) | ISO/IEC 13818-2, also ITU-T H.262 (1996) |
| Designed around | ~1.5 Mbit/s, Video CD | Higher bitrates, interlace, broadcast and disc |
| Best known from | Video CD, early PC video | DVD-Video, ATSC/DVB digital television |
| Interlaced video | Not supported | Supported |
| Decoder availability | Essentially anything that reads .mpg |
Anything from the DVD era onward |
| Efficiency | Lower | Modestly better at the same bitrate |
| Choose it for | Maximum compatibility with very old players | DVD workflows and anything above VCD resolution |
For a modern 1080p animation, MPEG-2 is the sensible pick. MPEG-1 is worth choosing only when the target device is genuinely ancient or you are recreating a Video CD.
.mpg..apng onto the page or use the upload button. Plain .png files are accepted too, and several files can be queued at once..mpg. No sign-up, no watermark. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours.MPEG-2 unless you have a specific reason not to. It handles higher resolutions and bitrates properly, it is what DVD-Video and ATSC/DVB broadcast use, and every player that reads .mpg files today decodes it. MPEG-1 (ISO/IEC 11172, 1993) was designed around a roughly 1.5 Mbit/s Video CD budget and will look noticeably worse on a 1080p animation at any sane file size. Pick it only for genuinely old hardware or a Video CD recreation.
Almost never, on technical merit. MPEG-2 is a 1996 codec and H.264 is far more efficient, so the same animation at the same visual quality lands several times larger as an .mpg. MPG earns its place purely on compatibility: DVD authoring, legacy editing suites, and hardware that was built before MP4 existed. If nothing in your chain names MPEG explicitly, convert to MP4 instead.
Enough to notice. Running both encodes locally on the same 3-second, 25 fps, 1920×1080 source — MPEG-2 at qscale 4 versus x264 at CRF 18, the quality level this page's default preset uses — a flat-graphic APNG produced an 862 KB .mpg against a 154 KB MP4, and a detailed, photographic APNG produced 1.9 MB against 814 KB. Roughly two to five times larger, depending on how busy the frames are.
MPEG video has no alpha channel, so the transparency cannot be carried across. Each frame is composited onto a single solid colour before encoding — whatever the Background Color dropdown is set to, white unless you change it — so soft, semi-transparent edges blend into that colour instead of turning into a hard fringe. Choose the colour that matches wherever the clip will actually be shown.
Not necessarily as-is. DVD-Video is a constrained profile of MPEG-2: fixed frame sizes (720×480 or 720×576), specific frame rates, bitrate ceilings, and a VOB program-stream layout with its own navigation data. What you get here is a general-purpose MPEG program stream. Most DVD-authoring applications will happily accept it and re-encode to disc-compliant parameters for you — which is exactly the workflow this format is still useful for.
Yes. An animated APNG is read as a video-like source rather than a single still, so the per-frame delays stored in the file set the output's frame rate and duration. That is why this page has no "hold each image for N seconds" control — that only appears for still-image sources, which carry no timing of their own.
No. APNG cannot store sound, so the output is silent. In a normal MPEG program stream the audio would typically be MPEG Layer II (MP2), the codec broadcast and disc workflows expect, but with no source audio there is nothing to encode. Add a soundtrack afterwards in your editor or authoring tool if the clip needs one.
No. APNG stores a play count inside the file; the MPEG program stream has no equivalent flag, so playback stops at the end unless the player or authoring project is set to repeat. If continuous looping is the point, an MP4 in a <video loop> tag — or simply keeping the APNG — is a much easier route than MPG.
.mpg and .mpeg are the same thing: an MPEG program stream that multiplexes video (and normally audio) into one file. .m2v is a bare MPEG-2 elementary video stream with no container and no audio muxing at all — some authoring tools want that instead. If a tool asks for "MPEG-2 program stream" or "DVD-compatible MPEG", the .mpg produced here is the right shape.