HDR10 mode with any view transform + rec 709 LUT = LUT applied twice?

Teagan wrote on 5/16/2021, 4:07 PM

I'm starting to try out HDR10 grading and I'm having trouble.

I open my project that I have graded for SDR, which is mainly V-Log/V-Gamut + the official V-Log LUT and a little tweaking of the curves for brightness adjustments per scene. Looks good.

So I'm thinking I'll just turn on HDR10 mode with the view transform set to rec 2020 ST2084 1000 nits with 4K TV as the preview monitor and see where I'm at. Instantly the saturation and contrast is hugely increased and when I disable the rec 709 LUT it brings it back to normal. To test if this is so, I applied the lut twice in the SDR mode, one in color grading panel and one in the video event FX and it looks extremely similar. So is using the official V-Log LUT in HDR mode in Vegas impossible, since the view transform can't be disabled? If I disable the view transform HDR10 mode is disabled.

A secondary question that this problem raises is, is the official V-Log LUT included and applied in Vegas when you choose the input color space for your video file in the project media section as VLog-VGamut and then use any view transform?

A third question, why is the luminance scale maxed at 100 nits while my view transform is set to rec 2020 1000 nits but when I switch to rec 709 view transform, it maxes at 1000 nits? This is no matter the situation with the LUT. I'd ideally want to see 1000 nits as my target while in rec 2020 1000 nits view transform, why does that seem to be backwards? Adding to that, why is it so dark on the 4k TV when my view transform is set to the rec 2020 1000 nits? That must be why the scale is maxed at 100 nits? What is the point of the rec 2020 1000 nits view transform when I have to use the rec 709 view transform on my 4k TV (that supports rec 2020) to make the picture make any sense?

So it seems I don't understand what a view transform does. It doesn't control what color space is being output to the preview screens?

Comments

Musicvid wrote on 5/16/2021, 4:48 PM

I think comingling Vegas Transforms and LUTS, which are external, is asking for trouble. At least it's a learning curve I haven't tackled yet. Do you have a V-Log->709 LUT for your Panny? For example, Canon has a bunch of them.

Maybe @fr0sty has a better idea.

Teagan wrote on 5/16/2021, 5:03 PM

I think comingling Vegas Transforms and LUTS, which are external, is asking for trouble. At least it's a learning curve I haven't tackled yet. Do you have a V-Log->709 LUT for your Panny? For example, Canon has a bunch of them.

Maybe @fr0sty has a better idea.


I'm using the official Panasonic Vlog to rec 709 LUT if that's what you're asking. But in HDR10 mode I can't use it since if I turn off my view transform it disables HDR10 mode. Since that is so, I will have to settle for the vegas transforms, either rec 709 or rec 2020 1000 nits.

If I could disable the view transform that may fix my problem, so I can just use my official LUT, but it seems to force me to use it when either HDR mode is enabled.

JN- wrote on 5/16/2021, 6:26 PM

@Teagan The other day I was struggling with similar, using 32 bit Full Range in Project Properties. I came to the same conclusion to either use the view transform or input lut, but not both together. I wasn’t doing HDR so I could turn off the View Transform and apply the lut or use the View Transform without the Lut.

https://www.vegascreativesoftware.info/us/forum/vegas-pro-18-update-5-build-527--129048/?page=3#ca802647

Last changed by JN- on 5/16/2021, 6:31 PM, changed a total of 2 times.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

fr0sty wrote on 5/16/2021, 7:49 PM

My hdr workflow for 10 bit vlog is, open a default 4k HDR project, let it set everything regarding view transform.

Import vlog footage. Right click it, set color space in properties to "vlog/vgamut".

Color the video as needed, i don't use any luts here as the vlog view transform applied to the clips does this.

render to hdr hevc or h264.

Remember to preview hdr, your external monitor must have windows hdr mode enabled in windows display properties for that monitor.

Last changed by fr0sty on 5/16/2021, 7:53 PM, changed a total of 2 times.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Teagan wrote on 5/16/2021, 7:50 PM

Vegas has a vlog/vgamut view transform, use that in hdr mode. No lut required if rendering to hdr.


You mean just set the project media input color space to Vlog/VGamut and then use any view transform and that is applying the LUT automatically? And is that the same as the official Panasonic one?

RogerS wrote on 5/16/2021, 8:17 PM

Color space/IDT replaces the LUT and the color space was most likely created by Panasonic in the first place. My understanding is that this is all ACES, a standard Vegas conforms to, not something Vegas created.

You certainly would not use a HDR to REC 709 LUT in an HDR project (you are trying to transform log to HDR and Rec 2020, not SDR and Rec 709). If you want to do HDR I think commit to it at every stage of the workflow.

Teagan wrote on 5/16/2021, 8:56 PM

That makes a lot of sense, to not use the rec 709 LUT for a rec 2020 project, but the V-Log L in my camera is rec 709 limited, as it's the cheap version without the full V-Gamut.

Musicvid wrote on 5/16/2021, 8:57 PM

But in HDR10 mode I can't use it since if I turn off my view transform it disables HDR10 mode.

Yes, exactly. It's just a generic preset.

RogerS wrote on 5/16/2021, 9:44 PM

That makes a lot of sense, to not use the rec 709 LUT for a rec 2020 project, but the V-Log L in my camera is rec 709 limited, as it's the cheap version without the full V-Gamut.

Well, my understanding is that just means the color gamut is limited. It's still a version of log (as is HLG) so you have to map its somewhat extended brightness range to SDR or HDR. If the goal is to go to HDR, you don't want to limit the dynamic range to SDR with a LUT and then bring it back to HDR.

ScrapyardFilms wrote on 5/17/2021, 7:54 AM

@fr0sty If you had some free time, would you mind providing some tips on grading HDR footage? I'm dabbling in it now that I have drone footage that records in HDR. Also my GH5s can do HLG and V-log 10 bit so I might as well give it a shot in learning to grade correctly. I know that you primarily work in HDR mode so any tips would be greae. Exposing properly on location, reading the waveform monitor with nits, etc.

Musicvid wrote on 5/17/2021, 8:26 AM

You certainly would not use a HDR to REC 709 LUT in an HDR project (you are trying to transform log to HDR and Rec 2020, not SDR and Rec 709). If you want to do HDR I think commit to it at every stage of the workflow.

That makes a lot of sense, to not use the rec 709 LUT for a rec 2020 project, but the V-Log L in my camera is rec 709 limited, as it's the cheap version without the full V-Gamut.

To me, it makes perfect sense to use 709 source AND space inside a 2020 program, for the fundamental fact that REC 709 is also an embedded and active subset of REC 2020. It is thus fully supported and available, in fact constituting the majority of delivery practices in use today. I've spent a lot of time on Vimeo to see what's being shot. This of course, will change, as full range 10 bit gradually goes mainstream with the adoption of newer broadcast standards (ATSC2), which have always led consumer equipment purchasing decisions.

There seems to be a basic misconception in the hood that 709 is always 8 bit. Nothing is farther from the truth, although that's where it was given life.

As one can clearly see, both 709 and P3 are quite cozy living inside the 2020 gamut, as well as on their own.

JN- wrote on 5/17/2021, 9:51 AM

https://www.redsharknews.com/do-you-need-to-use-log-modes

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

Teagan wrote on 5/17/2021, 10:11 AM

@Musicvid

Yes, I did a test render and it looks great on my C9 OLED.

My source is V-Log L in rec 709 (10 bits) and rendered to the rec 2020 1000 nits HDR10 standard and I see way more detail in the shadows and highlights, and it looks so much better than my SDR master. I might be able to learn a little more about grading HDR10 and then offer it to clients in a few months.

 

As one can clearly see, both 709 and P3 are quite cozy living inside the 2020 gamut, as well as on their own.

Talking about this, a video from HDTVTest here talks about how most HDR blu ray discs are actually using the P3 color space within the rec 2020 space. Not all, and some are actually using more than P3, but it seems to be rare that they take advantage of the full rec 2020 space. So using Rec 709 within the rec 2020 space seems just the same thing the big companies are doing with the P3 standard within the rec2020 space.

Using V-Log L for my projects seems way easier to manage compared to HLG, as V-Log L has the pure scientific LUT from Panasonic for SDR work and then I can just use Vegas' handy view transform for HDR in rec 2020. HLG is a nightmare to work with, even with a rec 2020 to rec 709 LUT, as the colors shift horribly, often towards the greens, and it's under-saturated so I have to add about 65-85% more saturation, and that is hard to correct and I gave up on that method. The transforms aren't better either.

I'll just save up for a Sony FX3 or something for the end of the year and that'll give me the rec 2020 gamut coverage I want, in LOG and not in HLG, which will be way easier to work with, especially with their official LUTs.

One last question, is it OK to use my Ninja V to grade my HDR10 work? The screen is rec 709 so if I use the PQ monitoring method I'll see the brightness differences but not the rec 2020 color, so it will be flat. If I use the rec 709 monitor method I'll only be seeing about 6.5 stops and not the full 12.5~ that you get with PQ. My cheap 4K TV seems to be rec 709 limited according to my calibrator, or that's just the 8bit+dithering that is confusing it. It shows rec2020 just like my rec 709 monitors do, but shows HLG fine, but that may just be the backwards compatibility kicking in, to show the rec 709 part.

RogerS wrote on 5/17/2021, 10:20 AM

Re: JN's link, I thought this thread was about high dynamic range. Log compression is one way to capture such a range for use in HDR projects.

Point taken that you can do it even if you don't have a wide color gamut to start with. You can also do HDR with 8-bit source files (almost all Sony HLG for example).

Last changed by RogerS on 5/17/2021, 10:26 AM, changed a total of 1 times.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.239

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

RogerS wrote on 5/17/2021, 10:25 AM

Teagan as an FYI there is a technical correction LUT for Panasonic HLG to Rec 709 that should be more accurate than the manufacturer one. While I don't use that myself, I do use the Cine-D one in 8 and 10 bit and have all the Sony ones (I use Cine 2 and have tested Slog 3).

Last changed by RogerS on 5/17/2021, 10:26 AM, changed a total of 1 times.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.239

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

Musicvid wrote on 5/17/2021, 11:42 AM

Let's see if we can simplify your thinking with a simple demonstration.

You see, Vegas has only starting points for log footage, not C-Log, V-Log, S-Log, et al.

So if one wants to try to emulate these intricate curves in Vegas, one is politely invited to knock themselves out.

I don't know of a situation where one would use Vegas ACES transforms in addition to a proprietary correction LUT, makes no sense whatsoever to me. Think of it this way: The Green Bay Packers and Chicago Bears aren't going to show up in the same stadium without a fight!

So, back to square 1. We have 10 bit flatlog material, so we will start in a 32 bit 1.0 gamma workspace with no ACES transform applied. Makes no difference whether we will output 10 bit or 8 bit, wrapped 709 or 2020; it's the same color gamut, only different bit depths. Then we will apply the appropriate LUT, and adjust the range and gamma to suit. Then we are done.

Canon EOS-R C-Log 10 bit Cinema Gamut REC 709

 

 

JN- wrote on 5/17/2021, 12:20 PM

@RogerS “JN's link, I thought this thread was about high dynamic range” Apologies if I interjected with something thats not to your liking. Maybe if Magix introduces down votes, you will be in your element. Or more than likely they’ll make u moderator and then u can really go to town correcting every post that you don’t agree with.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

Teagan wrote on 5/17/2021, 12:26 PM

Thanks for the info, everyone. I think I got a good understanding of this now!

Musicvid wrote on 5/17/2021, 1:14 PM

@JN- Couldn't agree more. Back in 2013, I said,

"... people assume that more complex = better. For consumer delivery, (GoPro Protune) is not; what it creates is wasted time, wasted drive space, and a lot of headaches.
Protune RAW mp4 inside an editor like Vegas is about as useless as (redacted). Converted Cineform inside Vegas Pro 12 makes some sense, for a small number of users
If one wants their movies to look like traditional GoPro, why not shoot it?

 

fr0sty wrote on 5/17/2021, 9:32 PM

You certainly would not use a HDR to REC 709 LUT in an HDR project (you are trying to transform log to HDR and Rec 2020, not SDR and Rec 709). If you want to do HDR I think commit to it at every stage of the workflow.

That makes a lot of sense, to not use the rec 709 LUT for a rec 2020 project, but the V-Log L in my camera is rec 709 limited, as it's the cheap version without the full V-Gamut.

To me, it makes perfect sense to use 709 source AND space inside a 2020 program, for the fundamental fact that REC 709 is also an embedded and active subset of REC 2020. It is thus fully supported and available, in fact constituting the majority of delivery practices in use today. I've spent a lot of time on Vimeo to see what's being shot. This of course, will change, as full range 10 bit gradually goes mainstream with the adoption of newer broadcast standards (ATSC2), which have always led consumer equipment purchasing decisions.

There seems to be a basic misconception in the hood that 709 is always 8 bit. Nothing is farther from the truth, although that's where it was given life.

As one can clearly see, both 709 and P3 are quite cozy living inside the 2020 gamut, as well as on their own.

If your delivery format is rec2020, Vgamut (vlog's color space) is far wider than Rec709, so you are going to get best results going directly from Vgamut to Rec2020 when grading HDR. If you want a workflow that is compatible with Rec709 as well, HLG fills that gap with a few tradeoffs.

If you color HDR to also look good on SDR screens, using HDR10, you're kinda defeating the purpose of the wider gamut and brightness levels. HLG has methods of solving this, but currently there is no way to live preview HLG in VEGAS as windows doesn't support it. I'm sure a LUT or view transform could handle that task, though.

Last changed by fr0sty on 5/17/2021, 9:36 PM, changed a total of 2 times.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Musicvid wrote on 5/18/2021, 10:00 AM

so you are going to get best results going directly from Vgamut to Rec2020 when grading HDR.

If the log footage was shot in 709, as with the OP's, it's gamut doesn't change or grow inside a 2020 wrapper (which includes 709). The number of bits will vary only by the bit depth within the confines of its shooting space. It's just the same range of values living in a bigger house. It will be quite obvious alongside HDR in the same program, similar to what you said in an earlier discussion. I think that is the crux of a lot of misconceptions, as it has been for a long time. Maybe a demo when I am able to conjure a test model, maybe using trilinear plotting..

Teagan wrote on 5/18/2021, 10:05 AM

If your delivery format is rec2020, Vgamut (vlog's color space) is far wider than Rec709, so you are going to get best results going directly from Vgamut to Rec2020 when grading HDR.

The V-Log L in the GH5 and my AG-CX350 uses the rec 709 color space and not the full V-Gamut space since Panasonic only gives the full V-Log to more expensive cameras that can capture 14+ stops. My CX350 only captures about 12.5 stops so they give it the cheaper V-Log L.

It's very frustrating but I sort of understand why they do it.

One question I do have, @Musicvid regarding this, is since that is true, why does my color get flat like it's really rec 2020 when it's just rec 709 in the the rec 2020 container? Is it stretching it out past rec 709 limits to cause this? As soon as I activate the rec 2020 1000 nits transform it turns flat and unsaturated on rec 709 screens while it shows fine on rec 2020 screens.

RogerS wrote on 5/18/2021, 10:23 AM

Is the flatness just the color or rather an incorrect mapping of the brightness values (your Rec 709 screen is not anywhere near 1000 nits, more like 1/10 of that)? Color gamut is only part of the story I think.

This site (one of the first to come up in a search, sure there are other good ones) shows how gamut volume is also impacted by luminance by showing 3D, not just 2D plots: https://www.soundandvision.com/content/hdr-explained

Teagan wrote on 5/18/2021, 10:27 AM

Is the flatness just the color or rather an incorrect mapping of the brightness values (your Rec 709 screen is not anywhere near 1000 nits, more like 1/10 of that)? Color gamut is only part of the story I think.

This site (one of the first to come up in a search, sure there are other good ones) shows how gamut volume is also impacted by luminance by showing 3D, not just 2D plots: https://www.soundandvision.com/content/hdr-explained

Well it looks like the flatness was only on the vegas preview screens, as I just played the finished HDR10 version on my PC with a rec 709 screen and the colors are the same as rec 709, but with the HDR400 of this monitor I can see some HDR things in VLC but not much.

It seems to be a bug with vegas preview, the flatness of the rec 2020 limited to rec 709. I mean if the preview is showing me what it should look like, why is the rec 709 in the rec 2020 container looking flat like it's really rec 2020?