Panasonic v-log not mapping correctly

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

VeritasNL

  • Posts: 3
  • Joined: Sun Nov 15, 2020 5:01 pm
  • Real Name: Sander Gesthuizen

Panasonic v-log not mapping correctly

PostTue May 11, 2021 5:05 pm

Hi all,

I'm working on Panasonic S1H footage and have noticed something.

According to the v-log white paper 18% grey should map to 42% IRE. However, when converting to REC709 through Color Space Transform, the middle gray point is actually below this point.

The only 'correct' conversion I've found is with the v-log to rec709 LUT. Could it be that CST is doing a bad job here?
Offline

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 8:10 pm

The same can be observed with other cameras as well, with LOG -- color managed workflows and CSTs raise middle-grey from what's supposed to be the correct value, while the LUT does not.

Maybe someone from BMD can comment, as this includes the BMPCC 4K as well, rising with a CST from about 38% to 50%.
Offline

Jim Simon

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

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 8:42 pm

What happens if you use ACES/RCM rather than a CST node?
My Biases:

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

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 9:02 pm

Same issue ("color managed", see above).
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 9:07 pm

John Paines wrote:The same can be observed with other cameras as well, with LOG -- color managed workflows and CSTs raise middle-grey from what's supposed to be the correct value, while the LUT does not.

Maybe someone from BMD can comment, as this includes the BMPCC 4K as well, rising with a CST from about 38% to 50%.


That's expected. The footage is being normalized to rec 709 gamma 2.4 which has a Middle gray at 49%
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 9:11 pm

VeritasNL wrote:Hi all,

I'm working on Panasonic S1H footage and have noticed something.

According to the v-log white paper 18% grey should map to 42% IRE. However, when converting to REC709 through Color Space Transform, the middle gray point is actually below this point.

The only 'correct' conversion I've found is with the v-log to rec709 LUT. Could it be that CST is doing a bad job here?


No it's expected behaviour. 42 IRE is for the source footage. Once you convert to a rec 709 gamma or some other gamma, your middle gray point changes. Your CST also has DaVinci DRT mapping enabled by default which pushes that middle gray value lower.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 10:00 pm

RikshaDriver wrote:
John Paines wrote:The same can be observed with other cameras as well, with LOG -- color managed workflows and CSTs raise middle-grey from what's supposed to be the correct value, while the LUT does not.

Maybe someone from BMD can comment, as this includes the BMPCC 4K as well, rising with a CST from about 38% to 50%.


That's expected. The footage is being normalized to rec 709 gamma 2.4 which has a Middle gray at 49%


The LUT is also normalizing the footage to rec. 709, with a timeline setting of gamma 2.4, and yet middle-gray remains at its original value. That was the OP's question. Why one and not the other.
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 10:22 pm

Simple answer: The LUT is a stylized look, not an accurate technical transform.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostTue May 11, 2021 10:30 pm

RikshaDriver wrote:Simple answer: The LUT is a stylized look, not an accurate technical transform.


Not so -- the only advertised purpose of these LUTs is normalization (we're talking about normalizing LUTs in DR). And what are the odds a "look" LUT would leave middle-gray at the original value?
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 1:02 am

V-Log to V-709 in Resolve is a stylized look as sourced from Panasonic... See note regarding V-709:

The gamma curve equivalent to conventional V-REC or CINE-LIKE is newly defined as "V-709." The V-709 gamma provides a tone suitable for previewing on a monitor, and is also suitable for use in producing broadcast content such as TV commercials and TV series.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 1:19 am

Panasonic does make "artistic" LUTs, but what leads you to believe the Resolve LUT is one of them? Panasonic itself names them ("Aggressive", etc.), which isn't present in the Resolve version, and it makes this distinction:

A Conversion LUT translates the flat V-Log material to a more restricted, yet contrasty, Dynamic Range and shifts the color space to match the monitor, bringing both parameters to a technical standard for viewing such as Rec. 709. These conversion LUTs provide a neutral matching of the signal to the monitor, so they can be considered technical LUTs.


Why would Resolve be using an arbitrary artistic LUT? EDIT: per your quote above, added later, "suitable for preview on a monitor" doesn't mean it's not a technical LUT.

In any event, as I pointed out, the same can be observed with the BMPCC 4K normalizing LUTs versus color management. And why would an "artistic" LUT retain the middle-gray value?
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 1:28 am

The fact that the LUT is titled V709 says it all.

V-Log to Gamma 2.4 would translate to Middle Gray at 49%
V-Log to Scene Gamma would translate to Middle Gray at 41%

Math doesn't lie. Try the math yourself.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

John Paines

  • Posts: 5820
  • Joined: Tue Jul 28, 2015 4:04 pm

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 1:43 am

Math is not my strength, neither is engineering, but in both cases (LUT and RCM), the output gamma is 2.4. And yet the mapping of middle-gray is different. In the case of the BMPCC 4K, the difference is sustained regardless of which normalizing LUT (rec. 709, "extended video", "film to video") is selected. The LUTs all map middle-gray "accurately".
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 2:10 am

I am an Engineer and I've done the relevant math. I tend to notice these sorts of things.

The Blackmagic LUTs seem to be outputting to Rec.709 Scene... for which the Middle Gray is correct at 41% IRE.

Also, don't forget that Resolve 17 has enabled Tone/Gamut mapping by default in Color Management. I pointed towards this in an earlier post.

In a CST, you now need to explicitly remove the Tone Mapping, otherwise it's enabled by default.

In RCM if you select the default presets, they include the Tone/Gamut mapping... so you need to select Custom and disable the Input/Output DRTs.

If you disable the Tone/Gamut Mapping and output to Rec.709 Scene, the Middle Gray should be the same for the Blackmagic LUT and the Transform or RCM.

Where they will diverge is in the highlights because the LUT will use a fixed mechanism for tone/gamut mapping whereas if you enable Tone/Gamut mapping using the CST or in RCM the calculations will be done using the available data and the designated method. Also as a consequence, your Middle Gray value may shift lower if using the default DaVinci Input/Output DRT.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 2:35 am

I also need to highlight that there is some funky behavior in RCM when the timeline is set to Rec.709 Gamma 2.4 (as is currently the default)

I would stick to Rec.709 Scene for the timeline (if using a Rec.709 preset) until they fix it in the next release.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/
Offline

Jim Simon

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

Re: Panasonic v-log not mapping correctly

PostWed May 12, 2021 2:59 pm

The 'next release' dropped today. Still wonky using the default?
My Biases:

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

RikshaDriver

  • Posts: 641
  • Joined: Sun Aug 12, 2018 10:08 am
  • Location: Melbourne
  • Real Name: Asim Siddiqui

Re: Panasonic v-log not mapping correctly

PostThu May 13, 2021 4:22 am

Still problematic. I'm a bit surprised since I reported this issue privately some time ago.

I'll report publicly in a new thread, but as a word of advice for SDR workflows, I'd avoid the Rec.709 Gamma 2.4 timeline gamma and DaVinci Input DRT like the plague.
GitHub Projects: https://github.com/xtremestuff/
Commercial Plugins: https://xtremestuff.net/store/

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bill1990, billbyrnes, Bing [Bot], Google [Bot], roger.magnusson, SalopFilms and 134 guests