Skip to content

MKV to AVI converter

Choose an MKV and download an AVI with H.264 video and AAC sound. Every sound track and 5.1 sound carry over, subtitles and chapters don't, and for players that don't list H.264 in AVI files, like two Sony models, the Xvid command on this page makes the AVI instead.

Choose a file or drag it here
MP4, AVI, MOV, FLV, MKV, WebM, 3GP, MPEG, MPG, GIF, WMV, TS (up to 500 MB)
Input
MKV files
Výstup
AVI, H.264 and AAC
Limit
Up to 500 MB
Price
Free, no account

How to convert MKV to AVI

  1. 01

    Choose your MKV

    Drop it on the box. The limit is 500 MB.

  2. 02

    Check what changes

    The table under your file shows what the AVI keeps and what it drops.

  3. 03

    Download the AVI

    The link lasts one day.

What's inside the AVI?

H.264 video and AAC sound, re-encoded, not the Xvid and MP3 that some players need in an AVI.

Our 52-second Sintel MKV went from 14.6 MB to a 9.0 MB AVI, with an SSIM of 0.981, where 1 means identical. The rows below sum up five MKVs: that trailer and four we made with FFmpeg, among them one with two sound tracks, subtitles and chapters, and one with Big Buck Bunny's 5.1 AC-3 sound.

Video
H.264 or HEVCbecomes H.264, re-encoded
Sound
AAC, AC-3 or Vorbisbecomes AAC
Sound tracks
Twobecomes Two
5.1 sound
6 channelsbecomes 6 channels
Subtitles
Two tracksbecomes Dropped
Chapters
Twobecomes Dropped

Will the AVI play on my player?

Use the Xvid command.

For .avi files, Sony's manual for these car receivers lists Xvid with MP3, and WMV3 or WVC1. H.264 with AAC isn't on that list.

Source: Sony: XAV-AX3200 supported formats for USB playback

Convert on your computer

FFmpeg, Xvid and MP3 for the Sony XAV-AX3200 and AX3250

Keeps the first sound track as stereo MP3, fits the picture within 1280 × 720 and caps it at 30 fps, the receivers' limits. It sets no bitrate cap: our Sintel MKV came out at 2.0 Mbit/s video (14.5 MB) and a 1080p MKV at 2.4 Mbit/s, under Sony's 4 Mbit/s. Check yours against that limit.

ffmpeg -i in.mkv -map 0:v:0 -map 0:a:0 -vf "scale=w='min(1280,iw)':h='min(720,ih)':force_original_aspect_ratio=decrease:force_divisible_by=2" -fpsmax 30 -c:v libxvid -q:v 4 -vtag XVID -c:a libmp3lame -b:a 192k -ac 2 out.avi
FFmpeg, the same with the subtitles in the picture

Draws the MKV's first subtitle track into the video.

ffmpeg -i in.mkv -map 0:v:0 -map 0:a:0 -vf "subtitles=in.mkv,scale=w='min(1280,iw)':h='min(720,ih)':force_original_aspect_ratio=decrease:force_divisible_by=2" -fpsmax 30 -c:v libxvid -q:v 4 -vtag XVID -c:a libmp3lame -b:a 192k -ac 2 out.avi
FFmpeg, as this converter runs it

The command behind the table above.

ffmpeg -i in.mkv -map 0:v:0? -map 0:a? -codec:v libx264 -preset ultrafast -crf 28 -codec:a aac -b:a 128k -threads 0 out.avi

Related file conversions

Turn an idea into a video

Give Storybook a topic or an article link. It makes an illustrated video with narration and music.

Try Storybook
All 42 tools

MKV to AVI questions

All file converters

Search converters