The Complete Reference β€” 2025 Edition

Codec Field Guide for
DVD & Blu-ray Rips

Every video and audio codec used for ripping optical media β€” from the DivX days to AV1 and beyond. Timeline, status, compatibility, and what to use when.

What to Use β€” Decision Guide

Concrete recommendations per scenario. Video codec, audio codec, and tips.

πŸ’Ώ
DVD β€” Max Compatibility
Play anywhere: TV, phone, tablet, browser, Plex, USB stick
Video Codec
H.264 (x264)
CRF 18–20, Slow preset. ~1–2 GB per movie. Plays on everything.
Audio Codec
AC-3 448 kbps
Passthrough if source is AC-3. Otherwise transcode from PCM/DTS. DVD spec caps AC-3 at 448 kbps.
Container
MP4 or MKV
MP4 for maximum device compatibility. Use MKV if you need multiple audio tracks or optional subtitles.
Video Settings
  • Preset: Slow β€” best balance of quality and encoding time. Produces 10–20% smaller files than Medium at same CRF.
  • Tune: Film (default for live-action) Β· Animation (for 2D cartoons) Β· Grain (only for very grainy sources β€” significantly increases file size, avoid for already-compressed DVDs).
  • Profile: High Profile, Level 4.1 β€” supported by all modern devices (smart TVs, streaming boxes, game consoles). Use Main Profile only for pre-2010 mobile devices.
  • CRF: 19–20 is the sweet spot. CRF 19 for premium content, CRF 20 for general use. CRF 18 provides no benefit since DVDs are already compressed.
Audio Settings
  • Mixdown: AC-3 5.1 passthrough when source has surround. Preserves original audio without re-encoding.
  • Bitrate: 448 kbps (DVD spec standard). 640 kbps is acceptable but 448 kbps is safest for compatibility.
  • Dual-track approach: Track 1: AC-3 5.1 passthrough (448 kbps) for home theater Β· Track 2: AAC Stereo (160–192 kbps) for portable devices without surround.
  • Compatibility note: AC-3 is universally supported. Avoid DTS β€” not supported by all devices (especially TV built-in players).
⚠ Deinterlacing β€” Critical for DVD Rips

Most DVDs are interlaced (480i/576i). Skipping deinterlacing produces visible combing artifacts. Here's the decision tree for HandBrake:

  • Film-based DVDs (movies, scripted TV): Enable Detelecine β†’ Default, set output to 23.976 CFR. This reverses 3:2 pulldown on 24fps film content. Add Decomb β†’ Default as safety net for residual combing. Covers 80%+ of commercial NTSC DVDs.
  • True interlaced (sports, reality, concerts, news): Use Deinterlace β†’ Yadif + Bob, set output to 59.94 CFR (NTSC) or 50 CFR (PAL). Bob promotes each field to a full frame β€” preserves motion smoothness. EEDI2 Bob is higher quality but 2–3x slower.
  • PAL film DVDs (24fps on 25fps): Usually just sped up 4%, not truly interlaced. Leave deinterlace Off, use Same as Source framerate.
  • Anime on DVD: Use Yadif over Bwdif β€” Bwdif's interpolation damages sharp line art. Avoid Decomb unless genuinely mixed content; its auto-detection misfires on fine patterns (crosshatch shading, striped clothing).

Rule of thumb: If you know the source is interlaced, manually select a deinterlace filter β€” don't rely on auto-detection. If you know it's progressive, leave everything off. Keep Interlace Detection β†’ Off β€” auto-detection creates more problems than it solves. Use MediaInfo to check your source before encoding.

πŸ“€
Blu-ray 1080p β€” Quality/Size Balance
Good quality, reasonable file size for a media server
Video Codec
H.265 (x265)
CRF 20–22, Slow preset, 10-bit. ~4–8 GB per movie. ~40% smaller than x264.
Audio Codec
AC-3 640 kbps
Transcode from lossless source. Or keep E-AC-3 for streaming device targets.
Container
MKV
Supports multiple audio tracks, subtitle streams, and chapter markers. Use MP4 if single-track simplicity matters more.
Video Settings
  • Preset: Slow β€” optimal balance between quality and encoding time. Slower/VerySlow provide <1% quality improvement while more than doubling encode time.
  • Tune: None (default) β€” standard Blu-ray content doesn't typically need tuning.
  • Profile: Main10 (for 10-bit encoding) β€” better compression efficiency and reduces color banding vs 8-bit.
  • Level: 4.1 (most compatible for 1080p) or 5.0 (for newer devices). Use 4.1 for maximum playback device compatibility.
  • CRF: 22 recommended (excellent quality with best compression) Β· 20 for highest quality (virtually transparent to source, larger files). Files will be ~30–50% of original Blu-ray size at CRF 22.
  • 10-bit encoding: Always use 10-bit (Main10 profile) β€” better compression, reduced banding, supported by all modern devices. Slightly more CPU for decoding but universally supported.
Audio Settings
  • Mixdown: 5.1 surround when transcoding from TrueHD/DTS-HD MA. Preserve channels from source.
  • AC-3 bitrate: 640 kbps (maximum for AC-3 5.1, provides best quality). 448 kbps also acceptable and more DVD-compliant. 384 kbps minimum for AC-3 5.1.
  • E-AC-3 alternative: 768–960 kbps (better quality and compression than AC-3, supports up to 7.1). Use if playback devices support it. HandBrake excels at TrueHD/DTS-HD MA to E-AC-3 transcoding.
  • Transcoding from lossless: Best practice is AC-3 640 kbps for maximum compatibility. If Blu-ray already has AC-3 core, use passthrough to avoid re-encoding.
  • Dual-track approach: Keep original lossless passthrough + add AC-3 640 kbps transcode for compatibility.
🌸
Anime (Blu-ray / DVD)
Flat color, sharp line art, banding-prone β€” requires special attention
Video Codec
H.265 (x265) 10-bit
CRF 15–18 for BD, 18–20 for DVD. 10-bit is mandatory β€” eliminates gradient banding. Slow or Slower preset.
Audio Codec
FLAC or AAC/Opus
FLAC for lossless BD audio. AAC 192–256 kbps or Opus 128–192 kbps for stereo JP + commentary.
Alt: Minimum Size
AV1 (SVT-AV1)
CRF 28–32, Preset 4–6, 10-bit. AV1 excels on flat color β€” 30–40% smaller than HEVC. Slow encode.
Container
MKV
Required for ASS/SSA subtitle rendering, multiple audio tracks (JP + EN + commentary), and chapter markers.
Video Settings β€” x265 (HEVC)
  • Preset: Slow or Slower for archival quality. Slow recommended for final BD compression. VerySlow offers marginal gains with significantly longer encoding times. Medium acceptable for quick encodes.
  • Tune: Leave unset. DO NOT use --tune animation (optimized for cartoons, complex anime will suffer) or --tune grain (values too high for anime). Manually configure psycho-visual parameters instead.
  • Profile: Main10, Level 5.1 (mandatory for 10-bit encoding). Ultra HD Blu-ray spec recommends Level 5.1 with max 6 ref frames.
  • CRF: BD: 16–18 recommended (below 16 for reference quality) Β· DVD: 18–20. Anime compresses very efficiently due to flat colors, so lower CRF yields smaller files than live action.
  • 10-bit encoding: Mandatory. Use --output-depth 10 or yuv420p10le. Prevents banding, improves gradients, produces better dark scenes and smaller file sizes.
  • SAO (Sample Adaptive Offset): Controversial. Use --limit-sao for CRF 17–19 Β· Use --no-sao for CRF <18 or if fine grain is present. For CRF <16 with grain: --no-sao:--no-strong-intra-smoothing.
  • Psycho-visual settings: --psy-rd=1 (default for low-detail anime) Β· --psy-rd=1.5 (for grain/snow/particles or detailed dark scenes) Β· --psy-rd=2 (for complex/action-packed anime) Β· --psy-rdoq=1 (default for clean anime) Β· --psy-rdoq=2-3 (for grain or CRT effects) Β· --psy-rdoq=4-5 (for grain throughout, movie-quality with complex grain).
  • Adaptive quantization: --aq-mode=3 (mandatory for anime β€” sets dark scene bias, prevents blocky black hair) Β· --aq-strength=0.7-1.0 (don't exceed 1 or go below 0.7).
  • B-frames and ref: --bframes=8-16 (use 16 with b-adapt=1 for best quality) Β· --ref=6 (recommended by Ultra HD Blu-ray spec).
  • Deblocking: --deblock=1:1 or --deblock=2:2 (strength of 1 or 2 is a must for anime) Β· For detailed anime with grain: --deblock=-1:-1.
Video Settings β€” AV1 Alternative (SVT-AV1)
  • Preset: 4–6 recommended. Preset 5 is balanced starting point. Preset 4 for slower encoding/better quality, Preset 6 for faster encoding.
  • CRF: 28–32 general range. CRF 30 recommended for 1080p starting point. Note: AV1 CRF values are higher than x265 for equivalent quality (SVT-AV1 CRF 30 β‰ˆ x265 CRF 21).
  • 10-bit encoding: Recommended. Use --bit-depth 10 or yuv420p10le. Produces better dark/black scenes and smaller file sizes.
  • Film grain synthesis: --film-grain=4 (recommended for most anime β€” hand-drawn or smoother sources) Β· --film-grain=6 (moderate grain) Β· --film-grain=8 (heavy grain). Values above 8 typically too high for anime. --film-grain-denoise=0 to preserve original grain structure.
  • Temporal filtering: --enable-tf=0 (disable to preserve line art sharpness β€” increases file size slightly but maintains detail).
  • Tune: --tune=0 (subjective visual quality with higher sharpness, recommended for anime).
  • Compatibility warning: Many devices with AV1 decode don't support film grain synthesis (FGS) or have buggy implementations. Not safe "always on" feature β€” test on target playback devices first.
Audio Settings
  • FLAC (lossless): NOT recommended for distribution β€” only use in production to prevent generation loss. Allocates extra 4GB+ towards video quality. Use AAC/Opus instead β€” 99.9% of people won't notice audio quality loss. Exception: archival purposes where exact BD audio preservation matters.
  • AAC for Japanese/commentary: 128 kbps (streaming service standard) Β· 192 kbps (good balance for most anime dialogue) Β· 256 kbps (premium quality for music-heavy anime, concerts) Β· 320 kbps (ultra HD, matches exceptional visual experience). Use FDK AAC encoder (built into FFmpeg/HandBrake).
  • Opus as alternative: 128 kbps VBR (sufficient for most anime dialogue) Β· 160–192 kbps (high-quality music encoding). Better perceptual quality than AAC at bitrates below 128 kbps. Open codec, royalty-free. Use max encoding complexity for best quality.
  • Multi-track handling (JP + EN + commentary): Track 1: Japanese (primary) β€” 192–256 kbps AAC or 128–192 kbps Opus Β· Track 2: English dub (if available) β€” 192–256 kbps AAC or 128–192 kbps Opus Β· Track 3+: Commentary tracks β€” 128–192 kbps AAC (lower priority, dialogue-only). Transcode from Linear PCM, Dolby TrueHD 5.1, or DTS-HD MA sources. Downmix stereo tracks to 2.0 if needed.
Anime-Specific Encoding Notes

10-bit is non-negotiable. Anime's large flat-color gradients (skies, hair shading, lighting) produce visible banding in 8-bit. 10-bit virtually eliminates this even at the same CRF. Both x265 and SVT-AV1 support it natively.

Disable SAO in x265 with --no-sao. SAO is a loop filter that blurs fine detail β€” devastating for sharp line art. The single most impactful x265 setting for anime. In HandBrake, add no-sao=1 to "Extra Options" in the Video tab.

Lower CRF than live action. Anime compresses very efficiently (flat colors = high compressibility), so a given CRF yields smaller files than equivalent live action. CRF 15–18 gives transparent quality at ~2–4 GB per 1080p movie.

AV1 grain synthesis: For grainy anime (Texhnolyze, Berserk, older transfers) with SVT-AV1, use --film-grain 6-12. The encoder strips grain, stores parameters as metadata, and the decoder re-synthesizes it β€” massive bitrate savings with negligible visual difference.

Subtitles: Always keep as soft subs in MKV (ASS/SSA for fansubs, PGS for official BD subs). Never hardcode β€” destroys ability to switch/disable. Many anime typesetting effects (karaoke, signs) depend on ASS rendering.

🎬
4K UHD Blu-ray β€” Quality Priority
HDR preserved, Atmos preserved, near-transparent quality
Video Codec
H.265 (x265) 10-bit
CRF 18–20, Slow preset, HDR10/DV preserved. ~15–30 GB per movie.
Audio Codec
TrueHD Atmos (passthrough)
Keep lossless track intact. Atmos metadata preserved. Include separate AC-3 640 track as fallback for devices that can't decode TrueHD.
Container
MKV
Only container that reliably handles TrueHD + Atmos + HDR metadata + multiple subtitle tracks.
Video Settings
  • Preset: Slow (excellent balance for 4K HDR) Β· Slower offers marginal improvements at significantly increased encoding time. Testing shows CRF increase of 2 achieves parity between presets (e.g., CRF 18 medium β‰ˆ CRF 20 slow).
  • Tune: Leave unset β€” generally not needed for quality-focused Blu-ray rips.
  • Profile: Main10, Level 5.1 (required for 10-bit HDR content, supports 4K up to 60fps). Level 5.2 for higher frame rates or 8K (though 5.1 sufficient for most 4K UHD).
  • CRF: 18–20 recommended. CRF 20 with Slow preset provides amazing quality. CRF 18 for maximum quality if you have powerful hardware and storage. Lower than typical recommendations because HDR/10-bit content benefits from lower CRF values.
  • HDR10 preservation (essential x265 parameters): --hdr-opt 1 (enables HDR optimization) Β· --repeat-headers 1 (headers on every frame, required for HDR) Β· --colorprim bt2020 (BT.2020 wide color gamut) Β· --transfer smpte2084 (SMPTE ST 2084 PQ/Perceptual Quantizer for HDR10) Β· --colormatrix bt2020nc (BT.2020 non-constant luminance) Β· --master-display "G(x,y)B(x,y)R(x,y)WP(x,y)L(max,min)" (extract from source MediaInfo) Β· --max-cll "max,avg" (extract from source MediaInfo).
  • Dolby Vision preservation: x265 can encode to profiles 5, 8.1, and 8.2. Use dovi_tool to extract RPU metadata from source (Profile 7), convert to Profile 8.1 (single-layer with HDR10 backwards compatibility), inject RPU data back into x265 encoded video. Enhancement layer is discarded when converting DV Profile 7 to 8.1.
Audio Settings
  • TrueHD Atmos passthrough: Always copy losslessly with --audio-copy-mask truehd. TrueHD Atmos from UHD Blu-rays should be passed through without re-encoding. All Blu-rays with TrueHD include a separate AC-3 failsafe track (not embedded as a core like DTS-HD MA).
  • AC-3 640 kbps fallback track (essential): Many devices cannot decode TrueHD/Atmos. Extract the AC-3 640 kbps track that comes with TrueHD on Blu-rays. If not present on disc, encode separate AC-3 track. The AC-3 stream is completely separate from TrueHD (unlike DTS-HD MA which has embedded lossy core).
  • DTS-HD MA alternatives: Contains lossy DTS core + lossless extension data. Pass through losslessly with --audio-copy-mask dtshd. For fallback compatibility, extract DTS core (typically 1536 kbps) or encode separate AC-3 640 kbps track.
  • Multi-track configuration: Track 1: TrueHD Atmos (lossless, passthrough) β€” primary audio Β· Track 2: AC-3 640 kbps 5.1 (fallback) β€” set as default for maximum compatibility Β· Track 3+: Additional language tracks as needed. For DTS-HD MA sources: Track 1: DTS-HD MA (lossless, passthrough) Β· Track 2: DTS Core extracted OR AC-3 640 kbps 5.1.
  • Compatibility notes: Apple TV 4K does NOT support TrueHD/Atmos passthrough or DTS-HD MA (only Dolby Digital Plus with Atmos). Many AMD graphics cards cannot pass TrueHD/DTS-HD MA via HDMI on Linux. Always include AC-3 fallback for streaming devices, game consoles, and mobile devices.
πŸ“¦
4K β€” Minimum File Size
Aggressive compression, storage-constrained
Video Codec
AV1 (SVT-AV1)
CRF 28–32, Preset 4–6, 10-bit. ~6–12 GB per 4K movie. 30–44% smaller than HEVC.
Audio Codec
Opus 256–384 kbps
Best quality-per-bit in software player workflows. Use E-AC-3 instead if targeting hardware devices.
Container
MKV
Required for Opus audio and multi-track setups. MP4 supports AV1 video but not Opus audio.
Video Settings
  • Preset: 4–6 optimal range. Preset 6 recommended starting point (good quality/speed balance). Preset 4 for higher quality at cost of longer encoding. Faster presets (8+) may need CRF lowered by 2–4 points.
  • CRF: 28–32 for aggressive compression. CRF 30 good starting point (roughly equivalent to x265 CRF 21). CRF 32 more aggressive while maintaining acceptable quality. Can go up to CRF 35–40 for 4K maximum compression (quality degradation more noticeable). Note: SVT-AV1 CRF range (1–63) is wider than other encoders.
  • 10-bit encoding: Strongly recommended. Use -pix_fmt yuv420p10le. More accurate colors, fewer artifacts, minimal file size increase vs 8-bit. Always desirable for coding efficiency even if source is 8-bit.
  • Film grain synthesis: Use with caution. film-grain=8 (live-action with normal grain, good starting point) Β· film-grain=10-15 (lots of natural grain) Β· film-grain=4-6 (2D animation). Compatibility warning: many devices with AV1 decode don't support FGS or have buggy implementations β€” not safe "always on" feature. Test on target playback devices first.
  • HDR support: enable-hdr=1 Β· color-primaries=9:transfer-characteristics=16:matrix-coefficients=9 (ITU-R BT.2020, PQ transfer, non-constant luminance Y'CbCr) Β· Extract mastering-display and content-light from source MediaInfo. Consider SVT-AV1-HDR fork for improved perceptual quality in HDR with custom PQ curve.
  • Other parameters: keyint=10s (time-based keyframes) Β· scd=1 (scene change detection) Β· tune=0 (general content) Β· enable-overlays=1 Β· scm=0.
Audio Settings
  • Opus for 5.1/7.1 (bitrate calculations at 48 kbps/channel): 5.1 surround (6 channels): ~288 kbps Β· 7.1 surround (8 channels): ~384 kbps. General recommendation: 64 kbps per channel for stereo transparency, 48 kbps per channel sufficient for multichannel.
  • Opus limitation: Native multichannel support is limited. Codec handles multichannel through channel coupling in groups of two using mid-side coding, but native 5.1/7.1 support not universally implemented.
  • E-AC-3 recommended for hardware compatibility: E-AC-3 widely supported on TVs, streaming devices, game consoles, home theater systems. Opus has limited compatibility β€” native browser support but NOT supported by many hardware devices. iPhones cannot play Opus with default player.
  • E-AC-3 bitrates: 5.1: 192–256 kbps (Dolby official recommendation) Β· 640 kbps (largely transparent) Β· 768 kbps (Netflix 5.1 EAC3 Atmos) Β· 7.1: 896 kbps (~128 kbps/channel) Β· 1024 kbps+ (with Atmos metadata) Β· 1536 kbps (Blu-ray format, contains AC-3 5.1 640 kbps core). E-AC-3 supports up to 15 full-bandwidth channels at max 6.144 Mbps.
  • Stereo downmix: For Opus: use --downmix-stereo flag, 128–192 kbps VBR for stereo. For E-AC-3: inherently supports downmixing to stereo on compatible devices (center channel mixed and distributed between front L/R at -3dB).
  • Verdict: For maximum hardware compatibility with aggressive compression, use E-AC-3 at 640–768 kbps for 5.1 or 896–1024 kbps for 7.1. Add Opus stereo downmix at 128–192 kbps for web/browser playback.
πŸ›οΈ
Archival β€” Bit-Perfect Preservation
No quality loss, full metadata, future-proof
Video Codec
Remux (passthrough)
MakeMKV β†’ MKV. No re-encoding. Original stream intact. DVD: ~4–9 GB. Blu-ray: ~20–50 GB. UHD BD: ~50–100+ GB.
Audio Codec
All tracks (passthrough)
Keep every track: TrueHD, DTS-HD MA, AC-3, all commentary and subtitle streams.
Container
MKV
The only practical choice for remuxes. Handles all codec combinations, unlimited tracks, chapters, attachments.
🌐
Web/Browser Playback
HTML5 player, self-hosted streaming, no transcoding
Video Codec
H.264 or AV1
H.264 for max compat. AV1 for modern browsers + smaller files. HEVC browser support is conditional (depends on OS, hardware, and installed codec extensions) β€” don't rely on it for universal web playback.
Audio Codec
AAC or Opus (stereo)
AAC in MP4 for widest support. Opus in WebM for modern browsers. No surround in browser playback.
Container
MP4 or WebM
MP4 (H.264 + AAC) for universal reach. WebM (AV1 + Opus) for modern browsers with better compression.
Video Settings β€” H.264
  • Profile & Level: High profile (best compression with broad browser compatibility) Β· Level Auto (or 4.1 for 1080p, 5.1 for 4K at 30fps).
  • Preset: Slow for web delivery (better quality at same CRF). Range: Medium (default) to Slower. Slower presets provide better compression efficiency.
  • Tune: Use content-specific tuning (film, animation, grain) or leave default.
  • CRF: 21–24 (good balance of quality and file size) Β· 18–20 (high quality, near visually lossless) Β· 23 (default standard). Note: CRF +6 roughly halves bitrate, CRF -6 roughly doubles it.
  • Web optimization (critical): Always use -movflags +faststart flag. Moves MOOV atom to beginning of file for progressive download β€” allows immediate playback while streaming.
  • Alternative - Constrained VBR: Target bitrate β‰ˆ pixel width (640 kbps for 640Γ—480, 1280 kbps for 1280Γ—720) Β· Max bitrate: 200% of target Β· Buffer size: 2Γ— target bitrate Β· Use 2-pass encoding.
Video Settings β€” AV1 (SVT-AV1)
  • Preset: 6 (good quality/speed balance, recommended) Β· 3–5 (quality-focused) Β· 6–8 (speed-focused). Faster presets (8+) may need CRF lowered by 2–4 points.
  • CRF: 30 (general use) Β· 24–26 (high quality/archival) Β· Resolution-specific: 480p/576p: CRF 22–32 Β· 720p/1080p: CRF 25–35 Β· 4K: CRF 25–40. Note: SVT-AV1 CRF 30 β‰ˆ x265 CRF 21 β‰ˆ x264 CRF 16.
  • Advanced parameters: tune=0 (prioritizes visual quality) Β· keyint=10s (auto-adjusts for any framerate) Β· enable-overlays=1 (better quality) Β· scd=1 (scene change detection).
  • 10-bit encoding: Always use yuv420p10le for quality boost in darker shades.
Audio Settings
  • AAC (MP4 containers): Profile: AAC-LC (Low Complexity) for bitrates 64 kbps and above Β· HE-AAC v2 for stereo at 56 kbps or lower (24–32 kbps typical) Β· Sample rate: 44.1 kHz or 48 kHz Β· Bitrates (stereo): 64 kbps (360p video) Β· 128 kbps (480p–720p video) Β· 192 kbps (high-quality streaming, good balance) Β· 256 kbps (high-fidelity, transparent quality threshold).
  • Opus (WebM containers with VP9/AV1): 128 kbps (reaches transparency for stereo, recommended) Β· 64–96 kbps (very good for most content) Β· 256 kbps (high-fidelity, YouTube Music Premium quality) Β· Range: 6 kbps (narrowband speech) to 510 kbps (very high quality stereo) Β· Frame size: 20 ms (default). Note: Opus 128 kbps = AAC 256 kbps = MP3 320 kbps transparency.
πŸ“±
Mobile / Portable Devices
Small screens, limited storage, battery life matters
Video Codec
H.265 or H.264
720p H.265 at CRF 22–24 for max efficiency. H.264 if targeting older devices.
Audio Codec
AAC 128–256 kbps stereo
Stereo only. AAC 192 kbps is transparent on headphones.
Container
MP4
Widest device support. Handles both H.264 and H.265. Avoid MKV for mobile β€” some stock players won't open it.
Video Settings β€” H.265 (HEVC) for 720p
  • Recommended for: High-end mobile devices. 50% better compression than H.264 β€” good for limited storage.
  • Preset: Medium (default, balanced between encoding speed and compression). Range: ultrafast to placebo (10 presets).
  • Profile: Main (8-bit color depth) Β· Main10 (10-bit color depth β€” better quality, larger files).
  • Level: Auto-detect recommended. Level 4.0 or 4.1 typically sufficient for 720p.
  • CRF: 22–24 for 720p (recommended sweet spot) Β· 19–21 (high quality) Β· Range for 720p HD: CRF 19–23. Lower values = better quality, larger files.
Video Settings β€” H.264 for Older Devices
  • Use when: Maximum device compatibility needed Β· Lower-end devices with limited processing power Β· Live streaming with low latency required.
  • Profile & Preset: High or Main profile (Main for older devices) Β· Preset: Medium to Slow Β· Level: 4.0 or 4.1 for 720p.
  • CRF: 21–24 for 720p. Use slightly higher bitrates than H.265 for equivalent quality.
Resolution & Framerate Considerations
  • Resolution: 480p to 1080p recommended range Β· 720p: sweet spot for most mobile (balance of quality and compatibility) Β· 1080p: high-end devices only, requires 8–12 Mbps bitrate Β· 4K: limited to high-end devices, H.265 recommended. Match target device screen resolution when possible.
  • Framerate: 24 fps or 30 fps standard (consistent framerate crucial) Β· 30 fps recommended for smooth motion on mobile Β· Avoid variable framerate. Note: H.264 Level 5.1 maxes out at 4K @ 30fps.
  • Bitrate guidelines: 480p: 500–1000 kbps Β· 720p: 1500–2500 kbps Β· 1080p: 3000–5000 kbps (8–12 Mbps for high quality).
Audio Settings
  • AAC stereo: 128–192 kbps recommended Β· 192 kbps (transparent quality) Β· Range: 128–256 kbps Β· Sample rate: 44.1 kHz (standard) or 48 kHz Β· Profile: AAC-LC for mobile compatibility (universally supported on mobile devices).
  • Channels: Stereo recommended for 480p and above Β· Mono acceptable for low-bitrate/speech content.
Device Tier Recommendations
  • Low-end: H.264, 480p, 30fps, lower bitrates.
  • Mid-range: H.264/H.265, 720p, 30fps.
  • High-end: H.265, 1080p, 30fps or higher.
  • Best practice: Use two-pass encoding for better quality at target bitrates. Provide both H.264 and H.265 versions when possible for adaptive bitrate streaming. Test on target devices β€” playback performance varies significantly.
Data synthesized from multiple sources as of February 2026. Codec efficiency comparisons are approximate and content-dependent. CRF values assume x264/x265/SVT-AV1 reference encoders. Container: MKV for flexibility, MP4 for device compat.

Overview

Where every codec stands today. Click the status badges below to toggle visibility.

Video Codecs

MPEG-2Obsolete
H.262 Β· Native DVD codec
Only for bit-perfect DVD remuxes. Never re-encode to MPEG-2. Compression 4–8x worse than H.264.
Year
1995
Efficiency vs x264
~50% worse
Max Res
1080i (Blu-ray)
Encode Speed
Very Fast
DivX / XviDObsolete
MPEG-4 ASP Β· The scene era
Pioneered DVD ripping (1998–2008). Fully superseded by H.264. Only encountered in ancient rips.
Year
1998–2005
Efficiency vs x264
~40% worse
Max Res
SD (practical)
Encode Speed
Fast
VC-1Obsolete
WMV9 Β· Microsoft's Blu-ray codec
One of three Blu-ray video codecs. Some early BD titles (2006–2010) used it. Never re-encode to it.
Year
2006
Efficiency vs x264
Comparable
Max Res
1080p
Encode Speed
Moderate
H.264 / x264Current Standard
AVC Β· MPEG-4 Part 10 Β· The universal codec
The safe default. Plays on literally everything. Still widely used for DVD rips and 1080p BD rips. Gradually displaced by HEVC/AV1 for 4K.
Year
2003
Efficiency
Baseline ref
Max Res
8K (theoretical)
Encode Speed
Fast
H.265 / x265State of the Art
HEVC Β· The 4K workhorse
Reigning champion for 4K UHD rips. 25–50% smaller than H.264. HW decode everywhere since ~2016. Browser support is conditional β€” Safari native, Chrome/Edge require OS codec extensions. Not portable across browsers, but media players handle it universally.
Year
2013
vs H.264
25–50% smaller
Max Res
8K, HDR, DV
Encode Speed
Slow (5–10x)
AV1State of the Art
AOMedia Video 1 Β· Royalty-free future
Best compression-per-bit today. 20–30% better than HEVC. Encoding slow but rapidly improving (SVT-AV1). HW decode in all modern GPUs. Growing fast in ripping community.
Year
2018
vs HEVC
20–30% smaller
Max Res
8K+, HDR
Encode Speed
Very Slow
H.266 / VVCEmerging
Versatile Video Coding Β· x266 in development
~50% better than HEVC, ~10–20% better than AV1. Not yet practical β€” no mature encoders, minimal HW support (Intel Lunar Lake only). Patent situation worse than HEVC.
Year
2020
vs HEVC
~50% smaller
Max Res
16K, HDR
Encode Speed
Extremely Slow

Audio Codecs

MP3Obsolete for rips
MPEG-1 Layer III Β· Stereo only
DivX-era rips. No surround. Inferior to AAC at every bitrate. Never use for new rips.
Channels
2.0 max
Type
Lossy
AC-3 / Dolby DigitalCurrent
DD 5.1 Β· Universal surround
Most compatible surround codec. Every device decodes it. Standard for DVD (up to 448 kbps), required fallback on Blu-ray (up to 640 kbps). Not efficient by modern standards, but plays everywhere.
Channels
Up to 5.1
Type
Lossy
E-AC-3 / DD+Current
Dolby Digital Plus Β· Streaming standard
Higher quality AC-3 successor. Not decodable by legacy AC-3-only hardware β€” requires native E-AC-3 support. Carrier for streaming Atmos. Growing use in rips. Standard on all modern streaming devices.
Channels
Up to 13.1
Type
Lossy
DTS CoreLegacy
DTS 5.1 Β· Big bitrate, middling efficiency
Poor compression efficiency. Often extracted from DTS-HD MA for compat. AC-3 640 kbps is arguably better per-bit.
Channels
Up to 5.1
Type
Lossy
AACCurrent
Advanced Audio Coding Β· The versatile choice
Best lossy codec with universal compat. Use for stereo and commentary. Nero/Apple encoders produce best results.
Channels
Up to 48
Type
Lossy
OpusState of the Art
IETF RFC 6716 Β· Best lossy codec
Objectively best lossy codec at every bitrate. Royalty-free. Weak hardware player support limits adoption. Best with MKV + software players.
Channels
Up to 255
Type
Lossy
FLACLossless
Free Lossless Audio Codec Β· Gold standard
The lossless codec for rips. Open-source, royalty-free. ~50% compression vs PCM. Broad software support, growing HW support.
Channels
Up to 8
Type
Lossless
TrueHD / DTS-HD MALossless
Blu-ray native lossless Β· Atmos/DTS:X carrier
Native BD lossless formats with different architectures. DTS-HD MA embeds a legacy DTS core β€” a DTS-only decoder can play the core portion from the same stream. TrueHD is a standalone stream; Blu-rays include a separate AC-3 track alongside it as required fallback. Both carry object-audio metadata (Atmos on TrueHD, DTS:X on DTS-HD MA). Require HDMI passthrough for full decode.
Channels
Up to 7.1+objects
Type
Lossless

Compatibility Matrix

Approximate playback support across TVs, phones, browsers, receivers, and media players.

Filter by compatibilityNear Universal

Video Codecs

H.264 / x264
Universal β€” the king of compatibility
Device Support
Plays on: every smart TV, smartphone, browser, game console, streaming box, car system. If it plays video, it plays H.264.
H.265 / x265
Excellent hardware, conditional browser support
Device Support
All smart TVs since ~2016, all phones since ~2015, Safari, game consoles (PS4 Pro+, Xbox One S+), VLC, mpv, Plex. Browser support is conditional: Safari yes, Chrome/Edge only with OS-level codec extensions installed. Not reliable for universal web delivery.
AV1
All browsers, decent hardware, growing fast
Device Support
All modern browsers (Chrome 70+, Firefox 67+, Safari 17+), GPUs since 2022 (RTX 30+, RDNA2+, Arc, M3+), newer smart TVs (2022+), PS5. HW encode on NVIDIA RTX 40+, Intel Arc, AMD RDNA3+. Does NOT play on older TVs/streaming boxes.
MPEG-2
DVD native β€” universal decode
Device Support
Plays on everything. All DVD/BD players, all software players, all smart TVs. Only for remuxes β€” never transcode to MPEG-2.
H.266 / VVC
Almost nothing plays it yet
Device Support
Intel Lunar Lake decode only (2024). Some 2025 MediaTek/Qualcomm chipsets. No browser support. No mature player decoders. Not ready.

Audio Codecs

AC-3 / Dolby Digital
Universal surround
Device Support
Decoded by literally everything with audio output.
AAC
Universal stereo, strong multichannel
Device Support
All Apple devices, all browsers, all smartphones, all modern TVs. Stereo AAC is truly universal.
E-AC-3 / DD+
Streaming standard
Device Support
All streaming devices, most modern TVs/receivers/soundbars. Not backward-compatible with AC-3-only decoders β€” older hardware that only supports AC-3 cannot decode E-AC-3 natively.
FLAC
Excellent software, growing hardware
Device Support
VLC, mpv, Kodi, Plex, Jellyfin, most Android, many smart TVs, Apple since iOS 11. Some older receivers can't decode via HDMI.
TrueHD / DTS-HD MA
Requires HDMI bitstream passthrough
Device Support
Full decode requires HDMI passthrough to compatible AV receiver. Software players (VLC, mpv) decode to PCM. DTS-HD MA streams contain an embedded DTS core for legacy decoders. TrueHD does not β€” Blu-rays include a separate AC-3 track alongside it.
Opus
Great software, weak hardware
Device Support
All browsers, VLC, mpv, Kodi. Plex will transcode. Most smart TVs and streaming boxes do NOT decode Opus natively.

Evolution Timeline

Click any entry to expand. From MPEG-2 DVD originals through the AV1/H.266 frontier.

1993 β€” 1999 Β· The DVD Era
MPEG-2 / H.2621995VideoObsolete
β–Έ Click to expand
Native DVD video codec. Up to 480i/576i (SD) at ~9.8 Mbps. Interlaced NTSC/PAL. A 2-hour movie takes ~4–8 GB. Only for bit-perfect DVD remux.
DTS1993AudioLegacy
β–Έ Click to expand
Cinema codec (1993), adopted for DVD. Lossy, up to 5.1ch at 1.5 Mbps. Poor compression efficiency. DTS core often extracted from DTS-HD MA for compat.
Dolby Digital / AC-31995AudioStill Standard
β–Έ Click to expand
Mandatory DVD audio. Lossy, up to 5.1 surround. Max 448 kbps on DVD, up to 640 kbps on Blu-ray. Universal hardware support. Still the most common surround codec in rips.
LPCM1995AudioLossless
β–Έ Click to expand
Uncompressed audio on DVD/BD. Bit-perfect, zero compression. Up to 2ch on DVD, 8ch on BD. Enormous files. Usually transcoded to FLAC or AC-3.
AAC1997AudioCurrent
β–Έ Click to expand
MP3 successor (1997). More efficient than AC-3 and MP3. Supports multichannel. Go-to lossy codec for stereo and commentary tracks.
1999 β€” 2005 Β· DivX & The Scene
DivX 3.xx (;-))1998–99VideoObsolete
β–Έ Click to expand
JΓ©rΓ΄me Rota reverse-engineered MS MPEG-4v3 (1998). Combined with DeCSS (Oct 1999), enabled DVD-quality video over internet. Near-VHS quality at ~700 MB/movie.
DivX 4/5/62001–05VideoObsolete
β–Έ Click to expand
Clean-room MPEG-4 ASP. DivX 5 added B-frames and qpel (2002). Dominated scene for DVD rips. 700 MB (1 CD) or 1.4 GB/movie. Dethroned by x264.
XviD2001VideoObsolete
β–Έ Click to expand
Open-source MPEG-4 ASP (GPL). "Xvid" = DivX backwards. Often slightly better at same bitrate. Last US patents expired Nov 2023. Entirely superseded by x264.
MP31993AudioObsolete
β–Έ Click to expand
DivX-era audio companion. Stereo only. 128–192 kbps typical. Completely superseded by AAC. Legacy rips only.
2003 β€” 2012 Β· The H.264 Revolution
FLAC2001AudioLossless
β–Έ Click to expand
Free Lossless Audio Codec. Open-source, royalty-free. ~50–60% compression vs PCM with zero quality loss. Up to 8ch. Gold standard for lossless rips.
H.264 / AVC / x2642003VideoCurrent Standard
β–Έ Click to expand
JVT standard (2003). x264 open-source encoder (2004). ~50% more efficient than MPEG-4 ASP. Universal HW decode. Most compatible video codec on the planet. Mandatory on Blu-ray.
DTS-HD Master Audio2004AudioLossless
β–Έ Click to expand
DTS lossless codec. Up to 7.1ch at 24-bit/192kHz. Contains mandatory lossy DTS core. Max ~24.5 Mbps. Very common on Blu-ray.
E-AC-3 / Dolby Digital Plus2004AudioCurrent
β–Έ Click to expand
Enhanced AC-3. Up to 13.1ch, higher bitrates (6.144 Mbps). Not backward-compatible with legacy AC-3 decoders. Standard streaming codec (Netflix, Disney+). Carrier for streaming Dolby Atmos via JOC β€” non-Atmos decoders play the base E-AC-3 bed and ignore object metadata.
Dolby TrueHD2005AudioLossless
β–Έ Click to expand
Dolby's BD lossless codec (Meridian Lossless Packing). Up to 16ch at 24-bit/192kHz. Foundation for disc Dolby Atmos. TrueHD is a standalone stream β€” Blu-rays include a separate AC-3 track alongside it as required fallback (unlike DTS-HD MA which embeds its own legacy core).
VC-1 / WMV92006VideoObsolete
β–Έ Click to expand
Microsoft's SMPTE-standardized codec. One of three BD video codecs. Some early BD titles used it. Lost ecosystem war. Dead for new encodes.
2012 β€” 2020 Β· HEVC & The Efficiency War
Opus2012AudioState of the Art
β–Έ Click to expand
Best lossy audio codec, period. IETF standard, royalty-free. Outperforms AAC, MP3, Vorbis, AC-3 at every bitrate. Up to 255ch. Growing in rips.
Dolby Atmos2012AudioCurrent
β–Έ Click to expand
Object-based metadata layer β€” not a codec itself. On BD: rides TrueHD. Streaming: E-AC-3 (JOC). Adds height channels and up to 128 audio objects.
H.265 / HEVC / x2652013VideoState of the Art
β–Έ Click to expand
H.264 successor. 25–50% better compression. Encoding ~5–10x slower. HW decode since ~2016. Sweet spot for 4K UHD rips. Supports 8K, HDR10, DV, 10-bit. Browser support conditional β€” Safari native, Chrome/Edge require OS codec extensions. Not reliable for universal web delivery.
VP92013VideoLegacy
β–Έ Click to expand
Google's royalty-free answer to HEVC. Powers YouTube 4K. Rarely used for disc rips. Superseded by AV1.
DTS:X2015AudioCurrent
β–Έ Click to expand
DTS object-based immersive format. Layered on DTS-HD MA. Height channels. Found on some 4K UHD BDs. Falls back to DTS-HD MA or DTS core.
AV12018VideoState of the Art
β–Έ Click to expand
Royalty-free, backed by Google, Netflix, Apple, Amazon, MS. 20–30% better than HEVC. SVT-AV1 improving fast. HW decode in all GPUs since ~2022. Native browser support. Future-proof choice.
2020+ Β· The Frontier
H.266 / VVC2020VideoEmerging
β–Έ Click to expand
~50% better than HEVC, ~10–20% over AV1 at 4K. Encoding ~6.5–10x slower than HEVC. Intel Lunar Lake first with decode (2024). x266 in development. Licensing worse than HEVC. May be leapfrogged by AV2.
AV2 (in development)~2027?VideoFuture
β–Έ Click to expand
AOMedia's AV1 successor. Active development. Expected to match/exceed VVC while staying royalty-free. Most likely next-gen codec for ripping.