Home > Video > Convert Video > Convert AVI to MKV

Posted by Kaley Torres - Contact Author

How to Convert AVI (Xvid/DivX) to MKV (H.264/HEVC)

I have around 100 AVI files that I would like to put in a MKV container. I have played with MKVToolNix but I always end up with one big file all titles being appended rather than as separate files. Is there a simple straightforward method to batch convert AVI to MKV?

Yes, there is. In this article, we will introduce the best way to convert AVI to MKV in batch if you have multiple videos to process.

Free Download the Best AVI to MKV Converter - WinX HD Video Converter Deluxe

This program can change the container format from AVI to MKV and the encoding video codec format from Xvid/DivX to H.264 or HEVC.
High quality output: this tool allows you to enable High Quality Engine, adjust quality level, and tweak video audio parameters to export a high-quality file.
Fast conversion speed: supporting Intel QSV, NVIDIA CUDA/NVENC, and AMD powered hardware acceleration, Video Audio Passthrough (Auto Copy), Hyper-threading and AMD 3DNow! Tech, it can realize 47-x real time fast speed.
Small file size: it can compress large AVI file to small MKV file. You can use a high efficiency codec, downscale resolution, or edit video to resize video.

Apart from AVI to MKV, WinX HD Video Converter Deluxe can also convert MKV to AVI and convert video formats among MP4, MOV, WMV, FLV, MTS, AVCHD, MPEG4, AVC, HEVC (H.265), and more. Besides working as a video converter, it is also a video editor, a video downloader, a photo slideshow creator, and a recorder (this feature is only available on Mac version).

How to Fast Convert AVI to MKV without Quality Loss?

Step 1. Import AVI video file into WinX HD Video Converter Deluxe.

Open this video converter and you should see a +Video button at the top left corner of the main interface. Click it and then browse and open the AVI file you need to convert to MKV. If you want to batch convert AVI to MKV, import all AVI files now.

convert AVI to MKV
Convert AVI to MKV on Windows

Step 2. Choose MKV as the output format.

When source files are loaded, you will see Output Profile window. Now scroll down to PC General Video and find Matroska Video and HEVC Video. Matroska Video profile uses H.264 as the encoding format, while HEVC Video profile uses HEVC (H.265). You can compare the differences between H.264 and HEVC and choose a profile based on your own needs.

Right beside the profile, there is a slider which is available to set quality level. Move the slider towards left to specify low quality and move the slider to right side to choose high quality. Once done, hit OK. There is another option for you to improve output quality - High Quality Engine which is located under the preview window of the main UI.

Step 3. Start converting AVI file to MKV.

Hardware Accelerator (Intel, NVIDIA, and AMD) is enabled by default to boost video conversion speed. When you have done all settings, hit RUN button. Then this converter will begin decoding AVI and encoding it to MKV as you expect.

FAQs about AVI to MKV

1. How to convert AVI to MKV on Mac?

You need to download WinX HD Video Converter for Mac. This is compatible with Mac OS X 10.6 and later. The process of converting on Mac is similar to that of Windows version: import AVI video -> choose MKV preset -> hit RUN to output the resulting file.

2. How to convert AVI to MKV with VLC?

Launch VLC, click Media and choose Convert / Save.
Click + Add to load source AVI file.
At Profile, click the wrench icon and choose MKV under Encapsulation tab.
Click Browse to set destination folder and file name.
Hit Start to begin conversion.

3. How to convert AVI to MKV with HandBrake?

Open HandBrake. Under Source Selection, click File to load target AVI file.
Go to Preset, click Matroska, and you will find many MKV presets with different codecs (VP8, VP9, H.264, and H.265) and resolutions (480P, 576P, 720P, 1080P, and 2160P).
Click Browse to choose save path and specify file name.
Hit Start Encode to begin changing file format from AVI to MKV.

4. How to convert AVI to MKV online?

First of all, you need to choose an online video converter. There are many choices for you. Almost all converters work in a similar way: upload AVI file -> choose MKV output -> convert AVI to MKV -> download MKV.

There're always maximum file size limitations, usually 50MB, for source file.
It requires internet connection for file uploading, converting, and downloading. It takes longer time than desktop software.
Batch conversion is often not allowed.
Online video converters always have ads on their pages.

Click the links below to learn more about AVI and MKV:
What Is AVI - Audio Video Interleave - Video Format
What is MKV? How to Play or Convert MKV Video on Computer?


author - Kaley Torres

Kaley Torres twitter icon

Kaley Torres is particularly skilled in writing and sharing video-related contents. Her guides cover from deep-seated video/audio parameters, to media entertainment on different platforms. She also enjoys shooting and processing videos by herself for a more reliable basis of informative info with her articles.

Home > Video > Convert Video > Convert AVI to MKV


Stay up-to-date with our news, updates, guides.