-
Automate keyframe values and align with split markers
Hi all,
I’m working on a karaoke type animation, where text comes onto the screen at the same time as the audio/video.
I have a script that takes a file containing text/dialogue with time codes, creates a text layer in after effects and places the line of text at specific timecodes along the timeline, the duration of each line of text is automatically referenced using split markers. (see example attached)
e.g. the first half of the split marker will be placed on the timeline at the point that the line of dialogue starts, the last half of the split marker will be placed further along the timeline at the point where the dialogue finishes.
I have an opacity text animator with two key frames, the first set at 0% aligned with the first half split marker and the second set at 100% aligned with the second half split marker.
Currently I am manually applying these keyframes however due to the vast amount of dialogue I’m looking for an automated way to set these two keyframes for an opacity range selector with the values as above and aligned with the split markers.
Thanks in advance!