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

tracking luma in After effects via second layer

Explorer ,
Dec 16, 2024 Dec 16, 2024

Copy link to clipboard

Copied

Hello, i'm trying to link the luminosity variation in an overlay layer to make it match the luminosity variation in a reference layer. Anybody could show me the way to make this work ? 

 

(the reference video is on the left and right is a photoshop layer. I'll like the photoshop layer luminosity to fluctuate trigger by the video luminosity to make the whole scene more realistic)

 

https://vimeo.com/1039734606

 

 

 

TOPICS
Expressions , Scripting

Views

288

Translate

Translate

Report

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 , Dec 20, 2024 Dec 20, 2024

I'm still having trouble seeing one of the images you are working with, but do I understand right that you are trying to apply the fluctuations in the lighting of the video to a still image, to make it look like they are lit from the same light source? If so, there are a couple of approaches you could take, including using an expression that samples the video brightness and uses that to drive a property on your still layer.

 

However, there might be a way to do this without expressions. First you

...

Votes

Translate

Translate
Community Expert ,
Dec 19, 2024 Dec 19, 2024

Copy link to clipboard

Copied

That link doesn't appear to be working, so it's a little hard to picture the issue.

 

Your description makes it sound like a luma matte would do the trick here, but am I missing something?

Votes

Translate

Translate

Report

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 ,
Dec 19, 2024 Dec 19, 2024

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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
Community Expert ,
Dec 19, 2024 Dec 19, 2024

Copy link to clipboard

Copied

OK, that's a little clearer.  And what about my idea of using a luma matte?

Votes

Translate

Translate

Report

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 ,
Dec 19, 2024 Dec 19, 2024

Copy link to clipboard

Copied

I should try luma matte. I manage to get interesting result extracting the white in the still frame and then with equalize and wiggler generating variation of the amount of equalize over the brighness. But still, it's not in synk with the light variation in the video. There must be a way to trigger the equalize from the level of light in the underneath video. Screenshot 2024-12-19 at 12.02.09 PM.png

Votes

Translate

Translate

Report

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 ,
Dec 20, 2024 Dec 20, 2024

Copy link to clipboard

Copied

I'm still having trouble seeing one of the images you are working with, but do I understand right that you are trying to apply the fluctuations in the lighting of the video to a still image, to make it look like they are lit from the same light source? If so, there are a couple of approaches you could take, including using an expression that samples the video brightness and uses that to drive a property on your still layer.

 

However, there might be a way to do this without expressions. First you will need to isolate a part of the image that works well for driving the lighting variance. Precompose your image, and inside that precomp mask out only, say, part of the tree branch that doesn't consistently blow out to 100% white or otherwise get clipped. Drop a black solid underneath the video layer to ensure the alpha channel of the comp is filled with black (this is important for the next steps). If your video has grain, a bit of gaussian blur would probably be a good idea too.

 

Then, back in your main comp apply a Minimax effect to the precomp that contains the video, leave it set to Maximum, and set the Minimax radius to the widest pixel dimension of your video (e.g. 1920 if the video is 1080p). This will make the entire video a solid color that matches the brightest pixel in the precomp, so it should vary just like the brightest pixel. Set the video layer to use the Multiply blend mode and place it over the video you want to "light". You will likely need to add levels or curves to adjust the brightness to your liking.

Votes

Translate

Translate

Report

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 ,
Dec 20, 2024 Dec 20, 2024

Copy link to clipboard

Copied

LATEST

A big thank you Aaron !   this is exactly what i'm trying to do.  I will try your suggestions.    I feel i should learn how the expression works in after effects for my furthers projects. 

Votes

Translate

Translate

Report

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