This page needs JavaScript. Command line option: ffmpeg -i in.mkv -c:v libx265 -b:v 1500k -pass 2 -c:a aac -b:a 96k out.mp4

Compress MKV (Keep Quality or Exact MB)

MKV packs video, audio, subtitles, and chapters together. Keep the container or convert to MP4/HEVC for smaller uploads-FitToMB handles both paths.

Need a quick preset? Jump to 25MB, 50MB, or 100MB guides, or use the all-in-one compressor.

Choose your MKV compression path

MKV can store multiple audio tracks, subtitles, and chapters. FitToMB lets you keep the container or convert to MP4/HEVC while hitting an exact size goal.

Quick MKV tips

Need export guidance? Start with the MP4 compression guide, and when sharing to communities read the AV1 for Discord guide for modern codecs.

Resolution & bitrate cheat sheet

Plan your encode before you hit start-these guardrails keep MKV quality high.

Clip length Resolution Suggested video bitrate Mode
< 5 minutes 1080p @ 30 fps 8-10 Mbps CRF 20 (H.264) or CRF 23 (HEVC)
5-12 minutes 1080p @ 24 fps 5-7 Mbps Target bitrate ~6 Mbps ≈ 50MB
12-20 minutes 720p @ 30 fps 3-4 Mbps Plenty for MKV tutorials with subtitles
> 20 minutes 720p @ 24 fps 2-3 Mbps Split chapters or switch to HEVC/AV1
CRF vs target bitrate: CRF adapts quality when size can float; switch to target bitrate for exact MB goals.
Need more context? Our 100MB guide and 50MB guide show real-world presets.
Publishing browser assets? The WebM workflow covers VP9/AV1 settings and exact-size presets.

FAQ

Is MKV or MP4 better for compression?

MKV is more flexible, but MP4 is the most compatible container. Use MKV when you need multiple audio or subtitle tracks; use MP4 when you need simple playback everywhere.

Will subtitles and audio tracks stay intact?

Yes-FitToMB retains soft subtitles and extra audio tracks when you keep MKV. If you convert to MP4, choose which tracks to include or burn subtitles into the video.

Do I lose quality when shrinking MKV?

Not if you pick a reasonable bitrate. Stick within the cheat sheet above, use two-pass encoding, and consider HEVC/AV1 for high-motion content.