obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Corrupt MaxCLL when recording HDR to Hybrid MP4 leading to darkened appearance in Media Source

Open jpark37 opened this issue 4 days ago • 1 comments

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

32.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/ldaYDpLBGuicvfny

OBS Studio Crash Log URL

No response

Expected Behavior

HDR video recording should retain its brightness.

Current Behavior

Video is played back darker than original. The issue seems to be that MaxCLL is not written correctly for Hybrid MP4, which leads to a very large and corrupt MaxCLL on media source read, which causes the shader function PSI010_PQ_2020_709_Reverse to EETF the signal darker to fit the current HDR Nominal Peak Level. This does not happen if I use tried-and-true MKV.

Steps to Reproduce

  1. Record video with P010, Rec. 2100 (PQ), NVENC HEVC, and Hybrid MP4. Might be easiest to find an HDR video on YouTube and pause a fullscreen frame for Alt+Tab comparison with fullscreen preview.
  2. Use media source to play the recorded video.
  3. Notice the video is darker than it used to be.

Anything else we should know?

Might be nice to make EETF squeezing optional. VLC ignores the MaxCLL and makes no attempt to squeeze for example.

The log is recording videos using MP4, then MKV.

jpark37 avatar Dec 09 '25 21:12 jpark37