Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

Best practices in After Effects for applying CDLs

Enthusiast ,
Apr 29, 2022 Apr 29, 2022

We've got VFX turnovers (EXR files sequences) that come with CDLs (SAT/SOP)

 

Mostly the VFX Vendors take care of all this on their end, but occasionally our AEs have to do it.


What are various & best practices for applying CDLs in After Effects.

 

Ideally we're looking at fast, reliable, and ultimately automateable using ExtendScript / Custom HTML Panel Extension

TOPICS
How to , SDK
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , May 02, 2022 May 02, 2022

@Mylenium UPDATE -- so it turns out After Effects does have the ability to handle CDLs natively -- or at least using native plugins that come with the Adobe Cloud.  It's a little hidden:

 

To test, add a Lumetri color effect to a Comp

Then Basic Correction  >  Input LUT  >  pulldown for "Browse" or "Custom"

and instead of choosing a LUT, choose a CDL.

Translate
LEGEND ,
Apr 30, 2022 Apr 30, 2022

AE has no way of dealing with CDLs directly. It always relied on third-party tools like older versions of Colorista and MB Looks to handle that. If you know the values, you can of course re-create it with stock effects and that can be canned into an animation preset. Otherwise you'd ideally bake everything into a LUT for use with footage interpretation and the color profile converter effect.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 30, 2022 Apr 30, 2022

Thanks @Mylenium 

Mylenium wrote:

AE has no way of dealing with CDLs directly.


After scouring menus and docs that was increasingly my impression.  Thanks for confirming.

 


Mylenium wrote:

If you know the values, you can of course re-create it with stock effects and that can be canned into an animation preset. Otherwise you'd ideally bake everything into a LUT for use with footage interpretation and the color profile converter effect.


In this case we've got an overall show LUT and a separate CDL for each take.

(This is a TV series w/ a lot VFX where we send EXR sequences to various vendors, who apply the LUT and CDLs (not in After Effects) resulting in a offline & online media that perfectly matches the colors in dailies.  Trying to achieve the same in AE)

 

I started testing with Prolost CDL, and automated it to apply .cc / .cdl files with a simple drag-n-drop.

That's cool but after applying the show LUT and and CDL values the shots aren't anywhere in the ballpark of matching our dailies.  Perhaps Prolost isn't part of the solution, but more likely this has become an question of understanding why the show LUT -- which works fine for our vendors -- isn't working in AE.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 02, 2022 May 02, 2022

@Mylenium UPDATE -- so it turns out After Effects does have the ability to handle CDLs natively -- or at least using native plugins that come with the Adobe Cloud.  It's a little hidden:

 

To test, add a Lumetri color effect to a Comp

Then Basic Correction  >  Input LUT  >  pulldown for "Browse" or "Custom"

and instead of choosing a LUT, choose a CDL.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 10, 2024 Jun 10, 2024

Hey guys, I've got a free CDL plug-in available at fnord.com. This one exposes the CDL values as sliders so you can set them yourself or using scripting. It includes AE scripts for reading values from a CDL file or writing out a new one from your settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2025 Feb 21, 2025
Hi! I love the idea of this, but I keep getting the error "TypeError: null is not an object" after selecting a CDL file.
 
I have the CDL plug-in selected when I do that, so not sure what else to do!
 
Thank you!
 
quote

Hey guys, I've got a free CDL plug-in available at fnord.com. This one exposes the CDL values as sliders so you can set them yourself or using scripting. It includes AE scripts for reading values from a CDL file or writing out a new one from your settings.


By @fnordware

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 21, 2025 Feb 21, 2025

Hmmm, must be a bug in the script. Can you post the CDL file?

 

You shouldn't need an instance of the effect selected, just a layer and it'll apply a new one itself. Shouldn't cause an error though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2025 Feb 21, 2025

I had to change the extension to xml, as this site won't let me load any zip files or anything with a cdl extension... If you rename the extension to cdl - that's what I was working with!

 

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 21, 2025 Feb 21, 2025

Thanks for the file. Seems simple enough, working for me in AE 2023. Which version are you using? Mac or Win?

 

And you get this error when you:

  1. Launch After Effects
  2. Import footage
  3. Make a new comp from footage
  4. Select the layer
  5. Run the Load_CDL.jsx script.

 

You need "Allow Scripts to Write Files and Access Network" turned on under Preferences > Scripting & Expressions, but think you'd get a different error if you didn't.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2025 Feb 21, 2025

Even when doing those steps, it gives me that error. Although I have to apply it to an adjustment layer for my current project.  I'm running the latest After Effects version (2025) on a Mac.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 21, 2025 Feb 21, 2025

Huh. Tested in After Effects 25.1.0 on Mac OS 13.6.1 and everything worked as expected. Might have to remote in to your computer to see this bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2025 Feb 21, 2025

All you would see are the simplest of steps that you outlined, and then I get that error. I am running macOS 15.3.1 - so maybe that has something to do with it? I have not seen this issue with any other scripts.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2025 Feb 21, 2025
LATEST

I do want to point out that the Save CDL script works without any issues!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines