Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB range advanced setting incorrect / too dark on new HW AMF encoder on 9070XT (?) #11945

Open
kotn3l opened this issue Mar 11, 2025 · 0 comments

Comments

@kotn3l
Copy link

kotn3l commented Mar 11, 2025

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

31.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/RE2ssWnP9ZrtmLW8

OBS Studio Crash Log URL

No response

Expected Behavior

The limited / full setting should encode with the correct color range. The recordings from a 9070XT look darker than from a RTX3070 with the same settings. See current behaviour below.

Current Behavior

The Limited RGB range option is darker on 9070XT than on an NVIDIA GPU. The color range does say Limited in MediaInfo, but you can still see that video is darker than what it should be.

Image
Image

9070XT on the left, RTX3070 on the right with the same advanced settings (BT709, Limited, NV12, the source window was set to sRGB). My monitor was set to Full range in both scenarios.

The NVENC encoder has much more params exposed, so I tried setting AMF parameters such as profile, color depth, color profile etc:

AMF_VIDEO_ENCODER_HEVC_PROFILE=AMF_VIDEO_ENCODER_HEVC_PROFILE_MAIN
AMF_VIDEO_ENCODER_HEVC_PROFILE_LEVEL=AMF_LEVEL_6_2
AMF_VIDEO_ENCODER_HEVC_COLOR_BIT_DEPTH=AMF_COLOR_BIT_DEPTH_8
AMF_VIDEO_ENCODER_HEVC_OUTPUT_COLOR_PROFILE=AMF_VIDEO_CONVERTER_COLOR_PROFILE_709
AMF_VIDEO_ENCODER_HEVC_NOMINAL_RANGE=AMF_VIDEO_ENCODER_HEVC_NOMINAL_RANGE_STUDIO

but it did not help.

Just to see if the range setting has any effect on the encode, I set it to Full -- the video gets even darker.
Image
Full Range setting

Image
Limited Range setting

Image
Limited Range on RTX3070

Steps to Reproduce

  1. Have a Navi48 GPU ? (9070 is probably maybe also affected?) with 25.3.1 drivers (latest) but I'm not sure if it affects other cards.
  2. In advanced settings set color format to NV12, color space to rec709 and color range to limited.
  3. Either use simple or advanced output settings. Doesn't make a difference.
  4. Make sure your source color space is sRGB
  5. Record and compare results

Anything else we should know?

Now, I'm not sure if this really is an OBS issue or an issue with the new HW AMF encoder driver on Navi48 GPUs, so at first I thought I'd try here.

Playing the videos display correctly in MPC-HC, but upon editing the videos, you can clearly see they are darker than what they should be. See screenshots above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant