Re: Subtitles into afterFX. Is it possible? by Dan Ebberts on Sep 24, 2005 at 11:11:39 pm
You should be able to import and parse a text file in one of those formats with a script. It would probably work best if you already had a blank text layer all set up with your font, size, color, positioning and justification choices.
The script wouldn't be trivial, but it shouldn't be too tough either.
Re: Subtitles into afterFX. Is it possible? by r303 on Sep 25, 2005 at 8:25:32 am
I know I can do this, because I'm pretty good at programing - but
can you with this AE script define when a title should show? I mean does the AE script provide any means for controling how the imported text should behave in relation to the compositions timecode?
Because if I was to do it with expresions I would have imported subtitle file, wich format is:
subtitle# starting_timecode ending_timecode subtitle(this is the actual text)
And have all the text with codes in one layer. Then I would rund the text throug my expretion and if the playhead eaquals a given subtitle# IN/OUT time span, it would parse that subtitle to a variable which again is read from another text layer with the expresion to turn the opacity to 100 if the variable is anything but empty.
Re: Subtitles into afterFX. Is it possible? by Dan Ebberts on Sep 25, 2005 at 3:43:43 pm
With scripting, you would use the setValueAtTime() method to create keyframes for the text layer's Source Text property - either setting the value to the subtitle text at the start time or to blank at the end time. Something like that.