HLG -> HDR (ST2084) = odd colour shifts & artefacts

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 9:46 pm

My full project settings are outlined in this post - but basically,

if I simply drag a 10-Bit, 4:2:2 AVC UHD 50fps HLG Clip into resolve and set the Project Settings to:
- ACES Input: Rec.2020 HLG (1000 nits)
- ACES Output: Rec.2020 ST2084 (1000 nits)

Then render using:
- H265/NVIDIA/Main 10
- Embed HDR10 Metadata

I end up with an HDR output that has odd colour shifts and artefacts in some of the background whites (see the white window pane behind the colour checker).

I've gone round the bend playing with the "Color Space & Transform" in the Project Settings and the Render Settings but anytime there is a combination where the Input and Output options are different in the Project Settings I see this issue (both ACES and Davinci Color Managed).
HLGtoHDR.jpg
HLGtoHDR.jpg (1010.11 KiB) Viewed 1569 times
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 9:51 pm

...and here is an example of just using "DaVinci YRGB" / "Rec.2100 ST2084" in the project settings. The white window sill looks better (but everything now looks oversaturated to my eyes).
HLGtoHDR_no_color_mgt.jpg
HLGtoHDR_no_color_mgt.jpg (979.3 KiB) Viewed 1568 times
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

Jim Simon

  • Posts: 34455
  • Joined: Fri Dec 23, 2016 1:47 am

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 10:07 pm

Try this, changing only the Frame Rate and Key Frame as needed.

Report back.

HDR Export.png
HDR Export.png (43.98 KiB) Viewed 1567 times
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 10:41 pm

Thanks Jim,
Still have the same issue, I've also included my render settings in the image.
HLGtoHDR_RenderSettings2.jpg
HLGtoHDR_RenderSettings2.jpg (518.51 KiB) Viewed 1550 times
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

Jim Simon

  • Posts: 34455
  • Joined: Fri Dec 23, 2016 1:47 am

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 10:47 pm

You changed the Quality from my posted image. Also the Lookahead. Don't do that.

Also, Key Frame should be half the frame rate. 25 in your case.

Try again, report back.
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 11:09 pm

Next try - Still no change:
HLGtoHDR_RenderSettings3.jpg
HLGtoHDR_RenderSettings3.jpg (477.25 KiB) Viewed 1546 times
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 11:11 pm

FYI - It seems to be a chroma sampling issue, as if I change The Encoding Profile from "Main 10" to "Main 4:4:4 10" the issue goes away (but 4:4:4 is no good for real time playback).
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostWed Jan 06, 2021 11:21 pm

If it helps - here is a link to the source file (17sec, 1gb) - https://behome.dyndns.info/index.php/s/zfLpWjBpSFCLsN7
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini
Offline

NathanBray

  • Posts: 123
  • Joined: Thu Dec 10, 2020 7:32 am
  • Real Name: Nathan Bray

Re: HLG -> HDR (ST2084) = odd colour shifts & artefacts

PostThu Jan 07, 2021 6:45 am

OK - Looks like there are a few things make this chroma issue less visible.
- Shooting: This clip has plenty of noise (I shot the same scene again in better light with a lower ISO and it was much better, but it still existed on some parts of the window frame).
- Playback: Using DXVA2-Native HW Acceleration for Video Decoding on Windows increases Chroma Blur especially on NVIDIA cards. Using DXVA2-Copyback, D3D11, CUVID or even turning HW Acceleration OFF works pretty well but comes at a performance cost. Changing this had the biggest impact on hiding the issue.

I also updated my Project Profiles (as attached) as the FX6's HLG mode is actually Rec.2020 / ARIB STD-B67 HLG and that helped the final image look better..... though I'm unsure if the settings are correct, esp after the Output color space.
NewSettings_Project.jpg
NewSettings_Project.jpg (134.07 KiB) Viewed 1528 times
FX6 & A7Siii - UHD AVC 10 Bit 4:2:2 SG3C/Slog3
DJI - Air2s HEVC 10 Bit 4:2:0 D-Log
PC - Win11 Pro, 64GB, i9-14900K, RTX 4090, NVME for editing, 80TB Drive Pool for Storage, 2 x 1,000 peak nits monitors
Resolve Studio, Speed Editor, UltraStudio 4K Mini

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], KrunoSmithy, panos_mts, qsipher and 244 guests