HLG Footage to produce HD sRGB Output in Vegas Pro 19

dennismf wrote on 10/7/2021, 11:09 PM

Since Vegas Pro 17 I have been shooting UHD HLG footage on a Panasonic GH5 camera. I use this to author HD sRGB and Rec 709 8bit output.

This worked well in VP17. VP18 had some useful improvements. However when I try to use HLG to produce 8 bit output in VP 19, the result has strange colours. The greens in particular become over bright and move toward a lime tint. Some of the red rocks in the samples below take on a green / yellow tint. The blue sky (not in the sample below) appears saturated and slightly purple / violet. Note that in the samples below I have not applied any colour grading or video effects.

This happens both with a new project created in VP 19; and in projects created in VP18 and then opened in VP 19.

Currently I cannot use my HLG footage in VP19. So I continue to work using VP18.

My Vegas Pro 19 is build 341.

I am running on an Intel NUC11PABi7 with 32gb of ram. The graphics is Intel Iris Xe Graphics.

Vegas Pro 18 Project Properties

Vegas Pro 19 Project Properties

 

Vegas Pro 18 Preview Frame

Vegas Pro 19 Preview Frame - Same Frame

Thanks in advance for any feedback.

DennisMF

 

 

Comments

RogerS wrote on 10/8/2021, 12:27 AM

Since you're working in ACES, did you define the color space (IDT) of the media jn properties?

Also consider trying 32 bit video and see how the colors compare.

dennismf wrote on 10/8/2021, 2:21 AM

The media property "Color Space" is set to "Rec.2020 HLG (1000 nits)". In earlier versions of VP I needed to set this myself. However in more recent versions VP seems to be able to detect the use of HLG as I have not needed to explicitly set it recently.

I will do some tests using "Pixel format" - "32-bit Floating point (video levels)" and post the results.

RogerS wrote on 10/8/2021, 2:30 AM

Is that the best space for this footage? I'm away from Vegas so can't check at the moment.

There is no Panasonic specific one?

32 bit video levels requires converting back to video levels manually but it does nothing to the color. MusicVid made a free Rec 2020 to Rec 709 conversion LUT if you want to find it on the forum and apply it. That only changes color and not gamma, so it should look flat in the highlights.

[Edit] The Leeming LUT (paid) has a Panasonic HLG version for Rec 709 which does both color correction and gamma for Panasonic cameras specifically. (The HLG Sony one works well for Rec 709 output in my experience.) I find LUT based color correction works better than ACES overall which really depends on the manufacturers creating good quality color spaces. Performance in Vegas of ACES isn't very good at least on my system.

Last changed by RogerS on 10/8/2021, 7:02 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

Yelandkeil wrote on 10/8/2021, 3:15 AM

Purpose of using ACES is batch converting/colorgrading LOG/HDR/WGC source files among each other and/or producing that kind videos.

Using ACES to make SDR video (Rec709/sRGB) is like hitting the mosquitoes with cannon, though it does very good quality color.

-- Hard&Software for 5.1RealHDR10 --

ASUS TUF Gaming B550plus BIOS3202: 
*Thermaltake TOUGHPOWER GF1 850W 
*ADATA XPG GAMMIX S11PRO; 512GB/sys, 2TB/data 
*G.SKILL F4-3200C16Q-64GFX 
*AMD Ryzen9 5950x + LiquidFreezer II-240 
*XFX Speedster-MERC319-RX6900XT <-AdrenalinEdition 24.12.1
Windows11Pro: 24H2-26100.3915; Direct3D: 9.17.11.0272

Samsung 2xLU28R55 HDR10 (300CD/m², 1499Nits/peak) ->2xDPort
ROCCAT Kave 5.1Headset/Mic ->Analog (AAFOptimusPack 6.0.9403.1)
LG DSP7 Surround 5.1Soundbar ->TOSLINK

DC-GH6/H-FS12060E_HLG4k120p: WB=manual, Shutter=125, ISO=auto/manual
HERO5_ProtuneFlat2.7k60pLinear: WB=4800K, Shutter=auto, ISO=800

VEGASPro22 + XMediaRecode/Handbrake + DVDArchi7 
AcidPro10 + SoundForgePro14.0.065 + SpectraLayersPro7 
K-LitecodecPack17.8.0 (MPC Video Renderer for HDR10-Videoplayback on PC) 

Musicvid wrote on 10/8/2021, 9:39 AM

The LUT I made assumes HDR 2020 PQ source, and not HLG. Doubtful it will look very good.

adis-a3097 wrote on 10/8/2021, 9:42 AM

Could it be that something ACES related is changed in this version of Vegas?

RogerS wrote on 10/8/2021, 9:59 AM

Oh MusicVid, you didn't make an HLG LUT? Wonder where I got that from then. What about the Rec 2020 monitor LUT in your "Photo and Monitor Profile LUTS" folder?

ACES is continually updated- forget when the switch to 1.2 happened (partway through VP 18?) but that is possible.

dennismf wrote on 10/9/2021, 4:08 PM

Thank you for your suggestions. I have been doing some tests on a single clip using both Vegas 18 and 19:

Vegas Pro 18

32bit floating point (video levels)

No LUT selected

The above seems dull but colours seem reasonable

 

with Leeming LUT Pro III - Panasonic G Series - HLG for Rec709

The above seems dull and the colours are too red

 

32bit floating point (full range ACES 1.2)

No LUT selected

The above is quite good. Colours are a good starting point for grading.

 

with Leeming LUT Pro III - Panasonic G Series - HLG for Rec709

The above has a red tint that is not correct.

 

Vegas Pro 19

32bit floating point (video levels)

No LUT selected

The above seems dull but colours seem reasonable. Appears to be the same as Vegas 18

 

with Leeming LUT Pro III - Panasonic G Series - HLG for Rec709

The above seems dull and the colours are too red. Same as Vegas 18

 

32bit floating point (full range ACES 1.2)

No LUT selected

Colours have a green shift. Reds are very weak. Very different to the result in Vegas 18.

 

with Leeming LUT Pro III - Panasonic G Series - HLG for Rec709

The above has a re tint but not as bad as Vegas 18. Perhaps the green bias found in Vegas 19 is reducing the impact of the red introduced by the LUT.

 

I think if you compare the above you will understand why I chose to process my Panasonic GH5 HLG footage using ACES and no LUT in Vegas Pro 18.

I currently find that using Vegas 18 with 32bit floating point (full range ACES 1.2) gives me footage that requires the least effort in colour grading.

It is not clear to me when the Leeming LUTs should be used. The Leeming LUT Pro III pack also contains Vlog and Cine D LUTS for Panasonic G series. But only the HLG LUT explicitly specifies "for Rec709".

Regards DennisMF

Edit: Note that the media properties are all set to"Rec.2020 HLG (1000 nits)". Vegas does not offer a Panasonic specific version of HLG. Perhaps the media setting (HLG) is incompatible with the Leeming HLG LUT!

Musicvid wrote on 10/9/2021, 5:35 PM

Thanks for sharing your experiments. However, the starting point I would suggest, you have not tested yet.

  1. First of all, ACES does not have camera-specific HLG presets. In fact, the only one I see is REC 2020 HLG 1,000 nits, which is certainly worth testing (by itself), depending on your output. See #4 below.
  2. Second, your 32-bit Full Range tests all appear to be done with the sRGB transform applied. That one does not compensate for the bottom-weighting that defines the HLG curve. So if you will be using it as a starting point (without a LUT), you will want to look at external means of revealing shadow detail, such as exist in the Color Grading panel.
  3. If you will be using a LUT, it is not advised to use it concurrently with any view transform, such as you are doing with sRGB. Doing so produces redundant transforms, which deplete your native bit depth. A LUT for HLG->709 would start, I believe, with float space 1:1 gamma, and all transforms turned Off. I suggest you try your Leeming LUT by starting there, not with an ACES view transform already applied (!)
  4. Also, no LUT (or transform) can anticipate shooting levels (luminance). You will need to set your top end referenced to the Waveform Scope after your LUT, and tweak your grading from that point forward.
  5. I have not written / adapted any applicable HLG LUTS in my package, however you may find some in the Canon LUTS folder that would give a pleasing starting point.

I hope I have read your tests correctly, and not clouded the issue further. As you have demonstrated by your comments, your end results are a manifestation of your personal tastes and preferences. The numbers give you a basic structure, and your art takes over from there. Welcome to the discussions.

 

fr0sty wrote on 10/9/2021, 5:48 PM

Is there any particular reason you are shooting HLG? VLOG is superior for grading to both Rec709/sRGB and to either HDR10 or HLG. HLG color grades very poorly, so it isn't a recommended format if you plan on doing much work on the color afterwards. The only real benefit of HLG is that it gives you usable rec2020 HDR color out of the box, if you just want HDR video without having to color grade it first. I highly recommend you shoot VLOG instead. Not only does it stand up to color grading better, but it also captures more dynamic range. Just make sure the GH5 is set to record 10 bit video when shooting VLOG.

When shooting VLOG in VEGAS, right click on your media clips and set their color space to VLOG/Vgamut. Then make sure your project settings are set to 32 bit full range, and the project color space needs to be set to whatever your output color space will be, in this case Rec709/sRGB. If you want to go HDR, then do the same, but turn HDR mode to either HLG or HDR10 (HDR10 is recommended, as windows currently does not support HLG preview, so neither does VEGAS), which will automatically set the project color space to what it needs to be for HDR.

Last changed by fr0sty on 10/9/2021, 5:55 PM, changed a total of 5 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 10/9/2021, 8:01 PM

Assuming the only output is the stated " HD sRGB and Rec 709 8bit output," just save all the fuss and shoot 709 video levels..

BTW, for any reasonable purpose you or I will ever encounter, sRGB and REC 709 are the same space (smallest triangle).

RogerS wrote on 10/9/2021, 8:18 PM

You can't combine LUTs and an ACES workflow. If you want to go the LUT route just stick to 32-bit video mode. Media properties only affects ACES (32 bit full). Noe that the Leeming LUT instructions says HLG for Rec 709 (SDR) output as Paul Leeming hasn't yet made any LUTs for HDR workflows.

There shouldn't be anything inherently red about Leeming LUT- try a white balance Fx before the LUT if it needs further tweaking due to the scene, lens or filter in use. The maker of this profile used the GH5 and GH5s for his own filmmaking. You can post any issues you find here: https://www.facebook.com/groups/LeemingLUTPro for feedback (plenty of Panasonic users though not sure how many use HLG. I only used CineD myself with the G85).

dennismf wrote on 10/11/2021, 8:52 AM

I currently do not have a licence for Vlog. I will consider getting one based on the advice above.

My primary objective was and remains to produce high quality HD footage from my GH5. When I started I found some web articles that proposed and attempted to demonstrate that HLG (as a source to produce HD video) would provide greater dynamic range giving extra flexibility when dealing with exposure issues during editing.

I currently have a lot of HLG footage that I need to process primarily into ordinary HD output. Thanks to the discussion above, I have produced a LUT (derived from the Leeming Panasonic HLG LUT) that allows me to take most of the pain out of HLG. I can now work through my HLG backlog. Many Thanks.

The Leeming Panasonic HLG LUT produced good colours but the output was very dark. I suspect this LUT is intended for use with "Shoot To The Right" overexposed HLG footage. My version is more suited to normal exposure HLG footage.

My initial use of ACES was caused by my lack of knowledge regarding Camera LUTs. Without camera LUTS, the only way I could use HLG footage was via ACES. In Vegas Pro 17 and 18, ACES provided the ability to successfully process HLG footage. I do believe that there is a defect in the Vegas 19 ACES / HLG implementation. I have found that ACES / HLG input processing produces very strange colours. These strange colours are not present in Vegas 18 (ACES 1.2).

I recently acquired an HDR capable monitor for use with video editing. I did some experiments with ACES HDR in Vegas 18 using my HLG source. It worked reasonably well (but I have much to learn). This does not work in Vegas 19 due to the strange colour problem that accompanies the HLG to Rec2020 conversion.

Thankyou all for your assistance. I now have no excuse for not clearing my HLG backlog!

Musicvid wrote on 10/11/2021, 10:26 AM

When I started I found some web articles that proposed and attempted to demonstrate that HLG (as a source to produce HD video) would provide greater dynamic range giving extra flexibility when dealing with exposure issues during editing.

True up to a point. The greater dynamic range can be leveraged, but usually through more refined manipulation of gamma, curves, chroma, and integer levels. Applying a stock correction alone (LUTs or ACES) often produces worse results than correctly exposed SDR, and always takes longer. There is not a one-size-fits-all solution for HLG or HDR. Manufacturers produce different versions of camera LUTs for the same specific applications, with quite different visual results.

So relying on HDR / HLG as a prophylactic against bad exposure practices is a baited hook, with its own set of collaterals, not the least of which is delayed learning in an area of photography where most hobbyists have skipped over the basics. So my usual overconservative advice is to spend a couple of years learning, reading, and embracing the principles of traditional photography, starting with Adams, before embarking on a journey to find the Great Wizard.

Of course none of that helps your immediate situation with your stockpile of footage, and if you want to post short original clips or tests, there are plenty of people here willing to give you their advice and interpretation (some of it useless of course). It will also help us thresh out the differences you see in VP19 grading, all else being equal of course. They have been mentioned before.

You have a really good perspective and way of thinking about these things, and you will become a valued contributor to the discussions as time goes on. Welcome to the forums.

 

RogerS wrote on 10/11/2021, 2:18 PM

If your footage is darker than what Leeming LUT expects (exact values for middle gray in the instructions) you can customize it for a new middle gray as it sounds like you are doing, or use the brighter Athena version as your starting point.

There's nothing wrong with what you are trying to do with HLG for SDR, even if it was originally intended for other purposes.

Not sure about ACES in 19; hopefully a developer notices this thread.