Skip to main content
R Neil Haugen
Legend
April 23, 2021
Question

NLC tags 1-1-1 vs 1-2-1 and PrPro's actions and practices

  • April 23, 2021
  • 3 replies
  • 23920 views

@Francis-Crossman17221443 @mattchristensen 

 

NLC tags are rather crucial to working in video post professionally. They can be incredibly confusing. And there is no published information on what PrPro's NLC practices are concerning both reading and publishing tags (to file headers on export).

 

I know the app is hard-coded to assume Rec.709 b-cast standards for monitors: sRGB primaries, D65 white point, gamma 2.4, and 100 nits monitor brightness in a semi-darkened room. The "display color management" preferences option makes PrPro look at the monitor's ICC profile and attempt to remap the image to show as correct Rec.709 on that monitor's color management system.

 

I work with some of the top colorists in the world daily. They work out of Resolve, Baselight, and Avid mainly, and have gear including $10,000 spectroradiometers to use for calibrating their spendy monitors. They deal in NLC tags every day. And need to know, professionally, exactly what PrPro does with the NLC tags inbound and outbound.

 

In some applications/CM, 1-1-1 will show as Rec.709 without a gamma specification. So whatever gamma is applied via monitor/LUT box will be used. So on mine for example, with everything calibrated and profiled for Rec.709/2.4, anything 1-1-1 will show as I expect, gamma 2.4.

 

On some systems though, 1-1-1 seems to be shown as gamma 2.2.

 

On most systems that show 1-1-1 as 2.2, the "other" or "2" tag will cause the system to apply gamma 2.4. So for some users, a 1-2-1 NLC tag would simply get the correct view.

 

And I'm told there's not many systems where the 1-2-1 tag is a problem, fewer than where 1-1-1 is a problem.

 

But ... it's durn hard to get the hard information. And ... after that deep dive of hours and hours with Francis and Lars Borg a couple years back now on PrPro's internal CM, if I don't know this, ain't hardly nobody out here that does.

 

Facts, please!

 

On input, does PrPro read and utilize NLC tags, or does it look at the format/codec and assume 'correct' standards?

 

On export, does PrPro apply NLC tags and if so, what?

 

Neil

3 replies

cdavid1760
Known Participant
February 4, 2024

Thank you Niel for this Topic and the thread. Thank you @Lars Borg Adobe for your back and forth. Together you concisely articulated the point of pain and the pain points with the Apple gamma "shift" issues. (Labeling it a "QT" issue is inprecise given that the problem can arise in all sorts of apps or browsers). I found your post, Niel, doing some research for Topaz on some color issues with some of the files I export from Video Enhance AI. Glad I did find it. The whole thread was very illuminating. Thank you both!

R Neil Haugen
Legend
February 4, 2024

I work for/with/teach pro colorists, most using Resolve but some using Baselight. Essentially how to work with Premiere exports and even in Premiere as they must at times.

 

As you would expect, many are total Mac geeks. And they are all hacked at Apple over this.

 

Some newer Macs have monitor "reference modes" available. In those, the "HDTV" option is full-on broadcast 2.4.

 

So even some Macs will run broadcast, some the 1.96 ... so even the Macverse is split!

Everyone's mileage always varies ...
R Neil Haugen
Legend
May 4, 2021

Removed this content as it was just quoting Lars, who's now come on here with the exact same content.

 

Thanks, Lars!

 

Neil

Everyone's mileage always varies ...
Adobe Employee
May 5, 2021

For unknown reasons there was a long delay (several days) between me posting and the post showing up. Maybe my answer had to be inspected by a moderator?

R Neil Haugen
Legend
May 5, 2021

Glad you're posting now though!

 

Neil

Everyone's mileage always varies ...
Adobe Employee
May 1, 2021

Here is a very long and technical answer. Hope you don’t mind.
1-1-1 is standard Rec. 709. Only 1-1-1 is standard 709.
The middle 1 does not specify a display gamma.
AVC and HEVC declares 1 as the transfer function of a fictitious Rec. 709 camera, approx gamma 2. But camera vendors say no camera uses that TF in production. Definitely not for display.
More recent Rec.709 specs say that when viewed on a broadcast monitor (which historically is based on a CRT TV in a dim room), you should use gamma 2.4 (see ITU-R BT.1886:2011).
On the other hand, sRGB (approx. gamma 2.2) was developed in 1996 by Microsoft and HP specifically to make a computer monitor in an average-lit office (500 lux?) match the color appearance of a TV in a dim room, so that no color conversion would be required. Blacks need to appear a bit lighter in the office than in the living room. Thus, 709 video should be viewed on an sRGB display when in the office, for an equivalent appearance.
Then we have the deviant, Apple’s QuickTime Player, which, long before BT.1886, decided to use gamma 2 for color conversions. Apple’s choice seems to be a compromise between the 1987 Apple RGB monitors (gamma 1.8) and 1996 sRGB monitors (gamma 2.2). Earlier, Web designers had made the same gamma compromise between Apple and Windows displays. Or maybe Apple just picked the Rec. 709 camera gamma 2 (going scene-referred). Unfortunately this has been adopted by other video players, giving us the QT gamma bug, where video looks too light compared to an sRGB display.


Premiere uses 1-1-1 for Rec. 709 video (import, timeline and export)
Right now, Premiere defaults viewing to broadcast monitor viewing conditions, gamma 2.4 (but we’re tweaking that).
DCM off would be useful for viewing 709 on an sRGB monitor.


1-2-1 is a hack. And it’s a hack to fix a hack.
AVC and HEVC declares 2 as undefined transfer function.
In many devices (QTP?!) this disables TF color conversions and color management, as there is no defined curve to apply and you get Preserve RGB. OK for 709 to an sRGB display or 709 TV, but not elsewhere where color management is needed.
In other devices, 2 signals a private, non-standard TF, including some HDR TF cases.
Given the inconsistent results, 1-2-1 should not be used generally.
1-2-1 won’t pass broadcast QC as it’s not standards compliant.


Premiere imports 1-2-1 as 709 (1-1-1). This is because Premiere ignores the invalid 1-2-1, and uses the default which is 709. It doesn’t matter anyhow as import to a 709 timeline preserves the 709 media values.
Premiere exports compliant 709 (1-1-1), marked in both NLC and VUI.


There are 3rd-party tools that can change the media’s tag setting from 1-1-1 to 1-2-1 or vice versa.
These tools usually only hack the NLC record, and not the VUI records inside the video frames, so as a result the video file is inconsistent, with different color spaces in different parts of the media file. This can lead to unpredictable results when playing or transcoding depending on which part the app looks at. So the hack to fix a hack would need more hacks.


A trivia question: Why did Apple select gamma 1.8 for Mac displays?
No points given for asking Charles Poynton!

 

user 11a28513250
Participating Frequently
June 30, 2021

Hi Lars & Neil,

 

Lars,

There is a discrepency in your description of the "Transfer function" tag (The middle one) 1-1-1

And the description given by "FilmLight" in this vidéo : https://vimeo.com/349868875

They say that transfer function tag 1, implies a 1.95 gamma.

That would be the source of the gamma shift when a player, that has color managment, converts a "Rec709 2.4" video to the gamma of the display (Let's say 2.2), by compensating from 1.95 to 2.2...and not from 2.4 to 2.2

(Timestamp:5:45).

 

It seems they are right, because resolve exports 1-2-1 tags when we output a "Rec709 2.4" like filmlight.

The 2 would stand for custom gamma. If I understand correctly, the custom gamma number is carried through from the gamma of the project/source.

 

If we tackle this, we could get rid of the gamma shift in premiere exports, at least in a color managed (NCLC) pipeline.

 

Thanks

 

 

R Neil Haugen
Legend
June 30, 2021

Daniel starts by assuming the unique Apple/ColorSync concept of gamma for Rec.709 media ... that it's 1.95 ... is the 'normal' or correct usage. As Steve Shaw of LightIllusions and other color experts have noted (with no link to Adobe, Apple, whomever) ... this is NOT actually correct.

 

Pro usage of the Rec.709 standard includes use of 2.4 gamma (semi-dark room) or 2.2 (bright room). Period.

 

And quite a number of the experts have noted they cannot find "sRGB gamma" for any Rec.709 video usage. Which is what Apple says they use.

 

So yea, it's a morass.

 

On my system, a normal Rec.709 export from Resolve gets a file tagged 1-1-1. Which has a 2.4 gamma.

 

The ONLY way I get a 1-2-1 file out of Resolve is to use the "Rec.709-A" option, and as noted, Rec.709-A is for Apple use. I've bee through this with the colorists I work with daily. They're primarily a Mac crowd, and they're ticked off with Apple over this, and besides ... just wish that Apple, Microsoft, and a couple others would simply agree to ONE freaking standard, whatever ... so we could get on without this divide.

 

Neil

 

 

Everyone's mileage always varies ...