Page 1 of 1

i need a mask over the currently spoken Word via markers

Posted: April 29th, 2023, 4:50 pm
by Reborn-Adopted

is there a way to use something like text exploder and then use those text layers with sourceRectAtTime() to make a mask set to markers?

i think i need something that will set mask vertices on comp 2 incrementally with each new marker by marker.key(textIndex).time

so imagine a paragraph of text and i want the mask to be in the position over the Word spoken. so the position and size needs to be dynamic.


Re: i need a mask over the currently spoken Word via markers

Posted: April 30th, 2023, 11:05 am
by Reborn-Adopted

Re: i need a mask over the currently spoken Word via markers

Posted: June 1st, 2023, 11:08 pm
by sadie110

Using text exploder, you can break down your text into layers. To create a mask set to markers, iterate through each marker and access the corresponding text layer using marker.key(textIndex). Use sourceRectAtTime(marker.time, false) to get the position and size of the text at that time. Set the vertices of the mask on comp 2 incrementally for each marker. Update the mask's position and size with each new marker. This way, you can dynamically align the mask with the spoken words.
https://www.laptopicker.com/best-laptops-for-adobe-after-effects/