Convert GIF to MKV
Turn GIF 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 GIF files on the dialor turn it to pick what to do
A GIF as H.264 video in MKV.Every frame keeps its timing, and the video plays at 50 frames per second by default.
What you get
One MKV file with H.264 video. It runs at 50 frames per second unless you change Frame rate (fps).
Every frame keeps its own timing, including the hold on the last frame. A GIF that pauses on its final picture pauses the same way in the video.
What changes
Transparency is not kept, so the video has no see-through areas. The video does not loop by itself, so it plays once unless your player repeats it.
Options
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.
Set Speed to play the video faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast.
When it fails
The conversion stops with
input_corruptedwhen the file could not be parsed. To go the other way, use MKV to GIF.
GIF 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
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - 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 GIF to MKV conversion through the API, for your app or your agent.
$ cv convert photo.gif photo.mkv$ cv convert photo.gif photo.mkvQuestions.What people ask about GIF to MKV.
50 frames per second. Set Frame rate (fps) to use another value from 1 to 120.
No. The video does not loop by itself, so it plays once unless your player repeats it.
No. Transparency is not kept in the MKV.
Yes. Set Speed to a value up to 4. A value of 2 plays it twice as fast.