Convert AVI to APNG

Turn AVI videos into APNG. A looping animated PNG at 10 frames per second and at most 480 pixels wide unless asked otherwise, every frame in full color without loss, so the file is often larger than a GIF.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop AVI files on the dialor turn it to pick what to do

A looping animation from your AVI video.Ten frames per second, up to 480 pixels wide, every frame in full color.

  1. What you get

    One APNG file that loops. It plays at 10 frames per second and is at most 480 pixels wide unless you change those settings. Every frame is kept in full color without loss.

    Because nothing is thrown away per frame, the file is often larger than a GIF would be.

  2. What it leaves behind

    The sound is dropped. APNG is an image format and the result is a silent animation.

    Max width (px) only shrinks. A video narrower than the limit keeps its size, so nothing is enlarged. The same holds for Max height (px).

  3. Size, length and motion

    Set Max width (px) or Max height (px) to change the size. The shape of the picture is kept.

    Set Start at (s) to cut seconds from the beginning. Decimals such as 1.5 work. Set Stop at (s) to end at a second of the original. It counts from the start of the original, so it must be later than Start at (s).

    Set Frame rate (fps) to change the number of frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

  4. Failures

    If the AVI cannot be parsed, the conversion stops with input_corrupted.

    To go the other way, use APNG to AVI.

AVI and APNG.What each format is, and the options this conversion takes.

  1. 01 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  2. 02 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000 default 480
  3. 03 · trim_end

    Stop at (s)

    Stops at this second of the original. It counts from the start of the original, not from where trimming starts, so it must be later than Start at.

    0 to 86400
  4. 04 · trim_start

    Start at (s)

    Cuts this many seconds from the beginning. Decimals such as 1.5 work.

    0 to 86400
  5. 05 · video.fps

    Frame rate (fps)

    Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    1 to 50 default 10

The formats

From · AVI

AVI Video

Microsoft's original video container. Old, large and still around.

Extensions
.avi .divx .xvid
MIME type
video/x-msvideo
Kind
Video
To · APNG

Animated PNG

Animated PNG, full-color animation with alpha.

Extensions
.apng
MIME type
image/apng
Kind
Images

In your code.The same AVI to APNG conversion through the API, for your app or your agent.

terminal
$ cv convert clip.avi clip.apng
$ cv convert clip.avi clip.apng

Questions.What people ask about AVI to APNG.

01OF 04

No. The sound is dropped, and the APNG is a silent animation.

Every frame is kept in full color without loss. That keeps more of each frame and often makes the file larger than a GIF.

Yes. Set Start at (s) to skip the beginning and Stop at (s) to end at a later second of the original.

The AVI file could not be parsed. The conversion stops with input_corrupted.

More conversions.Other ways in and out of AVI and APNG.