Best Settings for Direct MKV Converter to Preserve Quality
1. Choose the right output container
- Keep MKV when you need rich features (multiple audio/subtitle tracks, chapter markers, variable codecs).
- Use MP4 for widest device compatibility but note MP4 may not support some subtitle or audio formats as flexibly.
2. Preserve the original video codec when possible
- Copy/Pass-through video (no re-encoding) — best for identical quality and fastest processing. Use when target device/container supports the source codec (e.g., H.264 in MKV → MP4 that supports H.264).
- If re-encoding is required, choose H.264 (libx264) or H.265 (HEVC, libx265):
- H.264: best compatibility.
- H.265: better compression at same quality (slower, needs compatible playback).
3. Encoder settings for re-encoding
- Rate control: Use CRF (Constant Rate Factor) for consistent visual quality.
- For H.264: CRF 18–23 (18 = visually lossless, 23 = good balance). Default ~23; choose lower for higher quality.
- For H.265: CRF 20–25 (lower = higher quality).
- Preset: Select slower presets for better compression at same quality (e.g., “slow” or “veryslow”). Use “medium” for faster speeds.
- Profile & Level: Use High profile for H.264 and match the level to target devices (e.g., 4.0 or 4.1 for many modern players).
- Tune: Use “film” or leave default; avoid “animation” unless source is animated.
4. Maintain original resolution & frame rate
- Do not upscale. Keep source resolution for best quality.
- Match frame rate (e.g., 24, 25, 30 fps). Avoid converting frame rate unless necessary; use frame interpolation only if required.
5. Audio settings
- Copy audio when compatible (preserves quality).
- If re-encoding audio:
- Prefer AAC for MP4 (bitrate 192–320 kbps for stereo).
- For multichannel or higher fidelity, use AC-3 or FLAC (lossless) in MKV.
- Sample rate: Keep original (usually 44.1 kHz or 48 kHz). Avoid resampling.
6. Subtitles, chapters, and attachments
- Copy subtitle tracks (SRT, PGS, ASS) into the output container when supported.
- For MP4, convert advanced subtitle formats (ASS/SSA/PGS) to SRT or burn them in if playback requires.
- Preserve chapters if needed.
7. Batch conversion settings
- Use consistent settings across files for uniform results.
- If sources vary widely, prefer per-file presets that match each source’s codec/resolution to minimize re-encoding.
8. Quality vs. file size trade-offs (quick presets)
- Maximum quality: Copy video/audio where possible; otherwise H.265 CRF 18, preset slow; keep original audio or FLAC.
- Balanced: H.264 CRF 20–23, preset medium/slow; AAC 192–256 kbps.
- Smaller files: H.265 CRF 24–28, preset medium; AAC 128–160 kbps.
9. Final checks and verification
- Inspect output visually at several scenes (fast motion, dark scenes, high detail).
- Verify audio sync, subtitle display, and chapter integrity.
- Use sample playback on target device(s) before batch-processing all files.
10. Example recommended settings (practical)
- Container: MKV (preserve features) or MP4 (compatibility)
- Video: libx264, CRF 20, preset slow, profile high, level 4.1, tune film
- Audio: Copy if possible; otherwise AAC 256 kbps, 48 kHz, stereo
- Subtitles: Copy (or convert ASS→SRT for MP4)
- Preserve resolution and frame rate
Follow these settings to minimize quality loss while keeping file sizes reasonable and ensuring compatibility with playback devices.