-
Controlling layer in and out points from timecode in a JSON database
Hello there, hope someone can help…
I am making 30 x 1h animated videos for DJ “mixtapes” for the Youtubes. These videos need to display the artist name and song title of the currently playing track. I have a spreadheet with all the data I need: start time, end time (hh:mm:ss:ff), artist, title. These spreadsheets are exported from Google Sheets as a JSON file which can be loaded into an AE comp. Then, I pickwhip the Source Text field of the text layers to the appropriate field in the JSON layer and Voila! my text is correct. Now I can swap out the JSON file for a different one and BAM I have new track data. I havge one problem, I can’t figure out how to automate their in and out points.. these text layers have a linear time-based expression on their opacity to make them fade in and out, which I want to keep:
Math.min(linear(time,inPoint,inPoint + fadeInTime,0,100),linear(time,outPoint – fadeOutTime,outPoint,100,0))
Any ideas?