DNxHR export too dark

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

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

DNxHR export too dark

PostFri Jun 02, 2023 2:58 pm

Hi All,

I try to use Handbrake to encode my material into h264/h265 as suggested quite often in this forum. Since I am on WIN, I've chosen DNxHR SQ as my intermediate format.
However, if I compare the DNxHR clip with a clip rendered with h264 in Davinci, the DNxHR clip looks significantly darker and more saturated.
I am using VLC Player for review. I am working in a color managed environment (DWG). My output color space is Rec709 2.4. My output settings are all default.

EDIT: Handbrake just finished. The h265 convert now looks as my pre-view. Doesn't appear to be a problem but somehow confuses me.

Any idea what goes wrong here?
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline

Hendrik Proosa

  • Posts: 3029
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: DNxHR export too dark

PostFri Jun 02, 2023 4:08 pm

VLC interpreting the metadata tags in video file differently. Different players do all kinds of funky things so their output isn't a good reference for correctness.

Long story short, video file contains both the data ("what is") and metadata (description of "what is"). Lets say data values in video file are encoded with colorspace X. Metadata tells that it is encoded as "something X-ish". Now, VLC reads the file and "thinks", allright, it is X-ish, so I'll apply an additional transform Y to it "for reasons". This makes the player show data to you differently than some other player that has its own reasoning over the metadata tags. Root cause of problem is both ambiguity in metadata tag meaning and different interpretations of this ambiguity in different softwares.
I do stuff.
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostFri Jun 02, 2023 5:42 pm

Thanks a bunch Hendrik. This somehow was my assumption but now I know. This video production journey is a long one I guess :)
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline

DavidVogt

  • Posts: 219
  • Joined: Tue Jul 28, 2015 9:10 pm

Re: DNxHR export too dark

PostFri Jun 02, 2023 9:10 pm

It is important to choose a standard known accurate player for evaluation render output. For the Mac, I use either Cineplayer or QuickTime. In addition, your playback monitor should be calibrated to your delivery standard, for example rec 709. Without working in that environment you will end up chasing your tail trying to get acceptable client results.
Mac Studio ultra
Monterey 12.4
128 GB ram
2 TB SSD
48 TB HD disc storage, multiple RAIDS
Online
User avatar

Uli Plank

  • Posts: 21571
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: DNxHR export too dark

PostSat Jun 03, 2023 5:21 am

And for the intermediate version I'd rather use DNxHR HQX 10 bit to avoid any visible losses.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Jim Simon

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

Re: DNxHR export too dark

PostSun Jun 04, 2023 3:00 pm

SeldomSeenKid wrote:I am using VLC Player for review.
That's fine for reviewing content.

I was trained with the idea that we can only review quality in a proper viewing environment. If any part of the signal chain alters the image, you won't see it as it really is.

Darren offers some really good info on how to get a proper viewing environment below. It's a good watch.

My Biases:

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

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostMon Jun 05, 2023 7:32 am

Jim Simon wrote:
SeldomSeenKid wrote:I am using VLC Player for review.
That's fine for reviewing content.

I was trained with the idea that we can only review quality in a proper viewing environment. If any part of the signal chain alters the image, you won't see it as it really is.

Darren offers some really good info on how to get a proper viewing environment below. It's a good watch.



Yep - I am watching Darren's & Cullen's channels on a regular base. I know about the difference between a clean feed device and my poor mans WIN color managed one. However, my screen is calibrated (as a windows screen of course), has an decent color reproduction (> 100% REC709) and I am talking about comparing all this material on this same screen. (BTW: I am a hobbyist - no client work).
Meanwhile I experienced some other strange behavior, which I need to investigate further. I will come back to this topic as soon as I see clearer.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostMon Jun 05, 2023 11:23 am

Uli Plank wrote:And for the intermediate version I'd rather use DNxHR HQX 10 bit to avoid any visible losses.

Interesting point. I now use HQX 10 bit but noticed that I use BT709 as my export color space, which might make little sense here. What color spaced would you suggest for

a) creating an intermediate for later h264/5 conversion and/or
b) archiving a high quality master

My footage is a mix from h264, h265 10bit and DNG raw 12 bit in a DWG color managed workflow.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Online
User avatar

Uli Plank

  • Posts: 21571
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: DNxHR export too dark

PostMon Jun 05, 2023 1:39 pm

You can go for HQX 12 bit if you think the extra space needed is worth it and the camera shooting those DNGs is that good and contributes enough footage. For the other sources it’s overkill.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostMon Jun 05, 2023 2:07 pm

Uli Plank wrote:You can go for HQX 12 bit if you think the extra space needed is worth it and the camera shooting those DNGs is that good and contributes enough footage. For the other sources it’s overkill.

Thanks Uli. But what about the color space? I think BT709 is 8 bit so I will loose information here too.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Online
User avatar

Uli Plank

  • Posts: 21571
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: DNxHR export too dark

PostMon Jun 05, 2023 2:22 pm

Color Space has nothing to do with bit depth.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostMon Jun 05, 2023 7:20 pm

Uli Plank wrote:Color Space has nothing to do with bit depth.

Hm... Looks like I need to do some more homework. Being a software developer apparently doesn't help too much when you open this can of worms.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline

rNeil H

  • Posts: 562
  • Joined: Tue Jun 26, 2018 9:43 pm
  • Real Name: R. Neil Haugen

Re: DNxHR export too dark

PostMon Jun 05, 2023 7:46 pm

Color space is essentially the intended RGB definition points at X white balance. The Color range, perhaps.


Bit depth is how many levels the format stored. Eight bit is 256 levels, 10 bit 1064, 12 bit a LOT more. More levels means you can do more charges in tonality in post (typically) before artifacts occur.

Sent from my SM-S908U using Tapatalk
Offline

Andrew Kolakowski

  • Posts: 9210
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: DNxHR export too dark

PostMon Jun 05, 2023 7:53 pm

Bring file back to Resolve and lay over your timeline. It will most likely look the same which is proof of crap happening in VLC preview.
DNxHR holds key header regardless range- if app can't read it properly then you may have problem (eg. file is exported with legal range but app is hard coded with full). Resolve use to set DNxHR headers properly. Maybe last version broke it, but I dot think so.
Bit depth has no direct relation with colour space-this is true.
VLC is by o means any reference player. It's hard to actually find good software player on PC.
You can try Calibrated Tin Man player which allows to assign gammas etc. Other option is mpv but it's bit difficult to manage.
Offline
User avatar

shebbe

  • Posts: 1055
  • Joined: Tue Mar 06, 2018 11:48 am
  • Location: Amsterdam
  • Real Name: Shebanjah Klaasen

Re: DNxHR export too dark

PostTue Jun 06, 2023 2:19 pm

Possibly a data levels issue.

VLC Player reads DNxHR clips as video levels instead of full even if you write full out of Resolve. Resolve also reads DNxHR as video instead of full when importing the rendered clip. You can manually switch it to full instead of auto via the clip attributes.
Home System Resolve 18.6b9: Z790 / i9 13900K / 64GB DDR5 / RTX4090 / Win 11 / ASUS PA32UGC 1600 nits
Office System Resolve 18.6b9: X570 / Ryzen 9 5900X / 128GB DDR4 / RTX4090 / Win 11 / EIZO CG248-K
Offline

Andrew Kolakowski

  • Posts: 9210
  • Joined: Tue Sep 11, 2012 10:20 am
  • Location: Poland

Re: DNxHR export too dark

PostWed Jun 07, 2023 6:51 am

Resolve use to set/read flag properly after BM made 2 rounds of fixes.
Maybe it's broken again.
Last edited by Andrew Kolakowski on Mon Jul 17, 2023 9:04 pm, edited 2 times in total.
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostWed Jun 07, 2023 7:13 am

shebbe wrote:Possibly a data levels issue.

VLC Player reads DNxHR clips as video levels instead of full even if you write full out of Resolve. Resolve also reads DNxHR as video instead of full when importing the rendered clip. You can manually switch it to full instead of auto via the clip attributes.


Will check this ASAP. BTW I am still on version 17.4.6. Currently I am very busy with other stuff but will examine this closer as soon as I have more time.
Thanks for ally your advise so far.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#
Offline
User avatar

SeldomSeenKid

  • Posts: 394
  • Joined: Mon May 31, 2021 1:16 pm
  • Location: Germany
  • Real Name: Michael Adrian

Re: DNxHR export too dark

PostSun Jun 25, 2023 5:30 pm

Ok, finally I had some time to investigate my issue, here're my findings:

First I decided to learn a bit more about color space, bit depth and everything that confused me until now. This guys YT channel is a gift for all who want to learn the essentials: https://www.youtube.com/@VideoTechExplained

Funny enough, after I digested all this information, I found that the problem I described above came from a forgotten Kodak LUT in the timeline section, which messed up my results.
I did some more tests where I rendered different formats, loaded them back into DR and compared them to the DNG footage. I decided to go with HQX10 as Uli suggested. I will use DIWG as my intermediate color space and REC709 for transcoding into H265 for delivery with Handbrake.

Thanks again for your tips.
Good judgement comes from experience. Experience comes from bad judgement.
# Threadripper 32 core / 160GB / RTX4000 8GB / WIN10 #
# BMCC / DVR17.4.6 Studio / Speed Editor / Tangent Ripple / X-Touch One / X-Touch mini / Space Explorer / 5.1 HDMI#

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Lexvid, Uli Plank and 212 guests