Skip to content

Problem with opening sdr files in hdr display #16360

@HenDGS

Description

@HenDGS

mpv Information

mpv v0.40.0-116-g817372ac9 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on May 18 2025 00:05:55
libplacebo version: v7.351.0 (v7.349.0-79-g3188549-dirty)
FFmpeg version: N-119590-g95c43c6d0
FFmpeg library versions:
   libavcodec      62.3.101
   libavdevice     62.0.100
   libavfilter     11.0.100
   libavformat     62.0.102
   libavutil       60.2.100
   libswresample   6.0.100
   libswscale      9.0.100

Other Information

- Windows version: 24H2
- GPU model, driver and version: RTX 4090, driver 576.40
- Source of mpv: shinchiro build
- Latest known working version: Idk
- Issue started after the following happened: A long time after using mpv without updating

Reproduction Steps

  • Open an sdr file with hdr on

Expected Behavior

Opening an sdr file should not open mpv with hdr and play the sdr file inside an hdr container. I used to use this command "d3d11-output-csp=srgb" to open my files my files with working sdr (as suggested by #8936), but its not working anymore after updating.

I also tried the command "target-trc=srgb" (#14648), but it makes the image a lot darker.

Actual Behavior

Mpv should open in sdr format.

Log File

mpv.log

Sample Files

MPV side by side with VLC, using "d3d11-output-csp=srgb"

Image

MPV side by side with VLC, using "target-trc=srgb"
Image

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions