Skip to main content
.Ava.
Known Participant
December 2, 2024
Question

Can I change glow values based on values in a CSV file?

  • December 2, 2024
  • 1 reply
  • 586 views

Heya.

 

Am I able to modulate glow intensity based on values I have in a CSV file? I have a CSV file where I have the luminance value of each frame, and I want to be able to make the glow more intense when the frame is darker, and less intense when the frame is brighter.

I would like AE to somehow reference the CSV file and change the glow property based on the frame number and the luminance level in the CSV.

 

Is this possible?

 

Thanks.

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
December 2, 2024

What does your CSV file look like?

.Ava.
.Ava.Author
Known Participant
December 2, 2024

There's many thousands of values, but here's a snippet:

 

Frame,Luminance,Cut
0,65.07,X
6,64.38,
12,63.55,
18,62.07,
24,61.25,
30,60.42,
36,61.15,
42,61.96,
48,62.44,X
54,62.94,
60,63.46,
66,64.56,
72,65.42,

 

And at the end of the CSV is:

 

Top 10 Brightest Frames
Rank,Frame,Luminance
1,4956,72.05
2,6354,71.95
3,4950,71.93
4,9096,71.92
5,4962,71.66
6,6384,71.65
7,9102,71.62
8,6390,71.61
9,18150,71.59
10,9126,71.45

Top 10 Darkest Frames
Rank,Frame,Luminance
1,36090,53.20
2,36096,54.48
3,29262,55.44
4,36102,55.53
5,48714,55.92
6,13722,56.10
7,51234,56.18
8,50940,56.25
9,45720,56.26
10,29256,56.2

 

The top 10 values are so I can go to the lightest and darkest frames to sample what the glow intensity looks like at it's most extreme values.

.Ava.
.Ava.Author
Known Participant
December 2, 2024

Oh, I should clarify, the "Cut" are the frames where a jump-cut occurs.