Convert AVIF to MKV

Turn AVIF images into MKV. H.264 video in a Matroska file, at 50 frames per second unless video.fps says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An AVIF picture as an MKV video.H.264 video in a Matroska file, at 50 frames per second by default.

  1. What you get

    One MKV file that holds H.264 video. The video plays at 50 frames per second unless you change Frame rate (fps).

    Every frame keeps its own timing, and that includes the hold on the last frame. If the AVIF is animated, each frame stays on screen for as long as it did in the original.

  2. What changes

    Transparency is not kept. The video has no see-through areas.

    The video does not loop by itself. It plays through once and stops, so set looping in your player if you want it to repeat.

  3. Speed and frame rate

    Set Speed to play the video faster or slower. A value of 2 is twice as fast and 0.5 is half as fast. The range is 0.25 to 4, and voices keep their pitch.

    Set Frame rate (fps) from 1 to 120. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    To go the other way, use MKV to AVIF.

AVIF and MKV.What each format is, and the options this conversion takes.

  1. 01 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  2. 02 · 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 120 default 50

The formats

From · AVIF

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images
To · 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

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

terminal
$ cv convert photo.avif photo.mkv
$ cv convert photo.avif photo.mkv

Questions.What people ask about AVIF to MKV.

01OF 04

50 frames per second, unless you set Frame rate (fps). The range is 1 to 120.

No. The MKV does not keep transparency from the AVIF.

No. It does not loop by itself. Turn on looping in your player if you want it to repeat.

Yes. Set Speed between 0.25 and 4. A value of 2 plays twice as fast and 0.5 plays at half speed.

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