Monday, May 29, 2023

ACES workflow in DaVinci Resolve

This article explains how to set up an industry-standard ACES workflow in Resolve. This removes the need for colour space transforms (CSTs) and look-up tables (LUTs) while ensuring consistent colour processing from beginning to end. There is really no need to use any other workflow.

The ACES model

The advent of digital recording gifted us a huge variety of cameras, displays, and other equipment. The Academy of Motion Picture Arts and Sciences (those folk who give out the Oscars) began a project to standardise this confusing mess... way back in 2004. Today the Academy Color Encoding System (ACES) is all you need to know for an easy post-production workflow.

ACES uses an RGB color model with a huge colour space and over 30 stops of exposure. This model can represent visual perception in its entirety. This image data is "scene-referred", which means that the data refers to the lighting and colours as they actually existed in front of the camera. To do this, an idealised "standard camera" is referenced. When you bring footage into an ACES workflow, the profile of the camera you used is mapped onto this reference. This mapping can happen automatically if the camera footage is tagged appropriately. 

In fact, ACES offers several different colour spaces. ACEScc applies a Cineon-style log encoding, which helps colour wheels and other controls respond to footage in a "film-like" way. This makes experienced operators comfortable, but I wouldn't know, having never edited film.

ACEScct goes further by adding a roll-off at the toe of the image to improve shadows. This colour space is nonetheless larger than the ITU Rec.2020 colour space, so we lose nothing by using this.

Setting up ACES in Resolve

The setup is easy once you know how, though I had to read several chapters in the enormous Resolve manual to figure this out. But that's why you are reading this article... to benefit from my investment and save your own time.

When starting a new project, go to the "Project Settings" and click the "Color Management" tab. Set up your "Color Space & Transforms" as follows.

We use the ACEScct colour science and the latest version 1.3. The Input Transform should be chosen to match the footage you most often expect. For a Panasonic Lumix camera, set this to "Panasonic Varicam VLog VGamut". For a Blackmagic camera, choose "Blackmagic Design Film Gen 5", assuming you shot with the "Film" profile in camera. 

Since I am producing output for screen, I choose "sRGB" for the output transform. If instead you are producing output for standard broadcast, choose "Rec.709". For digital cinema choose a version of P3 as specified by your distributor.

Now we can specify the space we'll be using as an intermediate between input and output, which is to say the space in which our processing takes place. Confusingly, there is no "ACEScct" so instead choose "ACEScc". (The terminology is not always consistent in different places in Resolve. This should be fixed.)

That's all you need to change in the settings. But there is one check you should make when ingesting footage. In the Media workspace right-click on a clip and confirm the "ACES Input Transform". This should be automatically identified as Panasonic Varicam. But if not, you can change the transform manually. 

And that is all!

Grading

When colour grading, you have nothing to do! There is no need for CSTs or LUTs. The ACES workflow automatically transforms your clip from the input space to our intermediary work space, and then to the output space for delivery. Simple!

If you do want to use a LUT for aesthetic reasons, be sure to note what colour space that LUT expects, since all tables are locked to one space. The LUTs supplied with DaVinci are made for Rec.709. So now you need three serial nodes. On the first node, apply a CST to transform from ACES to Rec.709. The second node applies your LUT. The third node transforms back from Rec.709 to ACES.

About gamut and gamma

It's important to realise that for every transform, there are actually two characteristics that are being mapped. The first is gamut, the range of colour available in the colour space. The second is the gamma, which specifies a luminance (brightness) curve.

The broadcast standard Rec. 709 has a gamma of 2.4, which specifies a logarithmic curve that allows for greater resolution in the most important range. To accommodate this, the midpoint of the luminance curve is shifted to 18% gray. But computers with sRGB colour space have a gamma of 2.2, which was design for the brighter viewing conditions of an office space.

Output designed for one gamma will not look the same on a device set to a different gamma.

Alternative workflows

ACES is not the only possible workflow system. Blackmagic offer their own methods.

The first of these was "DaVinci YRGB" which is "Display Referred". This means that accuracy can only be judged using a calibrated display; Resolve has no absolute knowledge of the colour. This mode requires that you manage all transforms from one colour space to another manually.

The second system is "DaVinci YRGB Color Managed" which, like ACES, is "Scene Referred" and requires matching ingested media to a known colour profile, after which Resolve manages the workflow. I've had difficulties ensuring consistency using this method. While this is likely due to user error, the ACES method presented no such impediments.

Thanks to CharlesH on the L-mount Forum for encouraging me in this direction.

RELATED POSTS

No comments:

Post a Comment