Convert APNG to MPG Online

Upload an APNG and convert it to MPG in seconds, with optional settings for duration, background color, codec, quality, and resolution.

Initializing... drag & drop files here

Supports: APNG, PNG

OptionsAdvanced Options - Our defaults are optimized for the best results. We recommend you keeping the defaults unless you have a specific need.
Show All Options
Background Color
Background Color
File Compression
Preset
Video resolution

APNG to MPG — Which MPEG Codec, and Is MPG the Right Target?

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.

Side-by-side: APNG vs MPG

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

MPEG-1 vs MPEG-2 Inside a .mpg File

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.

When MPG Is the Right Answer

  • A DVD-authoring or disc-menu tool that only ingests MPEG program streams.
  • Legacy editing or playout software that predates H.264 and refuses MP4.
  • A hardware player, kiosk, or industrial display whose manual lists .mpg.
  • An archive or delivery spec that names MPEG-2 explicitly.

When to Convert to MP4 Instead

  • You want to post the animation anywhere social, or embed it on a web page.
  • File size matters — H.264 will be several times smaller at matching quality.
  • The clip is going into a modern editor, a phone, or a browser.
  • You are not sure what the destination needs. MP4 is the safer default.

How to Convert APNG to MPG

  1. Upload Your APNG File: Drag and drop your .apng onto the page or use the upload button. Plain .png files are accepted too, and several files can be queued at once.
  2. Choose MPEG-1 or MPEG-2: Open the Video Codec dropdown and pick the codec your destination expects — MPEG-2 for DVD and anything above Video CD resolution, MPEG-1 for the oldest players.
  3. Set the Quality Preset and Background Color: Quality Preset under File Compression starts on "Very High (Recommended)"; step it down to shrink the file. Because MPEG video has no alpha, set Background Color (White by default) to whatever should show through your APNG's transparent pixels.
  4. Convert and Download: Click Convert and download the .mpg. No sign-up, no watermark. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours.

Frequently Asked Questions

Should I pick MPEG-1 or MPEG-2 for my .mpg?

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.

Is MPG really a better target than MP4 for an animated PNG?

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.

How much bigger is the MPG than an MP4 of the same animation?

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.

What happens to my APNG's transparent background?

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.

Can I burn the resulting MPG straight onto a DVD?

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.

Does the MPG keep my APNG's frame rate and timing?

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.

Will the MPG have an audio track?

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.

Will the MPG loop the way my APNG did?

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.

What is the difference between .mpg, .mpeg, and .m2v?

.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.

Rate Convert APNG to MPG Online Tool

Rating: 0.0 / 5 - 1 reviews