QMPlay2 icon indicating copy to clipboard operation
QMPlay2 copied to clipboard

[Feature Request] Add Customizable HDR to SDR Tone Mapping Controls (Methods, SDR Brightness, Quality Toggles)

Open Evren-os opened this issue 9 months ago • 4 comments

My Setup:

  • CPU: AMD Ryzen 7 5700G (Integrated Vega Graphics)
  • RAM: 16GB DDR4 @ 3200MHz
  • Display: Non-HDR 1080p Monitor
  • OS: CachyOS (Arch-based) with Hyprland

The Issue

I watch a lot of HDR content (4K Bluray Remux, WebDL, etc.) on my non-HDR monitor, and while QMPlay2 handles playback smoothly, the HDR-to-SDR tone mapping often looks too dark or inconsistent. For example, some movies end up looking too darken/saturated, even though they play without lag. On Windows, tools like MPC-HC + madVR/MPC Video Renderer let me tweak tone mapping and SDR brightness to fix this, but I’d rather stick with Linux and QMPlay2!

What’s Missing

  1. No Control Over Tone Mapping Methods: I can’t choose between algorithms like Hable, Reinhard, or BT.2390, which other players (like MPV) support. These make a huge difference in how "natural" the image looks.
  2. Can’t Adjust SDR Brightness/Nits: My monitor’s SDR brightness isn’t configurable, so manually setting this (e.g., 100-300 nits) would help match my display’s capabilities.
  3. Unclear Quality/Performance Trade-offs: Does QMPlay2 prioritize performance by default? How can I tell if it’s sacrificing quality for smooth playback?

Why This Matters

  • Hardware Compatibility: The Ryzen 7 5700G’s Vega GPU should handle tone mapping well (madVR proves this on Windows!), but without tuning options, I’m stuck with subpar visuals.
  • User Experience: I love QMPlay2’s simplicity, but right now, HDR content feels like a compromise. Letting users tweak these settings would make it a killer app for HDR media on SDR displays.

Feature Wishlist

  • Add tone mapping method selection (Hable, Reinhard, BT.2390, etc.).
  • Allow manual adjustment of SDR brightness/nits.
  • Include optional quality/performance toggles (e.g., debanding, dithering) with tooltips explaining their impact.

Thanks for all your work on QMPlay2!

Evren-os avatar Apr 12 '25 20:04 Evren-os

For now, you can try adjust some parameters here and recompile.

Do you have HDR10 or HLG videos?

zaps166 avatar Apr 12 '25 21:04 zaps166

For now, you can try adjust some parameters here and recompile.

Do you have HDR10 or HLG videos?

Thanks. I have, "Tron.Legacy.2010.Hybrid.2160p.UHD.BluRay.UPSCALE.DV.HDR10+.HEVC.DTS-HD.MA.7.1-DataLass.mkv"

Evren-os avatar Apr 12 '25 21:04 Evren-os

Hybrid

Does it mean HLG (Hybrid Log-Gamma)?

zaps166 avatar Apr 12 '25 21:04 zaps166

Does it mean HLG (Hybrid Log-Gamma)?

No, the file is considered 'Hybrid' because it sourced subtitles or audio from other sources

Evren-os avatar Apr 12 '25 21:04 Evren-os