Convert MKV to APNG

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

A looping animation from your video.Every frame comes out in full color, at 10 frames per second by default.

  1. What you get

    One looping APNG made from the MKV. It plays at 10 frames per second and is at most 480 pixels wide unless you ask for something else.

    Every frame is kept in full color without loss. The file is often larger than a GIF would be.

  2. What it leaves behind

    The sound is dropped. The APNG holds the picture only.

    Anything wider than the width limit is shrunk and keeps its shape. A video that is already narrower stays as it is, so nothing is enlarged.

  3. Options

    Set Max width or Set Max height to change the size limit. Each one shrinks only what is larger than the value, and the shape is kept.

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

    Set Start at to cut seconds from the beginning. Decimals such as 1.5 work. Set Stop at to end at a 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.

  4. When it fails

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

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

Matroska Video

Matroska, an open container that holds any codec plus multiple audio and subtitle tracks.

Extensions
.mkv
MIME type
video/x-matroska
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 MKV to APNG conversion through the API, for your app or your agent.

terminal
$ cv convert clip.mkv clip.apng
$ cv convert clip.mkv clip.apng

Questions.What people ask about MKV to APNG.

01OF 04

No. The sound is dropped and only the picture is kept.

Every frame is kept in full color without loss, so the file is often larger than a GIF.

Yes. Set Start at to skip the beginning and Stop at to end at a second of the original. Stop at must be later than Start at.

10 frames per second unless you change it. Set Frame rate to a value from 1 to 50.

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