Convert APNG to MKV
Turn APNG 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 APNG files on the dialor turn it to pick what to do
An APNG animation as an H.264 video.One MKV file at 50 frames per second, with each frame's timing kept.
What you get
A single MKV file with H.264 video. It plays at 50 frames per second unless you set Frame rate (fps) to another value.
Every frame keeps its own timing, and that includes the hold on the last frame. An animation that pauses at the end still pauses for the same time in the video.
What changes
Transparency is not kept. The video has no alpha channel, so the see-through parts of the animation do not stay see-through.
The video does not loop by itself. An APNG can repeat on its own, but the MKV plays once and stops unless your player is set to repeat it.
Options
Set Speed to play the video faster or slower. A value of 2 is twice as fast and 0.5 is half as fast, with a range of 0.25 to 4.
Set Frame rate (fps) to a value 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.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted. The APNG itself cannot be read, so no video is made.To go the other way, use MKV to APNG.
APNG and MKV.What each format is, and the options this conversion takes.
- 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 - 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
Animated PNG
Animated PNG, full-color animation with alpha.
- Extensions
- .apng
- MIME type
- image
/apng - Kind
- Images
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 APNG to MKV conversion through the API, for your app or your agent.
$ cv convert photo.apng photo.mkv$ cv convert photo.apng photo.mkvQuestions.What people ask about APNG to MKV.
No. Transparency is not kept in the video.
No. The video does not loop by itself. It plays once unless your player repeats it.
It uses 50 frames per second by default. Set Frame rate (fps) to any value from 1 to 120 to change it.
Yes. Set Speed above 1 to play faster, up to 4. Set it below 1 to slow it down, down to 0.25.