obsproject / obsproject/obs-studio

Screenshots using the "Screenshot Output" hotkey only output SDR, even when recording in HDR

Open
#13,209 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

32.0.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/QaUXz8goUPUj1dVB

OBS Studio Crash Log URL

No response

Expected Behavior

When recording native HDR content in HDR (i.e. not tonemapping to SDR at any point whatsoever), screenshots should be delivered in native HDR regardless of which screenshot option is used (between "Screenshot Output", "Screenshot Source", and "Screenshot Preview").

Current Behavior

Screenshots taken with the "Screenshot Output" option are delivered in 8-bit SDR PNG, even if the content is a native HDR game capture, recorded to an HDR output.

However, screenshots of the same HDR game capture taken via "Screenshot Source" or "Screenshot Preview" are properly delivered in 10-bit HDR JXR.

Steps to Reproduce
  1. Own an HDR display
  2. Set up HDR recording output (Set color format to P010, color space to Rec. 2100 (PQ), etc, HEVC profile to main10)
  3. Add new game capture source and set the color space to Rec 2100 (PQ)
  • 2.5. Make a test recording of an HDR game to verify HDR game recording works
  1. Configure the "Screenshot Output" hotkey
  2. Take a screenshot using your newly configured hotkey
  3. This should result in an 8-bit SDR PNG screenshot, which you can verify with a tool such as MediaInfo or simply by comparing with JXR screenshots taken with "Screenshot Source" or "Screenshot Preview"
Anything else we should know?

This bug notably impacts Elgato's OBS Studio Stream Deck plugin, which features a native screenshot command that happens to use "Screenshot Output" rather than "Screenshot Preview" or "Screenshot Source". Any similar third-party hardware and software integrations may also run into this issue.

Also, I have elected not to include example screenshots in this issue due to GitHub's apparent lack of support for HDR images. Should example image files be requested, I can post some, however GitHub does not accept JXR images and does not render my converted HDR PNGs properly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing OBS Studio's Screenshot Output hotkey path and comparing it with the Screenshot Source and Screenshot Preview paths described in the issue. Reproduce with Windows 11, P010, Rec. 2100 (PQ), and HEVC main10, then verify that Screenshot Output produces native HDR JXR output rather than an 8-bit SDR PNG.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.