Convert WEBM to APNG

Turn WEBM 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 WEBM files on the dialor turn it to pick what to do

A looping animation from your WebM video.Full color with no loss, at 10 frames per second. The sound is dropped.

  1. What you get

    One APNG file that loops. By default it runs at 10 frames per second and is at most 480 pixels wide. Every frame is kept in full color without loss.

    Because nothing is squeezed out of the frames, the file is often larger than a GIF would be.

  2. What it leaves behind

    The sound. An animated picture has no audio, so the Opus track in the WebM is dropped.

  3. Size and length

    Set Max width or Max height to shrink the frames. They keep their shape, and a video that is already smaller stays as it is, so nothing is enlarged. Max width is 480 by default.

    Set Frame rate to change how many frames per second are used. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    To use only part of the video, set Start at to cut seconds from the beginning, and Stop at to end at a second of the original. Stop at counts from the start of the original, so it must be later than Start at.

  4. When it fails

    If the file cannot be parsed, the conversion stops with input_corrupted. To go the other way, use APNG to WEBM.

WEBM 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 · WEBM

WebM Video

The open web video container, VP9 or AV1 video with Opus audio.

Extensions
.webm .weba
MIME type
video/webm
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 WEBM to APNG conversion through the API, for your app or your agent.

terminal
$ cv convert clip.webm clip.apng
$ cv convert clip.webm clip.apng

Questions.What people ask about WEBM to APNG.

01OF 04

No. The sound is dropped, because the output is an animated picture.

Every frame is kept in full color without loss. That takes more room than a GIF usually does.

Yes. Raise Frame rate, which defaults to 10. More frames per second look more natural, but the file grows.

Yes. Set Start at and Stop at, in seconds. Decimals such as 1.5 work for Start at.

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