Convert APNG to AVI Online

Turn an APNG animation into an AVI video in seconds, with options for merge mode, frame duration, background color, resolution, and quality.

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 vs AVI — What Changes When an Animation Becomes Video

An APNG is an animated image: lossless, true colour, with a full alpha channel, which is why the files are heavy and why almost no video software will import one. AVI is a Microsoft RIFF container from the Video for Windows era that legacy players, older editing suites, and AVISynth or VirtualDub-style pipelines still open without complaint. Two things change on the way across, and both are worth knowing before you click Convert: transparency is filled with a solid colour, and the result has no audio track. Everything else is a straight trade of file size for compatibility.

Side-by-side Comparison

Property APNG (input) AVI (output)
Kind of file Animated image Video container built on RIFF
Specification Part of the PNG Specification (Third Edition), a W3C Recommendation of 24 June 2025 Microsoft's AVI RIFF file format, introduced with Video for Windows in the early 1990s
Structure acTL, fcTL, and fdAT chunks layered on a PNG RIFF ('AVI ') with mandatory hdrl and movi lists and an optional index
Compression Lossless, no codec choice Whichever codec you select — MPEG-4 by default here
Transparency Full alpha channel None; transparent pixels are filled with the Background Color
Audio Never — it is an image format Supported by the container, but this conversion produces a silent file
Timing An explicit delay stored per frame A frame rate declared in the stream header
Typical size Large, because nothing is discarded Far smaller with a lossy codec
Web playback About 96% of browsers, per caniuse Not a web format — no mainstream browser plays AVI in a page
Best for Lossless transparent animation on the web Legacy Windows software and older desktop editors

When Converting to AVI Is the Right Call

  • Something in your toolchain demands it — an older non-linear editor, a Windows-era player, a capture utility, or an AVISynth/VirtualDub script that only ingests AVI.
  • The APNG is too heavy to move around. Lossless animation gets expensive fast; a lossy video codec cuts it dramatically at normal viewing sizes.
  • You need a frame-accurate editing source. With MJPEG or HuffYUV selected, every frame is independently coded, which older editors scrub through far more happily than an inter-frame codec.
  • The artwork has no transparency anyway — a full-bleed animation on a solid background loses nothing in the move.

When to Pick a Different Target

  • For sharing, embedding, or modern devices, APNG to MP4 is smaller and vastly better supported than AVI; there is very little reason to hand someone an AVI today unless they asked for one.
  • For the web with an alpha channel, stay in an image format — APNG to WebP keeps transparency and true colour at a fraction of the size.
  • For a browser-native video, APNG to WebM plays inline where AVI cannot.
  • For maximum legacy compatibility as an image, APNG to GIF still opens anywhere, at the cost of a 256-colour palette and hard-edged transparency.

How to Convert APNG to AVI

  1. Upload Your APNG File: Drag and drop the .apng onto the page or click to browse — .png files are accepted here as well. Several files can be queued and converted with the same settings.
  2. Set the Background Color: This is the setting that matters most for transparent artwork. It fills every pixel the APNG left transparent, and also fills any letterbox bars when the output shape differs from the source. White is the default; switch it to black or a brand colour if white would look wrong behind your animation.
  3. Pick a Video Codec and Quality Preset: Video Codec defaults to MPEG-4 for AVI, with Xvid, DivX, H.264, H.265, MJPEG, HuffYUV, MS MPEG-4, and the WMV codecs also available. Quality Preset sits at Very High (Recommended); switch to Constant Quality or Constraint Quality when you want to pin quality directly with a CRF value, and use Video resolution to scale the frame — bitrate and file-size targeting modes don't appear for image sources, so a lower preset, a higher CRF, or a smaller frame is how you shrink the file.
  4. Convert and Download: Click Convert and save the .avi. The output has no audio track, because a source image has no sound to carry. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark.

Which AVI Codec Should You Pick?

Codec Why choose it What to watch for
MPEG-4 (default) The safe AVI choice — decoded by essentially every player and editor that handles AVI at all Less efficient than H.264, so larger files at matching quality
Xvid Same MPEG-4 Part 2 family, and the name many legacy players and set-top boxes expect No quality advantage over the default
DivX Pick when a DivX-certified device or an old fixed pipeline specifically asks for it Same generation of technology as Xvid
H.264 Much better compression; still widely decodable inside an AVI container The oldest AVI-only software may not decode it
H.265 The smallest files of the group Weakest legacy support, which undercuts the reason to use AVI
MJPEG Every frame is an independent JPEG — excellent for frame-accurate scrubbing in old editors Very large files
HuffYUV Lossless, for use as an editing intermediate Enormous files; not for distribution

Frequently Asked Questions

What happens to my APNG's transparency in the AVI?

It gets filled, not preserved. The video codecs available for AVI have no alpha channel, so every transparent pixel is painted with whatever the Background Color dropdown is set to — we ship this page with that dropdown on White, so an untouched run puts your animation on a white backdrop. If your artwork was drawn to sit on a dark page, change it to black before converting. The same colour also fills letterbox bars when the output frame shape differs from the source.

Will the AVI have an audio track?

No, and that is expected rather than a fault. An APNG is an image file with no sound in it, so there is nothing to carry across, and the AVI is written video-only. That is a legitimate form of the container — Microsoft's own AVI reference notes that a simple AVI sequence can use video data without requiring an audio stream. If you need music behind the animation, add it afterwards in a video editor.

What decides the playback speed of the AVI?

The animation's own timing. This page has no per-image duration control — that setting appears only for still-image sources, which carry no timing of their own — because an APNG already stores a delay for each of its frames. If you want to change the speed, re-time the animation first with the APNG re-export tool, which lets you set a uniform frame rate, and then convert the result to AVI.

Which codec should I actually pick?

Leave it on MPEG-4 unless you have a specific reason not to. It is the default for AVI here precisely because it is the codec that AVI-era software is most likely to decode, and choosing AVI at all usually means compatibility is the priority. Move to H.264 if you want a noticeably smaller file and control the playback software, to MJPEG if an old editor needs to scrub frame by frame, and to HuffYUV only if you need a lossless intermediate and have the disk space for it.

Why is my AVI so much smaller than the APNG?

Because the two formats work in opposite directions. APNG is lossless and stores every frame in full, so file size scales with resolution and frame count regardless of content. A lossy video codec discards detail the eye is unlikely to notice and encodes what stays similar between frames only once. For flat-colour animation with large static areas, the reduction is dramatic; for noisy or fast-moving footage it is more modest.

AVI or MP4 for an animation?

MP4, unless something specifically requires AVI. MP4 with H.264 is smaller at equal quality, plays in browsers and on phones, and is what every modern editor expects — see APNG to MP4. AVI earns its place only for legacy targets: an old Windows player, an editing suite from the Video for Windows lineage, or a script-based pipeline built around it. Microsoft itself now treats the DirectShow stack that AVI grew up with as a legacy API.

Can I get the transparency back by converting the AVI to APNG later?

No. Once the transparent areas are filled with the Background Color, that colour is baked into the pixels — converting back with AVI to APNG produces an animation with a solid background, not a restored alpha channel. It will also have been through a lossy re-encode. Keep the original APNG as your master and treat the AVI as a delivery copy.

How are my files handled, and how long do you keep them?

Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark, never shared or made public. APNG sources are usually the largest files in this workflow because they are lossless, so the practical constraint is upload size and time; the AVI coming back will normally be a fraction of what you sent.

Rate Convert APNG to AVI Online Tool

Rating: 0.0 / 5 - 1 reviews